BalanceVolume
StockSharp.Algo.Indicators
Balance Volume indicator.
Inherits: BaseIndicator
Constructors
BalanceVolume
public BalanceVolume()
balanceVolume = BalanceVolume()
Initializes a new instance of the BalanceVolume.
Properties
Measure
public override IndicatorMeasures Measure { get; }
value = balanceVolume.Measure
IndicatorMeasures.
NumValuesToInitialize
public override int NumValuesToInitialize { get; }
value = balanceVolume.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 = balanceVolume.OnProcess(input)
To handle the input value.
- input
- The input value.
Returns: The resulting value.
Reset
public override void Reset()
balanceVolume.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).