The primary breakout advisor utilizes a multi-factor weighting system to score potential trades based on ADX strength, ATR expansion, impulse candle size, and higher timeframe EMA alignment. Risk controls include percentage-based lot sizing, fixed risk-to-reward ratios, and ATR-derived stop losses. The system supports intraday execution with built-in session filters and structural trailing stops. The repository contains various versions of these tools but lacks documentation.
Read from EA_Breakout_v2.1.0.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpTimeframe
ENUM_TIMEFRAMES
PERIOD_H1
Timeframe (M30 or H1)
InpMagicNumber
int
20250101
Magic Number
InpRiskPercent
double
0.5
Risk % per Trade
InpRR
double
2.5
Risk:Reward Ratio
InpATRStopMultiplier
double
1.5
ATR Stop Fallback Multiplier
InpSwingMinBars
int
8
Min Bars Between Swings
InpSwingVertMinATR
double
0.6
Min Vertical Swing Distance (ATR)
InpSlopeMinATR
double
0.00
Min Trendline Slope (ATR factor)
InpUseSessionFilter
bool
true
Enable Session Filter
InpSessionStartHour
int
6
Session Start Hour (UTC)
InpSessionEndHour
int
22
Session End Hour (UTC)
InpHardSpreadMaxATR
double
0.15
Max Spread as ATR fraction (Hard)
Show all 40 inputs
Name
Type
Default
Description
InpMinFlexScore
double
2.0
Minimum Weighted Flex Score
W_ADX_Strength
double
1.0
Weight: ADX Strength
W_ADX_Rising
double
1.0
Weight: ADX Rising
W_ATR_Expansion
double
1.4
Weight: ATR Expansion
W_Impulse_Body
double
1.0
Weight: Impulse Candle Body
W_Compression
double
1.0
Weight: Compression Quality
W_HTF_Alignment
double
1.4
Weight: HTF EMA Alignment
W_Spread_Quality
double
0.6
Weight: Spread Quality
W_Stoch_Alignment
double
0.8
Weight: Stochastic Alignment
W_Slope_Strength
double
0.7
Weight: Trendline Slope
InpADXMin
double
20.0
ADX Strength Threshold
InpADXRisingEnabled
bool
true
Enable ADX Rising Filter
InpATRExpansionRatio
double
1.05
ATR Expansion Ratio
InpImpulseBodyATR
double
0.3
Min Impulse Body (ATR factor)
InpCompressionATR
double
2.5
Max Compression Range (ATR)
InpHTFFlexEnabled
bool
true
Enable HTF EMA Flex Filter
InpSpreadFlexEnabled
bool
true
Enable Spread Flex Filter
InpStochFlexEnabled
bool
true
Enable Stochastic Flex Filter
InpStochBuyLevel
double
50.0
Stochastic Buy Threshold
InpStochSellLevel
double
50.0
Stochastic Sell Threshold
InpStochK
int
5
Stochastic K Period
InpStochD
int
3
Stochastic D Period
InpStochSlowing
int
3
Stochastic Slowing
InpPullbackEnabled
bool
true
Enable Pullback Entry
InpPullbackMaxBars
int
10
Max Bars for Pullback Window
InpPullbackZoneATR
double
0.3
Pullback Zone Width (ATR)
InpPullbackNeedCandle
bool
true
Require Rejection Candle
InpUseStructuralTrail
bool
true
Enable Structural Trailing
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone DanichelsonHD/Expert-Advisors-MT5 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
A collection of systematic Expert Advisors for MetaTrader 5 designed for session-specific execution. The repository includes multiple specialized engines for strategies such as range reversion, breakouts, and trend following. It features a centralized risk management layer with spread caps, daily loss limits, and conse
MT5CollectionMean reversionBreakoutTrend following
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 c
This repository features a collection of MetaTrader 5 Expert Advisors developed for strategy and risk-management research. It includes a multi-pair mean reversion grid system, a gold breakout robot using previous day levels, and trend-following strategies based on moving averages. The EAs incorporate extensive risk con
This repository contains a collection of MetaTrader 5 expert advisors created to test various trading concepts. The included bots trade diverse markets, utilizing indicators like moving averages, Bollinger Bands, Stochastic, and VWAP. The primary highlighted expert advisor executes trend-following trades on gold using