The Directional Movement Index (DMI) provides, on a scale of 0 to 100, an indication of how much movement is present in an instrument – that is, whether the instrument is trending or not.
Parameters:
Period — A range of the users market cycle
Example with defaults: DMI (SP@1, 14)