This repository provides a collection of MetaTrader 5 expert advisors featuring traditional technical indicators and advanced machine learning integrations.
The library includes strategies based on Moving Average crossovers, MACD, and Bollinger Bands, alongside risk-heavy models like martingale and hedging systems. A core project within the repository enables neural network forecasting by connecting MetaTrader to a Python socket server for LSTM and GRU model execution. Risk controls across the various bots typically include stop loss, take profit, trailing stops, and percentage-based risk lot scaling.
Read from Plateau.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpStopLoss
ushort
50
Stop Loss, in pips (1.00045-1.00055=1 pips)
InpTakeProfit
ushort
140
Take Profit, in pips (1.00045-1.00055=1 pips)
InpTrailingStop
ushort
5
Trailing Stop (min distance from price to Stop Loss, in pips
InpTrailingStep
ushort
5
Trailing Step, in pips (1.00045-1.00055=1 pips)
IntLotOrRisk
ENUM_LOT_OR_RISK
risk
Money management: Lot OR Risk
InpVolumeLorOrRisk
double
3.0
The value for "Money management"
Inp_MA_Fast_ma_period
int
9
MA Fast: averaging period
Inp_MA_Slow_ma_period
int
24
MA Slow: averaging period
Inp_MA_ma_shift
int
0
MA Fast and Slow: horizontal shift
Inp_MA_ma_method
ENUM_MA_METHOD
MODE_LWMA
MA Fast and Slow: smoothing type
Inp_MA_applied_price
ENUM_APPLIED_PRICE
PRICE_TYPICAL
MA Fast and Slow: type of price
Inp_Bands_bands_period
int
150
Bands: period for average line calculation
Show all 19 inputs
Name
Type
Default
Description
Inp_Bands_bands_shift
int
0
Bands: horizontal shift of the indicator
Inp_Bands_deviation
double
1.0
Bands: number of standard deviations
Inp_Bands_applied_price
ENUM_APPLIED_PRICE
PRICE_TYPICAL
Bands: type of price
InpReverse
bool
false
Reverse
InpCloseOpposite
bool
false
Close opposite
InpPrintLog
bool
false
Print log
m_magic
ulong
138991923
magic number
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone Bokang777/MQL-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 is a substantial collection of nearly five hundred Expert Advisors for the MetaTrader 5 platform. The library includes various automated strategies such as divergence detection using RSI and MACD, moving average crossovers, and zone recovery systems. It features a mix of trading robots, indicator-based
This repository is a comprehensive backup of trading resources from the defunct fxcodebase community, containing a diverse collection of expert advisors for MetaTrader 4 and 5. The archive serves as a repository for legacy source code, featuring strategies ranging from RSI crossovers to advanced hedging and martingale
KolaTradebot is a MetaTrader 5 expert advisor that executes a multi-asset strategy using Smart Money Concepts and a Global Order Model. It bridges the platform with a Python-based server to analyze market structures like order blocks, fair value gaps, and liquidity sweeps across multiple timeframes. The system includes
Oslib is an extensive repository of Expert Advisors and indicators for MetaTrader 5, encompassing various quantitative trading approaches. The collection includes statistical arbitrage robots that trade spreads between two correlated symbols, machine learning experts utilizing Support Vector Machines (SVM), and high-fr
This repository provides a collection of automated trading systems for MetaTrader 4 and 5. The expert advisors utilize various technical indicators, including ADX, DMI, RSI, and Heiken Ashi, to determine market entry points. Some strategies are based on price action from previous candle directions. Trade management fea
This repository is a collection of MetaTrader 5 expert advisors and scripts designed for educational purposes. It contains several standalone trading tools, including simple Bollinger Band strategies, trailing stop managers, and limit order placement utilities. The primary example uses a grid-based approach, populating