millerrh

Average True Range Percentage (ATRP)

millerrh 업데이트됨   
ATR measures volatility, but you can't compare one instrument vs. another with it because the ATR value will be different depending on the price of the instrument. I went searching for something like ATR but with percentages, so you could compare one stock vs. another to find who is more volatile and found this.

It was exactly what I was looking for, so decided to re-create it in TradingView. Enjoy!

Description
Average True Range Percent (ATRP) expresses the Average True Range (ATR) indicator as a percentage of a bar’s closing price.

How this indicator works
  • ATRP is used to measure volatility just as the Average True Range (ATR) indicator is. ATRP allows securities to be compared, where ATR does not.
  • ATR measures volatility at an absolute level, meaning lower priced stock will have lower ATR values than higher price stocks. ATRP displays the indicator as a percentage, to allow for securities trading at different prices per share to be compared.

Calculation
ATRP = (Average True Range / Close) * 100
릴리즈 노트:
Added a moving average to this script to remove some of the noise you get with the normal ATRP display. This should make it easier to compare the average volatility of a stock relative to other stocks easier.
릴리즈 노트:
Added the ability to change the timeframe that this indicator looks at. The way I plan on using this is to have my chart set to intraday time frames but have a visual on what the daily Average True Range Percentage is. This will give a better visual for comparing stocks relative to one another on how volatile they are over a daily range instead of how volatile they are just on the intraday time frame.

오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

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