This collection provides educational Expert Advisors for the MetaTrader 5 platform, showcasing different algorithmic approaches for beginners and intermediate traders.
EA Trading Guide features a moving average crossover system and a more advanced mean reversion robot based on the Relative Strength Index. The included tools utilize volatility-based exits via Average True Range multipliers for both stop loss and take profit orders. Traders can control risk through automated lot sizing based on account equity percentages. The system includes a trend filter using a 200-period moving average, a trailing stop mechanism, and time-based trading filters to limit activity.
Read from RSI_MeanReversion_EA.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpRSIPeriod
int
14
RSI Period
InpOversold
double
30
RSI Oversold level
InpOverbought
double
70
RSI Overbought level
InpTrendMA
int
200
Trend filter MA Period
InpATRPeriod
int
14
ATR Period
InpATRStopMult
double
2.0
Stop Loss = ATR x
InpATRTPMult
double
3.0
Take Profit = ATR x
InpRiskPercent
double
1.0
Risk per trade (%)
InpUseTrailing
bool
true
Use Trailing Stop
InpTrailATRMult
double
1.5
Trailing distance = ATR x
InpStartHour
int
7
Trading start hour (server time)
InpEndHour
int
20
Trading end hour (server time)
Show all 14 inputs
Name
Type
Default
Description
InpMaxSpread
int
30
Max spread (points)
InpMagic
int
100002
Magic Number
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone thenaritlab/ea-trading-guide 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 and Python trading scripts developed for an educational YouTube series. It features various technical indicator-based strategies, including MACD, Relative Strength Index, Stochastic, and Bollinger Bands. The included MQL5 files implement multi-ti
MT5CollectionIndicator crossoverMean reversionTrend following
This collection features several expert advisors for the MetaTrader 5 platform, each built around a different technical indicator such as MACD, RSI, Parabolic SAR, and Ichimoku Kinko Hyo. The robots execute trades based on classic signal logic, including zero-line crossings and signal line crossovers. Users can configu
This educational collection provides a foundation for building MetaTrader 5 expert advisors through a series of modular code snippets and a primary RSI-based trading robot. The included expert advisor executes trades based on Relative Strength Index overbought and oversold levels, supporting both live and closed candle
MT5CollectionMean reversionIndicator crossoverTrend following
This repository provides a diverse collection of MetaTrader 5 expert advisors focusing on technical indicator automation. The core component aggregates signals from a wide array of standard tools, including trend-following moving averages, oscillators like RSI and MACD, and Bill Williams indicators. It includes specifi
This collection of MetaTrader 5 expert advisors serves as an educational resource for MQL5 programming. It contains multiple example robots utilizing technical indicators such as Moving Averages, Parabolic SAR, CCI, and Stochastic oscillators. The provided scripts demonstrate fundamental trading automation features inc
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