PositiveVolumeIndex


Summary

The Positive Volume Index is a calculation of the percentage change in price on days when trading volume increased.

Syntax

public PositiveVolumeIndex PositiveVolumeIndex(DataSeries source)

Parameters

NameDescription

Example 1

private PositiveVolumeIndex _positiveVolume;
[Parameter]
public DataSeries Source { get; set; }
protected override void OnStart()
{
    _positiveVolume = Indicators.PositiveVolumeIndex(Source);
}
protected override void OnBar()
{
    var currentValue = _positiveVolume.Result.LastValue;
    //...
}