This collection for MetaTrader 5 provides multiple trading strategies, including an Asian session breakout system, a trend-aligned mean reversion strategy, and a moving average crossover expert.
The breakout logic identifies price ranges during the Asian session and initiates trades during London or New York hours if confirmed by ADX trend strength. Risk management features are extensive, offering percentage-based lot sizing, ATR-based dynamic stop losses, and daily maximum loss protections. It also includes trade management tools like partial closes at specific targets and ATR-based trailing stops to protect capital.
Read from ForexRobotBreakout.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpSymbols
string
EURUSD,GBPUSD,USDJPY,AUDUSD,USDCAD,NZDUSD
Symbols to Trade
InpAsianStartHour
int
0
Asian Range Start Hour
InpAsianEndHour
int
6
Asian Range End Hour
InpBreakoutStartHr
int
7
Breakout Window Start (London open)
InpBreakoutEndHr
int
16
Breakout Window End (stop looking)
InpMinRangePips
double
15.0
Minimum Asian Range (pips) - skip tiny ranges
InpMaxRangePips
double
80.0
Maximum Asian Range (pips) - skip huge ranges
InpBreakoutBuffer
double
3.0
Buffer above/below range for entry (pips)
InpADXPeriod
int
14
ADX Period (trend strength)
InpADXMinimum
double
18.0
ADX Minimum for breakout confirmation
InpATRPeriod
int
14
ATR Period
InpMaxSpread
double
20.0
Max Spread (points)
Show all 28 inputs
Name
Type
Default
Description
InpRiskPercent
double
2.0
Risk Per Trade (% of balance)
InpMagicNumber
int
202605
Magic Number (different from Mean Rev EA!)
InpTradeComment
string
BreakoutEA
Trade Comment
InpMaxTradesPerSym
int
1
Max Trades Per Symbol Per Day
InpMaxTotalTrades
int
3
Max Total Open Trades
InpTP1Mult
double
1.0
TP1 = Range Size * this (partial close)
InpTP2Mult
double
2.0
TP2 = Range Size * this (final target)
InpPartialClosePC
double
50.0
Partial Close % at TP1
InpBEBufferPts
double
5.0
Breakeven Buffer (points)
InpUseMidRangeSL
bool
false
SL at mid-range instead of opposite side
InpSLBuffer
double
5.0
SL Buffer beyond range (pips)
InpDailyMaxLossPC
double
2.0
Max Daily Loss (% of balance)
InpUseTrailingStop
bool
true
Enable Trailing Stop
InpTrailATRMult
double
1.0
Trailing Stop ATR Multiplier
InpFridayCutoffHour
int
14
Friday Cutoff Hour (no new trades after this)
InpTimeframe
ENUM_TIMEFRAMES
PERIOD_M15
Chart Timeframe
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone ruanolivier93-netizen/robot from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .mq5 file into Experts, and any .mqh files into the Include folder the code expects.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.
This repository is a collection of MetaTrader 5 expert advisors developed as early coding projects between 2021 and 2024. It includes multiple robots implementing varied strategies such as range breakouts, Donchian channels, Fibonacci retracements, and Bollinger Bands. The expert advisors are largely technical indicato
This repository provides a collection of MetaTrader 5 expert advisors developed for learning algorithmic trading. The primary featured tool, TimeRangeEA, identifies price high and low points within a specific time window to execute breakout trades. It incorporates risk management through stop loss and take profit level
C Financial is a MetaTrader 5 repository containing a large collection of expert advisor variants focused on trend-following and price action strategies. The primary scripts utilize technical indicators like Moving Averages, ADX, CCI, and Average True Range to detect market direction and volatility. It features modular
This repository contains a collection of MetaTrader 4 Expert Advisors and helper classes for algorithmic trading. The featured robot, Desiree, implements a breakout strategy based on Donchian Channels for both entries and exits. It incorporates comprehensive risk controls including percentage-based lot sizing, volatili
This repository provides a collection of Expert Advisors for MetaTrader 5 and Python trading scripts developed for an educational YouTube series. It features various technical indicator-based strategies, including MACD, Relative Strength Index, Stochastic, and Bollinger Bands. The included MQL5 files implement multi-ti
MT5CollectionIndicator crossoverMean reversionTrend following
This repository features a diverse collection of expert advisors and trading utilities for MetaTrader 4 and MetaTrader 5. It includes automated robots based on trendline analysis, session breakouts, and technical indicator crossovers using MACD, RSI, and Williams Percent Range. The library provides various tools for ri