Individual MT5 EA · Version 1.00

TF RSI Trend Pullback Assistant

A completed-bar H1 assistant that waits for RSI to recover from a pullback while price remains in the EMA 200 direction and ADX confirms minimum trend strength.

One EA only: MQL5 source, EX5, README and checksums.

RSI trend pullback Expert Advisor illustration
Completed-bar algorithm

Signal definition

  1. For a long, the completed close must be above EMA 200 and ADX 14 at least 18.
  2. RSI 14 on the prior completed bar must be below 40; the latest completed RSI must recover above 45.
  3. A short requires price below EMA 200, prior RSI above 60 and latest RSI below 55.
  4. Spread, 06:00–20:00 broker-server window, daily lock and one-position guard must pass.
  5. Stop is 2 ATR 14, target is 1.8R and volume is sized from the estimated stop loss.
Defaults

Controls and parameters

Timeframe H1 Risk 0.25%, hard maximum 1.00%
EMA / RSI 200 / 14 ADX 14, minimum 18
Stop / target 2 ATR / 1.8R Daily lock 1.50% from EA/day reference
Spread 1.5 pips Window 06:00–20:00 server time
Purpose

Wait for recovery

The rule seeks momentum recovery inside an existing trend instead of buying an RSI extreme. EMA and ADX are regime filters; ATR is used only for volatility-scaled risk distance.

Limitations

Lag and correlation

A high ADX can overlap a late trend, price can cross EMA quickly, and correlated charts can multiply risk. The daily lock blocks new entries but cannot cap gap losses.

Validation

Installation and testing

  1. Copy the individual files to MQL5/Experts.
  2. Confirm broker server time and contract specifications.
  3. Test trends, ranges, news periods and realistic transaction costs.
  4. Reserve out-of-sample data and complete a demo-forward period.
Integrity

Auditable release

Version 1.00 compiled with 0 errors and 0 warnings. ZIP SHA-256: daf4abd4608182d297525ce9e6f7a6fb8f110ddf7d154422caadf8f16f22784a.

Sponsored broker link

Open an account with HFM

Compare current regulation, costs and account terms before registering.

Open an account with HFM

We may receive compensation from qualifying HFM registrations. Educational software only; leveraged trading can cause rapid losses.