Class ChaikinVolatility
- Namespace
- StockSharp.Algo.Indicators
- Assembly
- StockSharp.Algo.dll
Chaikin volatility.
[Display(ResourceType = typeof(LocalizedStrings), Name = "ChaikinVolatility", Description = "ChaikinVolatilityIndicator")]
[IndicatorIn(typeof(CandleIndicatorValue))]
public class ChaikinVolatility : BaseIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
- Inheritance
-
ChaikinVolatility
- Implements
-
IPersistableICloneable<IIndicator>
- Inherited Members
- Extension Methods
Remarks
Constructors
ChaikinVolatility()
Initializes a new instance of the ChaikinVolatility.
public ChaikinVolatility()
Properties
Ema
Moving Average.
[TypeConverter(typeof(ExpandableObjectConverter))]
[Display(ResourceType = typeof(LocalizedStrings), Name = "MA", Description = "MovingAverage", GroupName = "General")]
public ExponentialMovingAverage Ema { get; }
Property Value
Measure
public override IndicatorMeasures Measure { get; }
Property Value
NumValuesToInitialize
Number of values that need to be processed in order for the indicator to initialize (be IsFormed equals true). null if undefined.
public override int NumValuesToInitialize { get; }
Property Value
Roc
Rate of change.
[TypeConverter(typeof(ExpandableObjectConverter))]
[Display(ResourceType = typeof(LocalizedStrings), Name = "ROC", Description = "RateOfChange", GroupName = "General")]
public RateOfChange Roc { get; }
Property Value
Methods
CalcIsFormed()
Calc IsFormed.
protected override bool CalcIsFormed()
Returns
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
OnProcess(IIndicatorValue)
To handle the input value.
protected override IIndicatorValue OnProcess(IIndicatorValue input)
Parameters
input
IIndicatorValueThe input value.
Returns
- IIndicatorValue
The resulting value.
Save(SettingsStorage)
Save settings.
public override void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.