Skip to content
All library documents

RSI Exhaustion Reversal with ATR Risk Controls on EURUSD

Article MQL5 code base

Summary

This research Expert Advisor describes a short-only EURUSD reversal strategy. It looks for an RSI overbought exhaustion signal during an allowed trading session, then checks whether the spread is small enough relative to current volatility before entering. ATR scales stop-loss and take-profit distances, while the system limits each trade’s lifetime and permits only one open position at a time. The timeframe, fixed trade size, and position identifier are exposed as inputs.

The EA is restricted to MetaTrader 5’s Strategy Tester and does not trade from a normal chart. The document recommends real-tick historical data where available, but reports no test results or evidence of profitability. Outcomes can differ across brokers because price history, spreads, costs, server time, and execution conditions vary; the session is based on broker time. The source is presented for study and modification, and enabling demo or live trading would require changes and further validation. Historical behavior does not establish future performance.

Key ideas

  • The strategy sells EURUSD after an RSI overbought exhaustion signal during a permitted session.
  • A spread-to-ATR filter screens entries, and ATR sets volatility-adjusted stop and target distances.
  • The system allows one position at a time and imposes a maximum holding duration.
  • This version is limited to historical testing in MetaTrader 5 and does not trade on a live chart.
  • Broker-specific data and execution conditions can materially change historical results.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.