Expert Advisor
110 € one - time payment / life - time support
This example backtest was performed on the EUR/JPY currency pair from March 1, 2004, to February 22, 2026 (22 years). Using Dukascopy Bank data.
Initial deposit
$10,000
Profit over 22 years
$229,810
Risk per trade
0.5% of equity
One trade per day
$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.
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.
This Expert Advisor is a fully automated range breakout system for MetaTrader 5, created for traders who want a clean, structured strategy with solid risk management and practical live-trading features.
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 be 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
- 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
- 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.
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.
In-depth analyses were conducted on the following currency pairs: EUR/JPY, XAU/USD, GBP/USD, USD/JPY
The strategy can be applied to any currency pair, but you will need to adjust the settings to suit your needs first.
Don't forget to change the settings. The input parameters shown in the image are just an example.
Help is always available here! I'll do my best to respond within 24 hours.
Trading foreign exchange (Forex) and leveraged financial instruments involves a high level of risk and is not suitable for all investors. There is a possibility of losing part or all of your initial investment. Before making any investment decision, you should carefully evaluate your experience level and risk tolerance.
This Is Not Financial Advice
This MetaTrader 5 Expert Advisor (EA) is an automated tool provided for educational and informational purposes only. It does not constitute investment advice or a recommendation to buy or sell any financial instrument. All strategy settings and parameters are used at your own risk.
Historical Data
Past performance, including backtest results obtained from historical data, does not guarantee future profitability. There is no assurance that your account will achieve results similar to those shown during testing.
Limitation of Liability
The software developer and seller accept no responsibility for any financial losses incurred through the use of this product. By purchasing and using this robot, you acknowledge that you understand the risks involved and accept full responsibility for your own trading decisions and actions.