DIPlus


Summary

The Positive Direction Indicator (+DI) indicates upward trend movement;

Syntax

public IndicatorDataSeries DIPlus{ 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 Positive Direction Indicator (+DI) is: {0}", _dms.DIPlus.LastValue);
}
//...
Reference