OPEN-SOURCE SCRIPT

WAHIDAL ATR

This TradingView script calculates the Average True Range (ATR) and uses it to determine a stop percentage based on a user-defined multiplier. The ATR is a popular volatility indicator that measures the degree of price movement over a given period, providing insight into market volatility.

Key Features:
ATR Calculation:
The script calculates the Average True Range over a specified period (default is 14 days).
It calculates the ATR as a percentage of the opening price, offering a normalized measure of volatility.

Stop Percentage:
The script then multiplies the ATR percentage by a user-defined multiplier to compute a stop percentage. This is useful for setting dynamic stop-loss levels based on market volatility.

Customizable Inputs:
Users can customize the ATR period length and the multiplier to tailor the indicator to their specific trading strategy.

Visual Outputs:
The ATR percentage is plotted in orange, while the stop percentage is plotted in red, providing a clear visual representation of both metrics on the chart.

This indicator is useful for traders looking to assess market volatility and establish stop-loss levels that adapt to changing market conditions.
Average True Range (ATR)

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?

면책사항