The repository includes modules for ATR breakouts, Bollinger Band mean reversion, and opening range breakouts. Risk management is handled through a three-stage take profit system, automated breakeven adjustments, and trailing stops based on ATR multiples. Users control exposure via percentage-based lot sizing, daily loss limits, and session filters. It also includes a dedicated monitor utility for managing manual or external trades with a stepped trailing stop.
Three-stage partial take profit system
Automatic breakeven and ATR-based trailing stops
Configurable session and news filtering
Percentage-based risk lot sizing with daily loss limits
Dedicated monitor utility for external trade management
Read from Gold_M5_Scalper_v5.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
EMA_Fast
int
9
EMA_Slow
int
21
RSI_Period
int
14
RSI_OverboughtLevel
double
70.0
avoid new buys above this
RSI_OversoldLevel
double
30.0
avoid new sells below this
SwingLookbackBars
int
10
how many bars back to find the swing high/low
SwingBufferPoints
double
30
extra buffer beyond the swing point
RiskPercent
double
1.0
% of balance risked per trade (1-2% recommended)
MinRR
double
2.0
minimum reward:risk ratio (TP = SL_distance * MinRR)
MaxLotSize
double
1.0
safety cap regardless of calculated size
BreakevenAfterRR
int
1
move to breakeven once price moves 1x the SL distance in profit
BreakevenLockPoints
int
20
Show all 25 inputs
Name
Type
Default
Description
UseTrailing
bool
true
TrailingStartRR
int
1
start trailing once 1x SL distance in profit
TrailingATRMultiple
double
1.5
ATR_Period
int
14
UseSessionFilter
bool
true
SessionStartHour
int
8
server-time hour session opens
SessionEndHour
int
17
server-time hour session closes
CooldownSeconds
int
60
MaxConcurrentPositions
int
2
MaxTradesPerDay
int
20
DailyLossLimitUSD
double
100.0
MagicNumber
int
20260712
DebugLogging
bool
true
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone NziCode/mt5-trading-bots 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 repository provides a collection of expert advisors for MetaTrader 5, featuring various technical strategies. The primary implementation is the Trading Made Simple system, which utilizes Hull Moving Average crossovers, Heiken Ashi candles, and Stochastic filters to identify entry signals. Other included robots foc
Quantum Tius is a collection of automated trading scripts and Expert Advisors for MetaTrader 5, specifically targeting the Bitcoin and Gold markets. The repository provides multiple tools including the Kaku and Baki bots, which utilize Moving Average crossovers and the Relative Strength Index for scalping. These tools
This collection of MetaTrader 5 expert advisors focuses on mean-reversion and breakout strategies for gold (XAUUSD) on the M1 timeframe. The primary logic identifies statistical extremes using Z-Score calculations to trade price snap-backs. It includes a TickRobust variant designed to filter execution noise and a dual-
This repository contains a collection of MetaTrader 5 expert advisors based on popular technical indicators. The primary EA uses the Relative Strength Index to identify overbought and oversold conditions for trade entry. It manages risk through fixed stop loss and take profit settings, alongside a maximum position limi
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