Class VolumeProfileIndicator
- Namespace
- StockSharp.Algo.Indicators
- Assembly
- StockSharp.Algo.dll
Volume profile.
[Display(ResourceType = typeof(LocalizedStrings), Name = "VolumeProfile", Description = "VolumeProfile")]
[IndicatorIn(typeof(CandleIndicatorValue))]
[IndicatorOut(typeof(VolumeProfileIndicator.VolumeProfileIndicatorValue))]
[Doc("topics/api/indicators/list_of_indicators/volume_profile.html")]
public class VolumeProfileIndicator : BaseIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
- Inheritance
-
VolumeProfileIndicator
- Implements
- Inherited Members
- Extension Methods
Remarks
Constructors
VolumeProfileIndicator()
Initializes a new instance of the VolumeProfileIndicator.
public VolumeProfileIndicator()
Properties
Step
The grouping increment.
public decimal Step { get; set; }
Property Value
UseTotalVolume
To use aggregate volume in calculations (when candles do not contain VolumeProfile).
public bool UseTotalVolume { get; set; }
Property Value
Methods
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.