OPEN-SOURCE SCRIPT
stelaraX - Donchian Breakout

stelaraX – Donchian Breakout
stelaraX – Donchian Breakout is a breakout-focused indicator based on the Donchian Channel concept. It identifies bullish and bearish breakouts when price closes outside the previous high–low range, providing clear and rule-based breakout signals.
For advanced AI-based chart analysis and automated breakout evaluation, visit stelarax.com
Core logic
The indicator calculates a Donchian Channel using a user-defined lookback period:
* upper band is the highest high of the previous period
* lower band is the lowest low of the previous period
* middle line represents the midpoint of the channel
Breakout conditions are defined as:
* bullish breakout when price closes above the upper band
* bearish breakout when price closes below the lower band
Using the previous period values avoids repainting and ensures confirmed breakout signals.
Visualization
The script plots:
* upper and lower Donchian Channel boundaries
* a midpoint line for range context
* a filled channel area to visualize the active range
Breakout signals are marked directly on the chart:
* upward triangle for bullish breakouts
* downward triangle for bearish breakouts
All colors are fully customizable.
Alerts
Alert conditions are included for:
* bullish Donchian breakout
* bearish Donchian breakout
Alerts reference the active ticker and trigger only on confirmed breakout conditions.
Use case
This indicator is intended for:
* breakout and trend-following strategies
* identifying range expansions
* systematic Donchian channel trading
* momentum-based entry signals
* multi-timeframe breakout analysis
For a fully automated AI-driven chart analysis solution, additional tools and insights are available at stelarax.com
Disclaimer
This indicator is provided for educational and technical analysis purposes only and does not constitute financial advice or trading recommendations. All trading decisions and risk management remain the responsibility of the user.
stelaraX – Donchian Breakout is a breakout-focused indicator based on the Donchian Channel concept. It identifies bullish and bearish breakouts when price closes outside the previous high–low range, providing clear and rule-based breakout signals.
For advanced AI-based chart analysis and automated breakout evaluation, visit stelarax.com
Core logic
The indicator calculates a Donchian Channel using a user-defined lookback period:
* upper band is the highest high of the previous period
* lower band is the lowest low of the previous period
* middle line represents the midpoint of the channel
Breakout conditions are defined as:
* bullish breakout when price closes above the upper band
* bearish breakout when price closes below the lower band
Using the previous period values avoids repainting and ensures confirmed breakout signals.
Visualization
The script plots:
* upper and lower Donchian Channel boundaries
* a midpoint line for range context
* a filled channel area to visualize the active range
Breakout signals are marked directly on the chart:
* upward triangle for bullish breakouts
* downward triangle for bearish breakouts
All colors are fully customizable.
Alerts
Alert conditions are included for:
* bullish Donchian breakout
* bearish Donchian breakout
Alerts reference the active ticker and trigger only on confirmed breakout conditions.
Use case
This indicator is intended for:
* breakout and trend-following strategies
* identifying range expansions
* systematic Donchian channel trading
* momentum-based entry signals
* multi-timeframe breakout analysis
For a fully automated AI-driven chart analysis solution, additional tools and insights are available at stelarax.com
Disclaimer
This indicator is provided for educational and technical analysis purposes only and does not constitute financial advice or trading recommendations. All trading decisions and risk management remain the responsibility of the user.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.