DC Breakout Strategy | Simplicity at its finest
Nov 15, 2021

The DC Breakout Strategy tool provides a systematic approach to trend-following by combining Donchian Channels with Moving Average filters to identify high-probability breakout entries.
Usage
The strategy is designed to capture significant market moves by entering positions when the price breaks out of a defined range while being supported by a trend filter.
- Long Entries: Occur when the price closes above the Upper Donchian Channel and the Fast MA is above the Slow MA.
- Short Entries: Occur when the price closes below the Lower Donchian Channel and the Fast MA is below the Slow MA.
- Exits: Positions are closed when a Moving Average crossover occurs in the opposite direction of the trade (e.g., a bearish cross for long positions).
The tool also includes an ATR-based position sizing module to help manage risk per trade based on market volatility.
Details
The strategy utilizes two primary technical components:
- Donchian Channels: These channels identify the highest high and lowest low over a specific period. A breakout above the upper channel often signifies the start of a bullish trend, while a break below the lower channel suggests bearish momentum.
- Moving Average Filter: By requiring the 8-day (Fast) MA to be above the 32-day (Slow) MA for longs, the strategy ensures that it only enters trades aligned with the medium-term trend, reducing the likelihood of being caught in whipsaws during consolidation.
Settings
Backtest Window
- Backtest Start Date: Sets the beginning date for the strategy simulation.
- Backtest End Date: Sets the ending date for the strategy simulation.
Moving Average Inputs
- Length Fast MA: The period used for the short-term Moving Average.
- Length Slow MA: The period used for the long-term Moving Average.
- Source Fast/Slow MA: The price data point (e.g., Close) used for MA calculations.
- Color Fast/Slow MA: Visual customization for the trend lines.
Donchian Channels Inputs
- Length Upper Channel: The lookback period for determining the upper breakout level.
- Length Lower Channel: The lookback period for determining the lower breakout level.
- Fill Color / Channel Colors: Visual settings for the channel background and boundaries.
ATR Position Size Inputs
- Leverage Used: Determines the leverage multiplier applied to the position.
- Point Value/ATR Multipliers from Entry: A multiplier used to calculate the risk distance relative to ATR.
- ATR Period: The lookback period for the Average True Range calculation.
- Risk Per Trade: The percentage of initial capital to risk on a single trade.
FAQ
How do I access the DC Breakout Strategy?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Can I change the trend filtering sensitivity?
Yes, by adjusting the Fast and Slow MA lengths in the settings, you can make the strategy more responsive or more conservative regarding trend changes.
Does this strategy work on all timeframes?
While the default settings are optimized for daily charts (8 and 32 day MAs), the logic can be applied to any timeframe by adjusting the input lengths to suit the specific asset's volatility.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.