DIMinus


Summary

The Negative Direction Indicator (-DI) indicates downward trend movement;

Syntax

public IndicatorDataSeries DIMinus{ get; }

Example 1

//...
[Robot]
public class SampleRobot : Robot
//...
private DirectionalMovementSystem _dms;
protected override void Initialize()
{
    _dms = Indicators.DirectionalMovementSystem(Period);
}
//...
protected override void OnBar()
{
    Print("The Current Negative Direction Indicator (-DI) is: {0}", _dms.DIMinus.LastValue);
}
//...