OPEN-SOURCE SCRIPT
stelaraX - ATR

stelaraX – ATR
stelaraX – ATR is a volatility indicator based on the Average True Range (ATR). It measures the average price movement over a defined period and provides a clear view of current market volatility independent of price direction.
For advanced AI-based chart analysis and automated volatility evaluation, visit stelarax.com
Core logic
The indicator calculates the Average True Range using a user-defined period.
ATR is derived from the true range, which considers:
* current high minus current low
* absolute difference between current high and previous close
* absolute difference between current low and previous close
The ATR value reflects the average volatility over the selected lookback window.
Visualization
The script plots a single ATR line in a separate indicator pane:
* smooth volatility line
* configurable period length
* customizable line color
* clean and minimal visual design
The indicator does not generate signals and is intended purely for volatility assessment.
Use case
This indicator is intended for:
* measuring market volatility
* defining dynamic stop loss and take profit distances
* position sizing and risk management
* identifying volatility expansion or contraction
* filtering trades based on market conditions
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 – ATR is a volatility indicator based on the Average True Range (ATR). It measures the average price movement over a defined period and provides a clear view of current market volatility independent of price direction.
For advanced AI-based chart analysis and automated volatility evaluation, visit stelarax.com
Core logic
The indicator calculates the Average True Range using a user-defined period.
ATR is derived from the true range, which considers:
* current high minus current low
* absolute difference between current high and previous close
* absolute difference between current low and previous close
The ATR value reflects the average volatility over the selected lookback window.
Visualization
The script plots a single ATR line in a separate indicator pane:
* smooth volatility line
* configurable period length
* customizable line color
* clean and minimal visual design
The indicator does not generate signals and is intended purely for volatility assessment.
Use case
This indicator is intended for:
* measuring market volatility
* defining dynamic stop loss and take profit distances
* position sizing and risk management
* identifying volatility expansion or contraction
* filtering trades based on market conditions
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.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.