Disparity Index

# Disparity Index

The Disparity Index indicator measures the relative position of the most recent closing price to a selected moving average and reports the value as a percentage. A value greater than zero suggests that the asset is gaining upward momentum, while a value less than zero can be interpreted as a sign that selling pressure is increasing.

## Configuration Options

• Field: Price or combination of prices to use as the base for average calculations. Possible values include:
• Open
• High
• Low
• Close
• HL/2 $$\left ( \frac{High + Low}{2} \right )$$
• HLC/3 $$\left ( \frac{High + Low + Close}{3} \right )$$
• HLCC/4 $$\left ( \frac{High + Low + Close + Close}{4} \right )$$
• OHLC/4 $$\left ( \frac{Open + High + Low + Close}{4} \right )$$
• Period: Number of bars to use in the calculations.
• Moving Average Type: Type of moving average to use in the calculations:
• Simple
• Exponential
• Time Series
• Triangular
• Variable
• VIDYA
• Weighted
• Welles Winder
• Hull
• Double Exponential
• Triple Exponential
• Color Selectors: Colors to use for graph elements.
• Display Axis Label: Whether to display the most recent value on the Y axis.

## Formula

$DI = \frac{C-Mov(C,X,MA)}{Mov(C,X,MA) \times 100}$