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, absolutely 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 robust worth 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 worth motion based mostly on closed bars.

How the Buying and selling Logic Works
- Entry Guidelines (confirmed on reside worth motion):
- Purchase (Lengthy): Ask worth crosses above the higher Donchian Channel band by at the least 1 pip.
- Promote (Brief): Bid worth crosses beneath the decrease Donchian Channel band by at the least 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 objective.
- The trailing cease updates solely as soon as per bar at bar shut and strikes completely within the dealer’s favor. It by no means strikes in opposition to the place.
- Exit: The commerce is closed routinely when worth 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 another excessive threat methods.
Danger Administration Constructed-In
Place sizing is absolutely dynamic and conservative:
- Lot dimension is calculated earlier than each commerce to threat precisely the chosen RiskPercent (default 1.0%) of the present account stability.
- The calculation makes use of the true cease distance (distinction between entry worth and the alternative Donchian band).
- A MaxAllowedLot parameter (default 5.0 however editable) provides an additional security cap.
- Danger 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 may connect the EA to as many charts and devices as you need (Foreign exchange pairs, XAUUSD/Gold, commodities, indices, cryptocurrencies, and so on.). Every image routinely receives its personal distinctive Magic Quantity (derived from BaseMagicNumber + image hash) so situations by no means intrude with one another.
- Seamless Restoration: When you restart MetaTrader, reload the EA, or swap timeframes, it immediately detects any current 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 absolutely adjustable by way of the DC_Period enter.
Extra parameters embrace EnableCriticalLogging (for detailed commerce and path cease data within the Consultants tab) and full management over threat and lot limits.
Who Is This EA For?
Merchants who respect easy, time examined development following programs and need a dependable, palms off implementation of the Donchian breakout methodology taught by one of many greats within the business. It’s particularly appropriate for many who prefer to “let winners run” and settle for that not each breakout will turn out to be an enormous development (typical of pure development following programs).
Vital Disclaimer
As with every buying and selling system, previous efficiency is just not indicative of future outcomes. The markets contain substantial threat of loss. Please check the EA completely 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 adequate interval earlier than contemplating reside buying and selling.