Home / Coding / Expert Advisors / Exhaustion Reversion

Exhaustion Reversion

Fades a stretched move: price far from its average, confirmed by RSI, Bollinger Bands and a hammer or shooting-star candle.

DRF_Exhaustion_Reversion_EA · version 2.01 · Strategy · MetaTrader 5

€15   Buy Exhaustion Reversion →

Or get every Expert Advisor, for life, for €150: see the bundle.

Risk. Trading carries a high level of risk and you can lose more than you expected. No result is promised. Read the Risk Disclosure.

Test it on a demo account first. When everything works as you expect, use it on a real account.

It works on any symbol: point-based inputs scale to the symbol you attach it to.

Who it suits

Traders who like fade setups and want an alert to look at before deciding.

What it does

A mean-reversion EA with an alerts-first default. It looks for price stretched well away from a 50-period average, then requires several signs of exhaustion before it points to a fade.

How it works

  1. Trigger timeframe M30 with an H1 trend filter; price must be at least 2.5 ATR from its 50-period average.
  2. Confirmation: RSI at 75 or above (25 or below), price outside the Bollinger Bands, and a hammer or shooting-star candle.
  3. Passive monitor: an M1 and M15 watcher can run alongside without trading.
  4. Filters: time window 08:00 to 18:00, spread cap 40 points, minimum ATR, USD high-impact news.
  5. In Auto mode the stop is 300 points, the target 600 points, with trailing and a daily loss count.

What is included

What is not included

What you need

How to try it

  1. Attach it to a demo chart on the timeframe you want to test; it starts in alert-only mode (InpTradeMode).
  2. Set a small lot size (0.01) and leave the other inputs at their defaults.
  3. Read the Experts and Journal tabs and the on-chart panel for the reasons it gives when it skips an entry.
  4. Move to a small live account only after you have seen it behave as expected on demo.

Results

No results are published for this Expert Advisor, and none are implied. Test it on a demo account first. Past results never promise future ones.

Buy once, keep it for life

€15   Buy Exhaustion Reversion →

Manual: every setting in plain language

Enter your DRF Key in the key input. The group "Any-asset scaling" controls how point inputs follow the symbol.

Donaldson R F Licence

InpLicenceKey (default: (empty))
Licence key

General Identity

InpTradeMode (default: MODE_ALERT_ONLY)
Operation Mode
InpMagicNumber (default: 123456)
Magic Number

Reversion Trigger (MA + HTF)

InpSignalTimeframe (default: PERIOD_M30)
Trigger Timeframe (M1, M30, etc.)
InpMAPeriod (default: 50)
Mean Reversion Period
InpExhaustATRMultiplier (default: 2.5)
Exhaustion Distance (ATR Multiplier)
InpEnableHTFFilter (default: true)
Enable HTF Trend Filter
InpHTFTimeframe (default: PERIOD_H1)
HTF Timeframe (Must be > Trigger TF)
InpHTFEMAPeriod (default: 50)
HTF EMA Period

Exhaustion Confirmation

InpEnableRsiBbConfirm (default: true)
Enable RSI + BB Confirmation
InpRSIPeriod (default: 14)
RSI Period
InpRSIOverbought (default: 75.0)
RSI Overbought Level
InpRSIOversold (default: 25.0)
RSI Oversold Level
InpBBPeriod (default: 20)
Bollinger Bands Period
InpBBDeviation (default: 2.0)
Bollinger Bands Deviation
InpEnableHammerConfirm (default: true)
Enable Hammer/Pin Bar Candle Confirmation
InpHammerWickRatio (default: 2.0)
Minimum Wick-to-Body Ratio
InpHammerMaxBodyRatio (default: 0.35)
Maximum Body-to-Range Ratio

Passive Multi-Timeframe Monitor

InpEnablePassiveMonitor (default: true)
Enable M1/M15 Passive Monitor

Time, Spread and ATR Filters

