PriceVolumeTrend
StockSharp.Algo.Indicators
Price Volume Trend (PVT).
Inherits: BaseIndicator
Constructors
PriceVolumeTrend
public PriceVolumeTrend()
priceVolumeTrend = PriceVolumeTrend()
Initializes a new instance of the PriceVolumeTrend.
Properties
Measure
public override IndicatorMeasures Measure { get; }
value = priceVolumeTrend.Measure
IndicatorMeasures.
NumValuesToInitialize
public override int NumValuesToInitialize { get; }
value = priceVolumeTrend.NumValuesToInitialize
Number of values that need to be processed in order for the indicator to initialize (be IsFormed equals ). if undefined.
Methods
OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = priceVolumeTrend.OnProcess(input)
To handle the input value.
- input
- The input value.
Returns: The resulting value.
Reset
public override void Reset()
priceVolumeTrend.Reset()
To reset the indicator status to initial. The method is called each time when initial settings are changed (for example, the length of period).