OPEN-SOURCE SCRIPT
stelaraX - Supertrend

stelaraX – Supertrend
stelaraX – Supertrend is a trend-following indicator based on the Average True Range (ATR). It dynamically adapts to market volatility and provides clear visual guidance for identifying bullish and bearish trend phases directly on the chart.
This indicator is part of the stelaraX ecosystem, focused on clean technical analysis and AI-supported chart evaluation.
stelarax.com
Core logic
The Supertrend is calculated using two user-defined parameters:
* ATR period
* volatility factor
The indicator uses ATR-based price bands to determine trend direction:
* bullish trend when price holds above the Supertrend level
* bearish trend when price holds below the Supertrend level
When price crosses the Supertrend line, the trend direction flips accordingly. The ATR factor controls the sensitivity of trend changes, with higher values producing fewer but stronger signals.
Visualization
The script plots a single Supertrend line directly on the price chart:
* green color during bullish trends
* red color during bearish trends
* broken line style to clearly show trend transitions
The minimalist design ensures that trend direction is immediately visible without cluttering the chart.
Use case
This indicator is intended for:
* identifying and following market trends
* defining dynamic trailing stop levels
* filtering trades in the direction of the dominant trend
* trend confirmation in combination with other indicators
For traders looking to combine classical trend tools with modern AI-driven chart analysis, 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 – Supertrend is a trend-following indicator based on the Average True Range (ATR). It dynamically adapts to market volatility and provides clear visual guidance for identifying bullish and bearish trend phases directly on the chart.
This indicator is part of the stelaraX ecosystem, focused on clean technical analysis and AI-supported chart evaluation.
stelarax.com
Core logic
The Supertrend is calculated using two user-defined parameters:
* ATR period
* volatility factor
The indicator uses ATR-based price bands to determine trend direction:
* bullish trend when price holds above the Supertrend level
* bearish trend when price holds below the Supertrend level
When price crosses the Supertrend line, the trend direction flips accordingly. The ATR factor controls the sensitivity of trend changes, with higher values producing fewer but stronger signals.
Visualization
The script plots a single Supertrend line directly on the price chart:
* green color during bullish trends
* red color during bearish trends
* broken line style to clearly show trend transitions
The minimalist design ensures that trend direction is immediately visible without cluttering the chart.
Use case
This indicator is intended for:
* identifying and following market trends
* defining dynamic trailing stop levels
* filtering trades in the direction of the dominant trend
* trend confirmation in combination with other indicators
For traders looking to combine classical trend tools with modern AI-driven chart analysis, 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.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。