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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.