All indicators

Donchain Breakout

Jan 18, 2020

Static chart image
SignalsChannelsTrailing-Stop

The Donchain Breakout indicator is a long-only trend-following strategy designed to capture bullish momentum when the price breaches the upper boundary of a Donchian Channel.

Usage

This tool is used to identify entry points during breakouts and provides structured exit logic to manage trend reversals. The system is particularly effective on higher timeframes, such as weekly and daily charts, for indices like Nifty and BankNifty.

  • Entry: A long position is initiated when the closing price crosses over the previous upper band.
  • Exits: Users can choose between two distinct exit mechanisms based on their risk tolerance:
    • Option 1: Closes the position when the price crosses under the lower band (typically used for wider trend trailing).
    • Option 2: Closes the position when the price crosses under the basis (midline), allowing for more conservative profit-taking or tighter risk management.

Details

The script utilizes the Donchian Channel calculation, which determines the highest high and lowest low over a user-defined lookback period.

  • Upper Band: The highest price over the specified length.
  • Lower Band: The lowest price over the specified length.
  • Basis: The average of the upper and lower bands.

The strategy focuses exclusively on long setups, assuming that significant breakouts above a multi-period high represent the start of a sustained uptrend.

Settings

  • Length: The lookback period used to calculate the highest highs and lowest lows for the channel bands.
  • Exit Option: Determines the logic used to close a long position. Selecting '1' uses the lower band as the exit trigger, while '2' uses the basis line.

FAQ

How do I use the Donchain Breakout strategy?

Apply the indicator to your chart and wait for a price breakout above the green upper band to signal a long entry. Use the settings menu to toggle between exit options depending on how tightly you wish to trail your stop.

What timeframes work best for this indicator?

While applicable to various assets, this breakout system is optimized for higher timeframes like Daily and Weekly charts to filter out market noise.

How can I access Donchain Breakout?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.