Balanced ATR

Category: Indicators By: gabri Created: October 16, 2017, 8:21 AM
October 16, 2017, 8:21 AM
Indicators
0 Comments

ATR (Average True Range) was introduced first by Welles Wilder in his book “New concepts in technical trading”. The version you find in every trading software doesn’t take in consideration that ATR was built originally to deal only with commodities. This means that if we have stock A and stock B with the same ATR, but respectively a close price of 200 Euros and 30 Euros, they are considered to be equal in terms of ATR but in reality they are very different in terms of ability to perform well in the market and in terms of volatility.

This code should help to adapt Wilder’s ATR to the stock world.

Blue skies!!

//period=14
//MM=3


a=range/close[1]
b=abs(high-close[1])/close[1]
c=abs(low-close[1])/close[1]

trbalanced=100*max(a,max(b,c))

atrbalanced=average[period,mm](trbalanced)

return atrbalanced as "Balanced ATR"

Download
Filename: PRT-Balanced-ATR.itf
Downloads: 66
gabri Master
Currently debugging life, so my bio is on hold. Check back after the next commit for an update.
Author’s Profile

Comments

Logo Logo
Loading...