PositiveVolumeIndex


Summary

The positive volume index measures the trend of the stock prices for days when volume increases from previous day's volume.

Remarks

Assumes that the smart money is active on days when volume decreases (measured by the Negative Volume Index) and the not-so-smart money is active on days when volume increases.

Syntax

public interface PositiveVolumeIndex

Members

NameTypeSummary
Result PropertyThe time series result of the PositiveVolumeIndex Indicator instance

Example 1

private PositiveVolumeIndex _positiveVolume;
[Parameter]
public DataSeries Source { get; set; }
[Output("Main")]
public IndicatorDataSeries Result { get; set; }
protected override void Initialize()
{
   _positiveVolume = Indicators.PositiveVolumeIndex(Source);
}
public override void Calculate(int index)
{
   // Display Result of Indicator
   Result[index] = _positiveVolume.Result[index];
}