Amibroker AFL Average True Range ATR Calculation

In this post i share with you a function that calculate the ATR (Average True Range) of a price time series how it is calculated by the native build-in afl ATR function of Amibroker.

I post also an excel spreadsheet with the same calculation on some sample data, just to clarify the steps and verify the coincidence of the results between the output of the native function and the proposed calculation. The example in the spreadsheet is about an ATR of 14 periods.

If you find useful this post, please leave a comment, thank you.

Comments

Popular Posts