InpEnableTimeFilter (default: true)
Enable Time Filter (Hour-based)
InpStartHour (default: 8)
Start Hour
InpEndHour (default: 18)
End Hour
InpMaxSpreadLimit (default: 40)
Max Spread Limit (Points)
InpEnableATRFilter (default: true)
Enable ATR Filter
InpATRPeriod (default: 14)
ATR Period
InpMinATRValue (default: 100.0)
Min ATR Value (Points)

News Filter

InpEnableNewsFilter (default: true)
Enable Economic News Filter (USD)
InpNewsBlockHighImpact (default: true)
Block on High Impact Events
InpNewsBlockMedImpact (default: false)
Block on Medium Impact Events
InpNewsMinutesBefore (default: 15)
Minutes Before Event to Block
InpNewsMinutesAfter (default: 15)
Minutes After Event to Block

Alerts and Notifications

InpNotificationMode (default: ROUTE_PUSH)
Notification Routing
InpAlertInterval (default: 2)
Alert Interval (Mins)
InpCustomSound (default: alert.wav)
Alert Sound File

Visual Dashboard

InpDashboardColor (default: clrCyan)
Dashboard Main Colour

Risk Management (Auto Trade)

InpLotSize (default: 0.01)
Lot Size
InpStopLoss (default: 300)
Stop Loss (Points)
InpTakeProfit (default: 600)
Target (Points)
InpTrailingStart (default: 150)
Trailing Start (Points, 0=Off)
InpTrailingStop (default: 100)
Trailing Step/Stop (Points)
InpMaxDailyLosses (default: 3)
Max Daily Losses (0=Off)

Any-asset scaling

InpAutoScalePoints (default: true)
Scale point-based inputs to this symbol's volatility (default values are tuned for a ~3000-point daily range) Leave on unless you know the symbol is much calmer or wilder than the usual daily range.

Related Expert Advisors

Oscillator Reversal

A classic oscillator confluence: RSI at an extreme with a Stochastic cross, closed at the Bollinger middle band.

Open →

Reversal Scalper

An M1 exhaustion scalper: a poke past the Bollinger Band in a quiet market, with RSI turning and a rejection candle.

Open →

Volume POC

Builds a 24-hour volume profile, finds its point of control, and acts when price is near it with the H1 trend.

Open →

Frequently Asked Questions

What is the default mode?
Alert only: it alerts but does not trade until you switch to Auto.
What is the hammer test?
A wick at least twice the body and a small body in the upper or lower part of the range.
Can I run the monitor without trading?
Yes, the passive monitor is separate from auto trading.
Do I need a DRF Key to run it?
Yes. The file is free to download, but the EA checks a DRF Key against the licence server when it starts and then every hour. Plans and prices are on the DRF Key page.
Which provider and account should I use?
Any MetaTrader 5 account that offers the symbol. Test on a demo account first; the source does not tie the EA to one provider.
Does it guarantee a result?
No. Trading carries risk and an EA can lose money. The project holds no published performance figures for this EA, so none are shown.
Which symbols does it work on?
Any symbol your provider offers. Inputs that are measured in points scale automatically to the symbol's usual daily range, so the same preset behaves sensibly on a forex pair, an index or Bitcoin. Always test on a demo account first.
Do I need a key to run it?
Yes. After you buy, you receive a DRF Key. It works for life and on up to 5 internet addresses at the same time.
Is there a subscription?
No. You pay once and keep it for life, with free updates.
Does it promise a result?
No. Read the Risk Disclosure. Test on a demo account first; when everything works as you expect, use it on a real account.

Get Expert Advisor and coding news

New Expert Advisors, updates, price changes and videos, by e-mail. A short e-mail only when something is really new. One click to unsubscribe.

You get one e-mail to confirm first. By subscribing you agree that I use your address to send this newsletter. See the Privacy Policy.

Protected by Google reCAPTCHA. The Google Privacy Policy and Terms of Service apply.

Running into a technical issue or something that doesn't work right on this page? Please let us know straight away via our Contact page. That is how we find out what is broken and get it fixed.