this is very close
but not quite, even rounding the value off or just the integer value dont match the calculation given by esignal, its close but not quite, so i was wondering, how does esignal calculate the atr?
PHP Code:
var Temp = 0;
var i=0;
for (i=-100;i<=0;i++) Temp = Temp + (high(i) - low(i))
return String(Temp / 100)
Comment