Name

CalcATR — Average true range

Synopsis

CalcATR (period = 14);

Returns

ARRAY

Parameters

Name Type Default Description
period number 14

Description

This function is inspired by AmiBroker function: www.amibroker.com/guide/afl/atr.html

Average true range