Donchian Trend Follow EA enters trades using Donchian channel breaks with an ensemble of three periods (30, 60, 120) requiring a minimum of 2 votes. Multiple filters including t-statistic, efficiency ratio, volatility regime, session, spread, news, higher timeframe, and channel compression are applied. Exits use the Donchian exit channel, ATR-based stop loss, partial closes, breakeven, time stop, and optional trailing stop. Lot sizing is based on risk in USD, scalable by votes and volatility. It includes risk controls like daily limits.
Read from Donchian_TrendFollow_EA.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpTimeframe
ENUM_TIMEFRAMES
PERIOD_M15
timeframe de trading
InpMagicNumber
ulong
20260929
InpEntryPeriod
int
10
canal d'entree (utilise si ensemble OFF)
InpUseEnsemble
bool
false
3 canaux qui votent
InpEntryPeriod1
int
30
InpEntryPeriod2
int
60
InpEntryPeriod3
int
120
InpMinVotes
int
2
votes requis (1..3)
InpScaleRiskByVotes
bool
false
risque x (votes / 3)
InpExitPeriod
int
110
canal de sortie
InpUseTStatFilter
bool
false
InpTStatPeriod
int
50
Show all 40 inputs
Name
Type
Default
Description
InpTStatThreshold
double
2.0
long : t > +seuil, short : t < -seuil
InpUseERFilter
bool
false
InpERPeriod
int
20
InpERThreshold
double
0.30
InpUseVolRegimeFilter
bool
false
InpATRLongPeriod
int
100
ATR court = InpATR_Period
InpVolRatioMin
double
1.0
ATR court / ATR long > seuil
InpUseSessionFilter
bool
false
InpSessionStartHour
int
9
inclus
InpSessionEndHour
int
21
exclu
InpUseSpreadFilter
bool
false
InpMaxSpreadPoints
int
40
InpUseNewsFilter
bool
false
InpNewsCurrency
string
USD
InpNewsMinutesBefore
int
30
InpNewsMinutesAfter
int
30
InpUseHTFFilter
bool
false
InpHTF
ENUM_TIMEFRAMES
PERIOD_H1
InpHTFEMAPeriod
int
200
InpUseHTFSlope
bool
false
exige aussi la pente de l'EMA dans le sens
InpHTFSlopeBars
int
5
InpUseCompressionFilter
bool
true
InpCompressPeriod
int
20
largeur du canal mesuree sur N barres
InpCompressLookback
int
200
historique pour le percentile
InpCompressMaxPct
double
50.0
largeur actuelle <= ce percentile
InpRiskUSD
double
500.0
InpATR_Period
int
14
InpATR_Multiplier
double
1.0
How to Install It
1Download the sourceUse "Download source (.zip)" above, or clone WayneTradeFr/quant-research 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.
EA31337 is a comprehensive multi-strategy trading robot and framework for MetaTrader platforms. It features dozens of pre-built strategies utilizing technical indicators like ATR, Moving Averages, and SuperTrend. The system manages entries and exits through a unique filtering system that monitors account metrics, volat
EA Scalper XAUUSD is an automated trading research project for MetaTrader 5 focused on gold. It employs a multifaceted entry strategy using Smart Money Concepts like order blocks and liquidity sweeps, alongside moving average crossovers and Fibonacci zones. The EA includes a self-learning module designed to adapt to di
EA31337 Libre is an open-source, multi-strategy trading robot for MetaTrader 4 and MetaTrader 5. It functions as a simplified implementation of the EA31337 framework, providing a collection of over 35 built-in strategies based on technical indicators. The expert advisor performs independent market analysis across vario
Ladino Bot is an open-source expert advisor for MetaTrader 5 that uses HiLo Activator indicators and moving average crossovers to identify trade entries. It features a triple-timeframe architecture, allowing users to align entries with higher-period trends. Risk controls include daily gain and loss caps, brokerage fee
Nyao Scalper is an automated scalping robot for MetaTrader 5 that utilizes a multi-factor weighted scoring system to identify trade opportunities. It evaluates trend alignment through EMA crossovers, momentum via RSI, and price action through wick rejection and candle body analysis. The EA manages risk with adaptive AT
Gold Trader EA is a multi-strategy expert advisor designed for trading XAUUSD on the MetaTrader 5 platform. It employs a fusion engine that combines up to 14 different technical analysis methods, including candlestick patterns, chart patterns, price action, and institutional levels. The system requires a user-defined n