The robot identifies entries based on price breaking through the highest high or lowest low of a defined lookback period. Risk management is handled through percentage-based stop losses, take profits, and trailing stops. It also offers an optional exit strategy using the Parabolic SAR indicator. Lot sizing can be configured as a fixed amount or scaled according to the account balance. The provided README is minimal and focuses on installation rather than strategy details.
Read from donchian.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
fixedLots
double
0.0
accountBalancePerLot
double
2000.0
trailingStopPercent
double
0.2
initialStopPercent
double
0.6
profitLockIn
bool
true
useSARForExit
bool
false
sarStep
double
0.02
sarMax
double
0.2
takeProfitPercent
double
5.0
period
int
250
loglevel
int
0
myMagic
int
20201229
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone algotrader-germany/samples from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts or MQL5/Experts.
3Copy the filesCopy the .mq4 / .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 features a diverse collection of expert advisors and trading utilities for MetaTrader 4 and MetaTrader 5. It includes automated robots based on trendline analysis, session breakouts, and technical indicator crossovers using MACD, RSI, and Williams Percent Range. The library provides various tools for ri
This collection for MetaTrader 5 provides a library and several expert advisors optimized for Renko chart trading. It includes a primary automated robot that executes trades based on Renko bar signals, as well as specific examples for moving average and price crossovers. The included tools offer robust trade management
This repository contains a large collection of over 100 expert advisors for the MetaTrader 5 platform, many of which appear to be generated using the Mission Automate tool. The library covers a wide variety of trading methodologies including range breakouts, Ichimoku cloud strategies, Heiken Ashi engulfing patterns, an
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 contains a collection of MetaTrader 4 expert advisors, including the Ariel Turtle Bot and several named variants like Elisa, Cary, and Faith. The primary logic utilizes Donchian Channel breakouts combined with Simple Moving Average filters to identify trend-following entries. The software includes compr
This repository contains a collection of MetaTrader 4 expert advisors and utilities primarily focused on breakout and trend-following strategies. The featured EA, ttnFullTurtle, implements the classic Turtle Trading rules using dual breakout systems, ATR-based position sizing, and pyramiding logic. It includes risk con