Skip to content

DIMinus Property

Summary

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

Signature

1
public abstract IndicatorDataSeries DIMinus {get;}

Return Value

IndicatorDataSeries

Declaring Type

cAlgo.API.Indicators.DirectionalMovementSystem

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
 //...
 [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);
 }
 //...

Last update: July 1, 2022

Comments