The strategies range from trend-following systems using True Strength Index (TSI) and Moving Average crossovers to mean-reversion tools utilizing Relative Strength Index (RSI) and Bollinger Bands. Most experts include comprehensive risk management features such as fixed or percentage-based lot sizing, ATR-based position sizing, break-even logic, and trailing stops. While some bots offer optional martingale lot scaling, others focus strictly on technical indicator signals. The collection also includes utility tools for Discord notifications.
ATR-based position sizing and money management
Configurable break-even and trailing stop logic
Discord notification integration for trade events
Multiple indicator-based entry and exit strategies
Optional martingale and anti-martingale lot scaling
Read from 04_TSI_MA_Trend_EA.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
Stoploss
int
46
Stoploss in pips
TakeProfit
int
140
Takeprofit in pips
EA_Magic
int
12345
EA magic number
Lotsize
double
0.05
Lotsize
Slippage
int
10
Buy
bool
true
Allow Buying
Sell
bool
true
Allow Selling
BuyOrderComment
string
A buy has been Successfully executed
SellOrderComment
string
A sell has been Successfully executed
UseBreakEven
bool
true
Use breakeven
WhenToBreak
int
20
When to Breakeven in pips
BreakBy
int
5
Break even in pips
Show all 39 inputs
Name
Type
Default
Description
Close_opposite
bool
false
Close at opposite signal
UseMrtingale
bool
false
Use Martingale Systems
InpMartingaleType
ENUM_MARTINGALE
Martingale_sys
Martingale Type
InpMaringaleMultiplier
double
2
Martingale Multiplier
InpMartingaleLimit
int
4
Martingale Limit
UseATR_MM
bool
false
ATR-based position sizing
ATR_Period
int
20
ATR Period
ATR_Multiplier
double
1.0
ATR Multipliplier
Risk
double
2.0
Percentage risk
Fixed_balance
double
0
Fixed balance used if greater than 0
MoneyRisk
double
0
Money risked used if greater than 0
UseMoneynotpercentage
bool
false
Use Money risk not Percentage
UseEquitynotbalance
bool
false
Use Equity not Money for risk calc
LotDigits
int
2
Decimal places in the lotsize
UseTrailing
bool
true
Use trailing stop
WhenToTrail
int
50
When to Start Trailing in pips
TrailBy
int
20
TrailingStop in pips
ema1
int
25
First smoothing period
ema2
int
13
Second smoothing period
sMAp
int
10
Signal line period
MAmode
ENUM_MA_METHOD
MODE_EMA
Mode of MA for the signal line
MAPeriod1
int
100
Longterm MA Period
MAShift1
int
0
Longterm MA Shift
MAMethod1
ENUM_MA_METHOD
MODE_EMA
Longterm MA Method
MAPeriod2
int
50
Shortterm MA Period
MAShift2
int
0
Shortterm MA Shift
MAMethod2
ENUM_MA_METHOD
MODE_EMA
Shortterm MA Method
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone santiago-cruzlopez/MQL5 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 MetaTrader 4 repository contains a large collection of automated trading systems, including scalpers, grid bots, and trend-following tools. The primary expert advisors utilize indicators such as Bollinger Bands and Average True Range (ATR) for entry and exit signals. Risk management features include percentage-bas
This repository contains a diverse collection of MetaTrader 5 expert advisors ranging from RSI-based scalping robots to multi-timeframe trend following systems. The EAs utilize various technical indicators including EMA crossovers, MACD momentum, and ATR for volatility-based exits. The core logic often incorporates mul
This repository provides a collection of MetaTrader 4 and 5 expert advisors, including the modular Super Trading Bot series and an AI-driven trading template. The EAs utilize various technical indicators like Bollinger Bands, Parabolic SAR, and moving averages for trend-following and scalping. Built-in risk management
This collection of MetaTrader 5 expert advisors focuses on order flow, microstructure, and scalping strategies. It includes tools for cumulative delta scalping, swing pivot fading, and bridging external signals from TradingView via file monitoring. The suite features robust risk controls such as daily loss and profit l
MT5CollectionScalpingMean reversionTrend following
This repository is a diverse collection of MetaTrader 4 and 5 expert advisors, including signal-based robots, grid traders, and utility scripts. The featured expert advisor provides a versatile framework for trade management with options for trailing stops, break-even logic, and ECN broker compatibility. It includes co
This repository provides a diverse collection of MetaTrader 4 and MetaTrader 5 expert advisors covering multiple trading methodologies. It includes robots for smart money concepts with fair value gap detection, Joe Ross hook patterns, and volatility-based scalping. The library features specific tools for XAUUSD and mul