OPEN-SOURCE SCRIPT

2x ATR Horizontal Rays

2x ATR Horizontal Rays Indicator
This script plots horizontal rays based on the 2x ATR (Average True Range) of the previous candle. It helps traders visualize key support and resistance levels by extending lines from the last candle's price, calculated with a 2x ATR multiplier. The indicator draws two lines:

Upper ATR Line: Positioned above the previous candle’s close by 2x the ATR value.
Lower ATR Line: Positioned below the previous candle’s close by 2x the ATR value.
Key Features:
Customizable ATR Length: Allows users to input their preferred ATR period to suit different market conditions.
Dynamic Horizontal Lines: The lines update with each new candle, giving traders a clear visual of volatility levels.
Extended Right Lines: The horizontal rays extend to the right, serving as potential zones for price reversals or breakouts.
This indicator is useful for traders looking to gauge market volatility and set target levels or stops based on historical price movements.

How to Use:
Add the indicator to your chart and adjust the ATR length in the settings.
Watch how the price interacts with the upper and lower ATR lines as potential zones for support, resistance, or trend continuation.
Happy trading!
Pivot points and levels

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明