Calculate

Path: EdgDataTypes

Caculate function returns indicator value.

 public double Caculate(int IndicatorIndex, int BufferIndex, int BarIndex = 0);

Parameters

IndicatorIndex int

IndicatorIndex is index of indicator in RegisterIndicatorsCollection.

BufferIndex int

Indicator buffer index.

BarIndex int

Index of bar whose value is required.

Example

 var val = Caculate(0, 0, 0);