Cqg.DDiffMA (DDiffMA)

This custom study displays the difference of the DMIUp and DMIDn curves and its moving average. DMI is the Directional Movement Index. It is available on the Add Studies window, on the Custom Studies window (Formula Builder), and in the Toolbox.

Formula of curves:

Difference of DMIUp and DMIDn: DIFF(@,DDif,Period)

MA of difference of DMIUp and DMIDn: MA(DIFF(@,DDif,Period),Exp,MA.Period)

Setup parameters:

      Display

      OB/OS

      DDif Period and MA Period: The period used for the calculations of difference of the DMIUp and DMIDn and its moving average.