The primary implementation uses a triple exponential moving average crossover for signals, supported by an Average True Range volatility filter. Risk control is managed via equity percentage or fixed lot sizing, with ATR-based initial stop loss and trailing stop mechanisms included for trade management. Each trade is limited to one entry per candle. Other files in the repository offer variations based on Fibonacci levels, price-to-EMA relations, and support or resistance areas. The repository is undocumented, consisting purely of source code.
Triple exponential moving average crossover logic
ATR-based initial stop loss and trailing stop
Risk management via equity percentage or fixed lots
Read from 3EMAS_CruceCierre_TrailingStop.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
UseRiskPercent
bool
true
true: % de equity; false: lotes fijos
RiskPercent
double
1.0
% por operación
FixedLots
double
0.10
si UseRiskPercent=false
ATR_Period
int
14
Periodo ATR
SL_ATR_Mult
double
1.50
SL inicial = ATR * mult
Trail_ATR_Mult
double
1.00
Paso de trailing = ATR * mult
periodo_ema_rapida
int
10
periodo_ema_media
int
50
periodo_ema_lenta
int
200
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone diegoaberrio/mql5-ea-lab 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 of MetaTrader 5 expert advisors provides a series of educational templates and multi-symbol trading robots. Developed as a companion to coding tutorials, the repository includes frameworks for building strategies using entry triggers and multiple filters. The included programs feature automated risk man
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 repository provides a collection of MetaTrader 5 expert advisors and indicators developed for experimental purposes. It features a range of trading systems, including standard MetaQuotes examples and custom implementations like NERV and RNN-based logic. The primary expert advisors utilize technical indicators such
This MetaTrader 5 collection features several expert advisors and utility tools based on various technical analysis methods. The primary strategy uses Ichimoku Kinko Hyo components, specifically Tenkan-sen, Kijun-sen, and Senkou Span B, to identify trend-based entries. Additional bots in the repository utilize moving a
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