Chart for .NET / User's Guide / Data Manipulation / Functions / Financial Functions / Directional Movement / Positive Direction Indicator

In This Topic
    Positive Direction Indicator
    In This Topic
     Syntax
    DI_POS(close; high; low; period)
    
     Arguments
    The first three arguments are arrays:
    - 'close' - contains the closing prices
    - 'high' - contains the high prices
    - 'low' - the low prices
    The 'period' argument defines the period for the function - it must be a constant greater or equal to 1.
     Result
    The result is an array. The first 'period' elements are marked as invalid.
     Description

    The +DI function is a part of the Directional Movement System developed by J. Welles Wilder. The system consists of three lines:

    - The Positive Direction Indicator (+DI) summarizes upward trend movement;
    - The Negative Direction Indicator (-DI) summarizes downward trend movement;
    - The Average Directional Movement Index (ADX) indicates whether the market is trending or ranging. For internal calculations the DI_POS function uses the modified moving average.

     Related Examples
    Windows Forms: All Examples\Data Manipulation\Functions\Financial\Directional Movement