Skip to content

Result Property

Summary

The time series of the Negative Volume Index indicator.

Signature

1
public abstract IndicatorDataSeries Result {get; set;}

Return Value

IndicatorDataSeries

Declaring Type

cAlgo.API.Indicators.NegativeVolumeIndex

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
 private NegativeVolumeIndex _negativeVolume;
 [Parameter]
 public DataSeries Source { get; set; }
 protected override void OnStart()
 {
     _negativeVolume = Indicators.NegativeVolumeIndex(Source);
 }
 protected override void OnBar()
 {
     var currentValue = _negativeVolume.Result.LastValue;
     //...
 }

Last update: July 1, 2022

Comments