Home / Coding / Expert Advisors / Breakout Scalper

Breakout Scalper

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

DRF_Breakout_Scalper_EA · version 1.01 · Strategy · MetaTrader 5

€15   Buy Breakout Scalper →

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

Scalpers who want an M1 breakout with strict spread and volatility rules.

What it does

A short-term breakout system tuned for a typical the market spread around 18 to 20 points. A break of the 20-bar Donchian channel counts only when volatility is expanding and the H1 trend agrees.

How it works

  1. Breakout: price breaks the 20-bar Donchian channel by a buffer of 0.15 ATR.
  2. Volatility: ATR at least 1.10 times its 50-bar average.
  3. Context: H1 50-period average trend and an RSI(9) range filter.
  4. Stops and targets: 1.4 ATR stop, target at 1.5 times the risk; break-even and trailing available.
  5. Limits: up to 25 trades a day, 3 percent daily loss, spread cap 40 points, a session window and a fixed news blackout from 15:25 to 15:45 server time.

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.
  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 Breakout Scalper →

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

Identification

InpMagicNumber (default: 20260914)
Magic number
InpTradeComment (default: DRFBrk)
Order comment

Breakout (Donchian channel)

InpDonchianPeriod (default: 20)
M1 bars used for the channel (highest/lowest)
InpBreakoutBufferATR (default: 0.15)
Minimum breakout buffer (x ATR) - filters out weak breakouts

Volatility filter (avoids dead/ranging market)

InpATRPeriod (default: 14)
ATR period on M1
InpATRAvgPeriod (default: 50)
Lookback for the ATR average (expansion check)
InpMinATRExpansion (default: 1.10)
Current ATR must be >= average x this factor

Trend filter (H1 context)

InpUseH1TrendFilter (default: true)
Use the H1 trend filter?
InpH1EMAPeriod (default: 50)
H1 EMA period

Momentum confirmation

InpUseRSIFilter (default: true)
Use the RSI filter?
InpRSIPeriod (default: 9)
RSI period on M1
InpRSIMin (default: 48.0)
Minimum RSI for a buy (mirrored for a sell)
InpRSIMax (default: 85.0)
Maximum RSI for a buy (mirrored for a sell)

Risk management (ATR-based, suited to the market)

InpUseFixedLot (default: true)
Use a fixed lot size? (false = risk %)
InpFixedLot (default: 0.10)
Fixed lot size
InpRiskPercent (default: 0.5)
Risk % per trade (if not using a fixed lot)
InpSL_ATR_Mult (default: 1.4)
Stop loss = ATR x this multiplier
InpTP_RR_Ratio (default: 1.5)
Target = stop loss x this risk:reward ratio
InpMinSLPoints (default: 120)
Minimum stop loss, in points (safety floor)
InpMaxSLPoints (default: 450)
Maximum stop loss, in points (safety ceiling)
InpUseBreakEven (default: true)
Move stop to break-even?
InpBreakEvenATRMult (default: 0.8)
Trigger break-even once gain >= ATR x this
InpBreakEvenLockPts (default: 15)
Points of gain locked in at break-even
InpUseTrailingStop (default: true)
Use a trailing stop?
InpTrailingStartATR (default: 1.0)
Start trailing once gain >= ATR x this
InpTrailingStepATR (default: 0.5)
Trailing distance (x ATR)

Operational filters (news / spread / session)

InpMaxTradesPerDay (default: 25)
Maximum trades per day
InpMaxDailyLossPercent (default: 3.0)
Stop trading once daily loss reaches this % of balance
InpMaxSpreadPoints (default: 40)
Maximum accepted spread, in points (safety net during news)
InpUseSessionFilter (default: true)
Restrict trading to a session window?
InpSessionStartHour (default: 9)
Session start hour (SERVER time - see notes)
InpSessionEndHour (default: 19)
Session end hour (SERVER time)
InpUseNewsBlackout (default: true)
Block a typical high-impact news window (e.g. NFP/CPI/FOMC)
InpNewsHour1 (default: 15)
News blackout hour (server time - align to 13:30 UTC)
InpNewsMinuteStart1 (default: 25)
Blackout start minute
InpNewsMinuteEnd1 (default: 45)
Blackout end minute
InpCooldownSeconds (default: 20)
Minimum wait between trades (seconds)

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

5 Step Scalper

An M5 pullback scalper on a five-step ladder: H1 trend, M5 average alignment, pending stop entry, 2R target and partial close.

Open →

Momentum Breakout

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

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 →

Frequently Asked Questions

Is the news blackout a calendar filter?
No, it is a fixed daily time window (15:25 to 15:45 server time by default) rather than the economic calendar; check it against your provider's server time.
What is the default lot?
0.10 fixed; risk-percent sizing is available.
Why M1?
The strategy was designed as an M1 scalper; the source says so in its header.
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.