Average True Range Percent (ATRP)

Category: Indicators By: Nicolas Created: November 3, 2015, 11:15 AM
November 3, 2015, 11:15 AM
Indicators
3 Comments

The Average True Range Percent is the classical ATR indicator normalized to be bounded to oscillate between 0 and 100 percent of recent price variation. As is, it average true range of an instrument can be easily compared to any other because of absolute percentage variation and not prices itselves. Look at screenshot attached for comparaison between german DAX30 an SP500 on thirty minutes timeframe.

 

//parameters
// p = 14

ATRP = (averagetruerange[p](close)/close)*100

RETURN ATRP as "Average True Range Percent"

 

Download
Filename: Average-True-Range-Percent.itf
Downloads: 209
Nicolas Master
I created ProRealCode because I believe in the power of shared knowledge. I spend my time coding new tools and helping members solve complex problems. If you are stuck on a code or need a fresh perspective on a strategy, I am always willing to help. Welcome to the community!
Author’s Profile

Comments

Logo Logo
Loading...