Hello,

I'm getting inaccurate ATR readings, sometimes off by 2x, I followed the example on this post.

Can someone please take a look at the attached code.

Thanks