ATR Breakout EA identifies breakout opportunities by comparing current ATR levels against the previous day's peak and trough, targeting periods of increasing volatility at the start of the trading session. The robot places pending limit or stop orders when price breaks beyond a specific range relative to the previous candles. It features risk management controls including a fixed monetary risk amount per trade, maximum lot size limits, and multiple stop loss calculation methods using either candle extremes or ATR multipliers.
Read from EA_2020_ATRBreak.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
I_MagicNumber
int
20200505
Magic Number
I_ATRPeriod
int
5
ATR Period
I_AtRisk
double
20
AtRisk in Account Curr
I_StoplossMethod
StoplossMethod
0
Stoploss Calculation Method.
I_ReversionPercent
int
20
Reversion of Limit/Stop Open relative to last 2 candles.
I_StoplossATRMultiplier
double
1.0
ATRMultiplier to calculate stoploss.
I_TypicalSpread
double
0.00030
Typical Spread used in SL Offsets
I_MaxLotSize
double
0.5
Max Lot Size for Risk Management.
I_RiskRewardRatio
double
1.5
Risk/Reward Ratio for T.P.
I_LimitStopOrderExpiryMins
int
60
Lim/Stop Order Duration in minutes.
I_HiddenStoplossOffset
double
0
Hidden Stoploss offset.
I_TradingStartHour
int
7
Trading Start Hour.
Show all 14 inputs
Name
Type
Default
Description
I_TradingEndHour
int
20
Trading End Hour.
I_LogResultsInFile
bool
false
Log Results in File.
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone MarkyMark1000/MQL_ATRBreakout from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
3Copy the filesCopy the .mq4 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 expert advisor for MetaTrader 4 focuses on gold trading using daily price extremes and moving averages. It calculates the 7-day Simple Moving Average and identifies the highest price points from the previous five trading days to determine market direction. The EA executes its logic on a five-second timer interval
This MetaTrader 5 expert advisor implements a box breakout strategy designed for the foreign exchange market. The robot identifies price ranges during specific time windows and enters trades upon a breakout. It features a trend filter using fast and slow moving averages to align entries with broader market direction. R
Binario is a breakout expert advisor for MetaTrader 4 and 5 that utilizes a price channel constructed from two moving averages of the same period. By default, it uses a 144-period exponential moving average applied to both highs and lows. It enters trades when the price moves outside this band by a predefined pip dista
Mad Pound Profits is a MetaTrader 4 expert advisor that automates trading based on structural breakouts and price action. The system utilizes time-specific analysis windows throughout the day to identify entry opportunities. It incorporates technical elements such as Fibonacci levels, momentum indicators, and mean reve
This MetaTrader 4 expert advisor executes a regime-gated breakout strategy specifically optimized for XRP and ETH markets. It operates on the H4 timeframe, utilizing Bollinger Bands for entry signals coupled with ADX and ATR filters to identify high-volatility trend environments. The EA employs a one-shot entry approac
Session Sauce is an automated expert advisor for MetaTrader 4 designed to trade market session transitions and price extremes. It allows users to configure entries based on session opens, highs, and lows for the New York, London, and Asian sessions. The EA includes risk management features such as fixed stop losses, ta