Home / Coding / Expert Advisors / Momentum Breakout

Momentum Breakout

Trades an impulsive candle out of a consolidation box, filtered by RSI exhaustion and an H1 trend.

DRF_Momentum_Breakout_EA · version 4.01 · Strategy · MetaTrader 5

€15   Buy Momentum Breakout →

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 want a box-breakout rule with strict loss controls.

What it does

An impulsive breakout system. It finds a consolidation box, waits for a candle whose body is much larger than recent bodies, and avoids entering if the RSI already shows exhaustion.

How it works

  1. Box: the last 12 candles form a consolidation of at least a minimum height in points.
  2. Impulse: a candle body 1.5 times the average of the last 10 bodies.
  3. Exhaustion filter: no buy above RSI 70, no sell below RSI 30.
  4. Trend: an H1 200-period average.
  5. Risk: a per-order loss limit in cash by default, a daily limit on losing orders, trailing and a session cash target; alert-only by default.

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 (InpEAMode).
  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 Momentum Breakout →

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

Primary Identity

InpMagic (default: 192837)
Magic Number
InpOrderComment (default: DRF Momentum Breakout EA)
Order Comment

Session Risk (Individual Order)

InpRiskMode (default: RISK_CASH)
Individual Stop Loss Mode
InpStopLoss (default: 2.0)
Max Loss per Order (Cash or Points)

Provider Compliance

InpSafetyMargin (default: 10.0)
Provider Safety Margin (Points)
InpEmergencyMultiplier (default: 3.0)
Emergency Hard-Stop Multiplier (Cash Mode)

Daily Protection (Reset at Midnight)

InpMaxDailyLosses (default: 2)
Max Number of Losing Orders Allowed
InpMaxSpread (default: 40)
Max Allowed Spread
InpUseTimeFilter (default: true)
Enable Time Filter
InpStartHour (default: 8)
Session Start Hour
InpEndHour (default: 18)
Session End Hour

News Filter

InpUseNewsFilter (default: true)
Enable News Filter
InpNewsMinutesBefore (default: 30)
Block Entries: Minutes Before News
InpNewsMinutesAfter (default: 30)
Block Entries: Minutes After News
InpNewsImportance (default: CALENDAR_IMPORTANCE_HIGH)
Minimum News Importance

Trading Configuration

InpEAMode (default: MODE_ALERT)
Operation Mode
InpLotSize (default: 0.01)
Lot Size

Active Risk Smart Trailing and TP

InpUseTrailing (default: true)
Enable Trailing Stop (Points)
InpTrailTrigger (default: 2.0)
Trailing Start Trigger Value
InpTrailDistance (default: 1.0)
Trailing Lock Gain Value
InpUseSessionTP (default: true)
Enable Session Cash Target
InpSessionTP (default: 10.0)
Session Target Value (Cash)

Box and Momentum Parameters

InpBoxPeriod (default: 12)
Box Candle Period (Consolidation)
InpBoxMinHeight (default: 20.0)
Min Box Height (Points)
InpImpMultiplier (default: 1.5)
Impulse Multiplier (Body vs Avg)
InpAvgLookback (default: 10)
Lookback for Avg Body Size

RSI Exhaustion Filter

InpRsiPeriod (default: 14)
RSI Period
InpRsiOverbought (default: 70)
Overbought Level (No Buy Above)
InpRsiOversold (default: 30)
Oversold Level (No Sell Below)

Trend Filter (HTF Master)

InpUseHTF (default: true)
Enable HTF Trend Filter
InpHTF (default: PERIOD_H1)
HTF Master Timeframe
InpHTFPeriod (default: 200)
HTF Master Period
InpHTFMethod (default: MODE_EMA)
HTF Master MA Method

Alert and Visual Settings

InpDashColour (default: clrAqua)
Dashboard Main Colour
InpNotifRouting (default: NOTIF_PUSH)
Notification Routing
InpStatusAlertMins (default: 2)
Status Alert Every X Minutes (0 = Off)

Useful Brand Info

InpBrandInfo (default: donaldsonrf.com)
Brand / Info Identifier

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

Breakout Scalper

An M1 scalper for any symbol: a Donchian channel breakout with a volatility expansion filter and H1 trend context.

Open →

Exhaustion Reversion

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

Open →

Volatility Breakout

A Bollinger breakout with rising volatility and an accelerating oscillator, closed on the Alligator Teeth.

Open →

Frequently Asked Questions

What is the default mode?
Alert; switch to auto to let it trade.
What is the per-order loss limit?
Set in cash by default (2.0 units), with a hard-stop multiplier for safety.
What is the session cash target?
A cash target of 10 units by default, after which it stops for the session.
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.