The robot identifies the high and low price levels established during a specific daily period and executes buy or sell orders when the price breaches these boundaries. It includes risk management features such as a fixed stop loss, three take profit levels, and a break-even function triggered at the first target. The EA also supports automatic end-of-day position closure and flexible lot sizing based on equity percentage.
Read from TimeRangeBreakoutv8.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpRangeStartHour
int
1
Range Start Hour
InpRangeStartMinute
int
0
Range Start Minute
InpRangeEndHour
int
5
Range End Hour
InpRangeEndminute
int
0
Range End Minute
InpRangeGapPips
double
7.0
Entry Gap Pip
InpStopLossPips
double
25.0
Stop Loss in Pips
InpTakeProfit1Pips
double
15
Take Profit 1 in Pips
InpTakeProfit2Pips
double
35
Take Profit 2 in Pips
InpTakeProfit3Pips
double
50
Take Profit 3 in Pips
InpBreakEven
bool
false
Break Even After TP1
InpCloseEOD
bool
true
Close All Trade EOD
InpMagic
long
3253
Magic Number
Show all 15 inputs
Name
Type
Default
Description
InpTradeComment
string
TIME RANGE BREAKOUT
Trade Comment
InpRisk
double
0.01
Risk
InpRiskType
ENUM_RISK_TYPE
RISK_TYPE_FIXED_LOTS
Risk Type
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone Justin-yzp/TimeRangeBreakoutEA 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.
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 MetaTrader 5 expert advisor implements an open range breakout strategy specifically designed for gold trading on the hourly timeframe. It identifies the high and low of the initial trading hour and establishes a definitive range after a user-defined consolidation period. Trades are triggered when price breaks thro
Nyao Scalper is an automated scalping robot for MetaTrader 5 that utilizes a multi-factor weighted scoring system to identify trade opportunities. It evaluates trend alignment through EMA crossovers, momentum via RSI, and price action through wick rejection and candle body analysis. The EA manages risk with adaptive AT
This MetaTrader 5 expert advisor specializes in trading Gold (XAUUSD) by targeting volatility during the New York session. It utilizes an Average True Range (ATR) indicator to identify market trends and determine entry levels for limit orders. Risk management includes fixed stop loss parameters and dynamic trailing sto
Black XAU is an automated trading robot for MetaTrader 5, specifically designed for gold. It utilizes a multi-timeframe breakout and retest strategy, identifying trading zones based on initial H4 market structure. Entries are triggered on the M5 timeframe when price retests a confirmed breakout level. The expert adviso
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
First Candle Breakout is a MetaTrader 5 expert advisor designed to trade the breakout of the high or low of the first candle within a specified period. While traditionally used with the first 60-minute candle, the software allows users to configure any timeframe for the initial range. The robot enters a buy position wh