ChaikinVolatility
StockSharp.Algo.Indicators
Chaikin volatility.
Inherits: BaseIndicator
Constructors
ChaikinVolatility
public ChaikinVolatility()
chaikinVolatility = ChaikinVolatility()
Initializes a new instance of the ChaikinVolatility.
Properties
Measure
public override IndicatorMeasures Measure { get; }
value = chaikinVolatility.Measure
IndicatorMeasures.
NumValuesToInitialize
public override int NumValuesToInitialize { get; }
value = chaikinVolatility.NumValuesToInitialize
Number of values that need to be processed in order for the indicator to initialize (be IsFormed equals ). if undefined.
Methods
CalcIsFormed
protected override bool CalcIsFormed()
result = chaikinVolatility.CalcIsFormed()
Calc IsFormed.
Returns: IsFormed
Load
public override void Load(SettingsStorage storage)
chaikinVolatility.Load(storage)
Load settings.
- storage
- Settings storage.
OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = chaikinVolatility.OnProcess(input)
To handle the input value.
- input
- The input value.
Returns: The resulting value.
Save
public override void Save(SettingsStorage storage)
chaikinVolatility.Save(storage)
Save settings.
- storage
- Settings storage.
ToString
public override string ToString()
result = chaikinVolatility.ToString()
Преобразовать к строковому представлению.
Returns: Строковое представление.