PriceVolumeTrend


Summary

Price and Volume Trend is a variation of On Balance Volume, used to determine the strength of trends and warn of reversals.

Syntax

public interface PriceVolumeTrend

Members

NameTypeSummary
Result PropertyThe time series of PriceVolumeTrend Indicator

Example 1

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