Donchian Channels EA for MT5 https://www.mql5.com/en/market/product/170388 – Trustworthy Implementation of Tom Basso’s Pattern Following Breakout System
This Professional Advisor is a clear, totally automated buying and selling robotic that brings to life the basic Donchian Channel breakout methodology precisely as described by legendary Market Wizard Tom Basso in his webinar recording “Pattern Following Purchase/Promote Engines”.
The technique is pure development following at its core: it waits for a powerful value breakout from the Donchian Channel after which rides the development so long as it continues, utilizing the alternative channel band as a dynamic trailing cease. No fancy indicators, no repainting, no over optimization, simply easy, strong value motion primarily based on closed bars.

How the Buying and selling Logic Works
- Entry Guidelines (confirmed on dwell value motion):
- Purchase (Lengthy): Ask value crosses above the higher Donchian Channel band by not less than 1 pip.
- Promote (Quick): Bid value crosses beneath the decrease Donchian Channel band by not less than 1 pip.
- Cease Loss & Trailing Cease:
- On a protracted commerce, the decrease Donchian band acts as each the preliminary cease loss and the trailing cease.
- On a brief commerce, the higher Donchian band serves the identical goal.
- The trailing cease updates solely as soon as per bar at bar shut and strikes solely within the dealer’s favor. It by no means strikes towards the place.
- Exit: The commerce is closed routinely when value touches the trailing cease degree. There is no such thing as a take revenue goal, permitting winners to run so far as the development carries them.
The EA strictly permits just one place at a time and doesn’t use pyramiding, martingale, grid, or some other excessive danger strategies.
Threat Administration Constructed-In
Place sizing is totally dynamic and conservative:
- Lot measurement is calculated earlier than each commerce to danger precisely the chosen RiskPercent (default 1.0%) of the present account stability.
- The calculation makes use of the true cease distance (distinction between entry value and the alternative Donchian band).
- A MaxAllowedLot parameter (default 5.0 however editable) provides an additional security cap.
- Threat is recalculated on each new commerce, making the EA appropriate for rising or fluctuating account sizes.
Sensible Benefits
- Multi-Image and Multi-Chart Prepared: You possibly can connect the EA to as many charts and devices as you need (Foreign exchange pairs, XAUUSD/Gold, commodities, indices, cryptocurrencies, and so forth.). Every image routinely receives its personal distinctive Magic Quantity (derived from BaseMagicNumber + image hash) so situations by no means intervene with one another.
- Seamless Restoration: For those who restart MetaTrader, reload the EA, or change timeframes, it immediately detects any present open place opened by this EA and continues managing the trailing cease with out interruption.
- Light-weight and Clear: The EA doesn’t draw any objects on the chart and doesn’t generate alerts or sounds. It’s designed purely for severe automated buying and selling.
- Interval: Default 21 (the identical interval utilized in Tom Basso’s “Pattern Following Purchase/Promote Engines” webinar), however totally adjustable by way of the DC_Period enter.
Further parameters embody EnableCriticalLogging (for detailed commerce and path cease data within the Consultants tab) and full management over danger and lot limits.
Who Is This EA For?
Merchants who admire easy, time examined development following programs and desire a dependable, palms off implementation of the Donchian breakout methodology taught by one of many greats within the trade. It’s particularly appropriate for individuals who prefer to “let winners run” and settle for that not each breakout will grow to be an enormous development (typical of pure development following programs).
Essential Disclaimer
As with all buying and selling system, previous efficiency is just not indicative of future outcomes. The markets contain substantial danger of loss. Please take a look at the EA totally within the MetaTrader 5 Technique Tester, optimize the parameters to your most popular symbols and timeframes, and run it on a demo account for a ample interval earlier than contemplating dwell buying and selling.
