RangeBreakoutExpertA
- Experts
- Version: 1.7
- Activations: 5
The idea behind the EA is simple: it builds a price range during a selected time window and waits for the market to break out of that range. When price moves above the high or below the low, the EA can open a trade automatically using market execution. From there, the system manages the position based on the settings you choose.
What makes this EA attractive is not just the entry logic, but the amount of control it gives the user. Risk can be managed either by using a fixed dollar amount per trade or by risking a percentage of account equity. It also includes tools such as take profit, breakeven, trailing stop, and partial close, so the strategy can e adapted to different trading styles and risk preferences.
To help avoid lower-quality setups, the EA also includes several built-in filters. You can restrict trading by spread, range size, weekday, trend direction, and even high-impact news events. This makes the system much more practical for real trading, not just for backtests.
The code itself was written with live trading in mind. It uses market orders, handles slippage, automatically detects the correct filling mode supported by the broker,
and restores its trade count after restart. Open positions are monitored and managed continuously, and the EA can also close trades automatically at the end of the trading session.
The strategy does not use:
- grid;
- martingale;
- or other methods that provide a temporary advantage.
Main features include:
- fully automated breakout entries;
- fixed risk or percentage-based risk;
- take profit based on range multiple;
- breakeven protection;
- trailing stop;
- partial close;
- spread filter;
- range size filter;
- moving average trend filter;
- weekday filter;
- news filter;
- end-of-session trade closing;
- restart recovery for daily trade count.
Testing:
The strategy was tested using a live and demo accounts with extensive optimizations performed on the MetaTrader 5 platform using market-leading forex market data from Dukascopy Bank - swaps, spreads, and all delays included.
Initial deposit
$10,000
Profit over 22 years
$229,810
Risk per trade
0.5% of equity
One trade per day
Suitable for prop firms
This is an example calculation based on the EUR/JPY pair. Your results may vary depending on the settings you choose, and you can apply this strategy to an unlimited number of currency pairs, thereby multiplying your profits or losses.
The strategy can be applied to any currency pair, but you will need to adjust the settings to suit your needs first.
