Chart for .NET / User's Guide / Data Manipulation / Functions / Financial Functions / Technical Indicators / Average True Range

In This Topic
    Average True Range
    In This Topic
     Syntax

    The Average True Range is implemented as a composite function. It is calculated as a Moving Average of the True Range function. The expression depends on the type of moving average that you prefer to use - for example the following expression calculates ATR using a Simple Moving Average:

    SMA( TR(close; high; low); period )

     Arguments
    The result of the TR (True Range) function is used as the first argument of the Moving Average. The arguments of the TR are described in the "True Range" topic.
     Result
    The result is an array.
     Description

    Average True Range is an indicator from J. Welles Wilder that measures commitment by comparing the range for each successive day. The True Range indicator is the greatest of the following:

    - High for the day minus Low for the day.
    - The absolute value of: High for the day minus Close for the previous day.
    - The absolute value of: Low for the day minus Close for the previous day.

    The Average True Range is a moving average (typically 14-days) of the True Range.

     Related Examples
    Windows Forms: All Examples\Data Manipulation\Functions\Financial\Technical Price Indicators