Expert Advisor that combines three proven breakout trading systems into a single tool. The trader selects the active strategy from the input menu when attaching the EA to a chart. All three strategies share the same core architecture: balance based risk management, ATR derived position sizing, a single position at a time, no pyramiding, and automatic re-attachment to existing positions after a restart or reload.
Trading strategies
Donchian Channel — automates trading based on the Donchian Channel breakout methodology as described by Tom Basso. Entry occurs when the ask price crosses above the upper Donchian band by at least 1 pip (buy) or the bid price crosses below the lower Donchian band by at least 1 pip (sell). The opposite band acts as both the initial stop loss and the trailing stop. On a long trade the lower band is the stop; on a short trade the upper band is the stop. The trail updates once per bar at bar close and moves only in the trader's favour. It never reverses. The trade closes when price touches the trail stop level. No take profit is used.
Dual Channel — automates trading based on a combined Donchian Channel and Keltner Channel breakout methodology, inspired by Tom Basso's approach to trend following. Both indicators share the same period, creating a unified dual band engine. A buy signal triggers when the ask price crosses above the first upper band reached, meaning whichever of the two upper bands is lower at that moment. A sell signal triggers when the bid price crosses below the first lower band reached, meaning whichever of the two lower bands is higher at that moment. A minimum of 1 pip beyond the band is required to trigger entry. On a long trade the initial stop is placed at the higher of the two lower bands, the tightest structurally valid stop. On a short trade the stop is placed at the lower of the two upper bands. After entry the trail stop always follows the most favourable band level at each bar close. For long trades this is the highest lower band across both channels; for short trades it is the lowest upper band. The trail moves only in the trader's favour and never reverses. The trade closes when price touches the current trail stop level. No take profit is used.
Keltner Channels — automates trading based on the Keltner Channels breakout methodology and offers two sub-modes selectable from the input menu.
In Closed Candles Mode, entry signals are generated by bar closes relative to the channel bands: a buy signal when the previous bar closes above the upper band, a sell signal when it closes below the lower band. Exit is configurable via the Exit Mode parameter and can be set to opposite band cross, mid-line (EMA) cross, or return inside the channel. Every trade uses an ATR based stop loss placed at entry price plus or minus a configurable ATR multiple. When attached to a chart the EA analyses the last 500 bars to identify whether a virtual trade would currently be open and if so it waits for a fresh breakout signal before entering.
In Tom Basso Mode, the EA uses live price action relative to the Keltner Channel bands. A buy signal triggers when the ask price crosses above the upper band; a sell signal when the bid price crosses below the lower band. The trail stop follows the band in the trader's favor, updating once per bar using the last closed bar's band levels for stability. Exit occurs when price touches the trail stop. No take profit is used.
Input parameters
Active Strategy — selects which of the three trading strategies the EA will use on the current chart.
Shared parameters applying to all strategies: BaseMagicNumber (base 30000), MaxAllowedLot (default 5.0), EnableCriticalLogging (default false).
Donchian Channel parameters: DC Period (default 21) — period for the Donchian Channel and ATR. DC Risk Percent (default 1.0) — percentage of account balance risked per trade.
Dual Channel parameters: DK Period (default 21) — shared period for the Donchian Channel, Keltner EMA, and ATR. DK KC ATR Mult (default 2.0) — ATR multiplier for the Keltner Channel band width. DK Risk Percent (default 1.0) — percentage of account balance risked per trade.
Keltner Channels parameters: KC Trading Mode (default Tom Basso Mode) — selects between Closed Candles Mode and Tom Basso Mode. KC MA Period (default 20) — period of the central moving average. KC MA Type (default EMA) — type of moving average. KC ATR Period (default 20) — ATR period used in Closed Candles Mode. KC ATR Multiplier (default 2.0) — multiplier for channel width. KC Risk Percent (default 1.0) — percentage of account balance risked per trade. KC SL ATR Mult (default 3.0) — ATR multiple for stop loss distance in Closed Candles Mode. KC Exit Mode (default mid-line cross) — exit condition in Closed Candles Mode: opposite band, mid-line cross, or return inside channel.
Tom Basso Mode treats any live price breach beyond a Keltner band as a breakout signal, no waiting for a candle to close. A buy is triggered the moment ask crosses above the upper band; a sell when bid crosses below the lower band. The stop loss is placed at the opposite band and acts as a trailing stop, updating at each new bar open and moving only in the trader's favor. It never retraces even if volatility expands. The trade closes only when price hits the trailing stop, at which point a reversal in the opposite direction is evaluated on the next price movement.
Inputs labelled [Closed Candles Mode only] (ATR Period, SL ATR Multiple and Exit Mode) apply exclusively to Closed Candles Mode and are ignored when Tom Basso Mode is active.
Important notes
The EA is designed to be attached to multiple charts and symbols simultaneously, including forex pairs, XAUUSD, crypto, commodities, and indices. Each instance uses a unique MagicNumber automatically derived from the symbol name so that multiple instances never interfere with one another. Different strategies can be selected on different charts and will operate independently. Risk management is balance based and recalculated before every trade. No martingale, grid, or other high risk methods are used. The EA does not draw any objects on the chart and does not generate alerts. It is designed purely for automatic trading. Before using on a live account, test thoroughly in the Strategy Tester and on a demo account. Trading involves risk of loss. Past performance is not indicative of future results.
Rules. Not emotions. That's how the Turtles traded and how my EA's work.
Automated systems for MT5:
https://daniel-muresan-trading.netlify.app/
QuoteDislikedNo Martingale. No Grid. Built by a trader with 8 years of experience, not just a programmer. This EA follows Tom Basso’s methodologies and you must trade multiple markets(preferably over 20) on daily timeframe.
Discounted price. The price is temporarily set to $30 to build initial trust. Once we reach 20 sales, the price will increase by $30 every 10 purchases. Final price $300. Get it now while it's cheap!
Donchian Channel — automates trading based on the Donchian Channel breakout methodology as described by Tom Basso. Entry occurs when the ask price crosses above the upper Donchian band by at least 1 pip (buy) or the bid price crosses below the lower Donchian band by at least 1 pip (sell). The opposite band acts as both the initial stop loss and the trailing stop. On a long trade the lower band is the stop; on a short trade the upper band is the stop. The trail updates once per bar at bar close and moves only in the trader's favour. It never reverses. The trade closes when price touches the trail stop level. No take profit is used.
Dual Channel — automates trading based on a combined Donchian Channel and Keltner Channel breakout methodology, inspired by Tom Basso's approach to trend following. Both indicators share the same period, creating a unified dual band engine. A buy signal triggers when the ask price crosses above the first upper band reached, meaning whichever of the two upper bands is lower at that moment. A sell signal triggers when the bid price crosses below the first lower band reached, meaning whichever of the two lower bands is higher at that moment. A minimum of 1 pip beyond the band is required to trigger entry. On a long trade the initial stop is placed at the higher of the two lower bands, the tightest structurally valid stop. On a short trade the stop is placed at the lower of the two upper bands. After entry the trail stop always follows the most favourable band level at each bar close. For long trades this is the highest lower band across both channels; for short trades it is the lowest upper band. The trail moves only in the trader's favour and never reverses. The trade closes when price touches the current trail stop level. No take profit is used.
Keltner Channels — automates trading based on the Keltner Channels breakout methodology and offers two sub-modes selectable from the input menu.
In Closed Candles Mode, entry signals are generated by bar closes relative to the channel bands: a buy signal when the previous bar closes above the upper band, a sell signal when it closes below the lower band. Exit is configurable via the Exit Mode parameter and can be set to opposite band cross, mid-line (EMA) cross, or return inside the channel. Every trade uses an ATR based stop loss placed at entry price plus or minus a configurable ATR multiple. When attached to a chart the EA analyses the last 500 bars to identify whether a virtual trade would currently be open and if so it waits for a fresh breakout signal before entering.
In Tom Basso Mode, the EA uses live price action relative to the Keltner Channel bands. A buy signal triggers when the ask price crosses above the upper band; a sell signal when the bid price crosses below the lower band. The trail stop follows the band in the trader's favor, updating once per bar using the last closed bar's band levels for stability. Exit occurs when price touches the trail stop. No take profit is used.
Input parameters
Active Strategy — selects which of the three trading strategies the EA will use on the current chart.
Shared parameters applying to all strategies: BaseMagicNumber (base 30000), MaxAllowedLot (default 5.0), EnableCriticalLogging (default false).
Donchian Channel parameters: DC Period (default 21) — period for the Donchian Channel and ATR. DC Risk Percent (default 1.0) — percentage of account balance risked per trade.
Dual Channel parameters: DK Period (default 21) — shared period for the Donchian Channel, Keltner EMA, and ATR. DK KC ATR Mult (default 2.0) — ATR multiplier for the Keltner Channel band width. DK Risk Percent (default 1.0) — percentage of account balance risked per trade.
Keltner Channels parameters: KC Trading Mode (default Tom Basso Mode) — selects between Closed Candles Mode and Tom Basso Mode. KC MA Period (default 20) — period of the central moving average. KC MA Type (default EMA) — type of moving average. KC ATR Period (default 20) — ATR period used in Closed Candles Mode. KC ATR Multiplier (default 2.0) — multiplier for channel width. KC Risk Percent (default 1.0) — percentage of account balance risked per trade. KC SL ATR Mult (default 3.0) — ATR multiple for stop loss distance in Closed Candles Mode. KC Exit Mode (default mid-line cross) — exit condition in Closed Candles Mode: opposite band, mid-line cross, or return inside channel.
Tom Basso Mode treats any live price breach beyond a Keltner band as a breakout signal, no waiting for a candle to close. A buy is triggered the moment ask crosses above the upper band; a sell when bid crosses below the lower band. The stop loss is placed at the opposite band and acts as a trailing stop, updating at each new bar open and moving only in the trader's favor. It never retraces even if volatility expands. The trade closes only when price hits the trailing stop, at which point a reversal in the opposite direction is evaluated on the next price movement.
Inputs labelled [Closed Candles Mode only] (ATR Period, SL ATR Multiple and Exit Mode) apply exclusively to Closed Candles Mode and are ignored when Tom Basso Mode is active.
Important notes
The EA is designed to be attached to multiple charts and symbols simultaneously, including forex pairs, XAUUSD, crypto, commodities, and indices. Each instance uses a unique MagicNumber automatically derived from the symbol name so that multiple instances never interfere with one another. Different strategies can be selected on different charts and will operate independently. Risk management is balance based and recalculated before every trade. No martingale, grid, or other high risk methods are used. The EA does not draw any objects on the chart and does not generate alerts. It is designed purely for automatic trading. Before using on a live account, test thoroughly in the Strategy Tester and on a demo account. Trading involves risk of loss. Past performance is not indicative of future results.
Rules. Not emotions. That's how the Turtles traded and how my EA's work.
https://daniel-muresan-trading.netlify.app/