VolumeProfileIndicator
StockSharp.Algo.Indicators
Volume profile.
Inherits: BaseIndicator
Constructors
VolumeProfileIndicator
public VolumeProfileIndicator()
volumeProfileIndicator = VolumeProfileIndicator()
Initializes a new instance of the VolumeProfileIndicator.
Properties
Step
public decimal Step { get; set; }
value = volumeProfileIndicator.Step
volumeProfileIndicator.Step = value
The grouping increment.
UseTotalVolume
public bool UseTotalVolume { get; set; }
value = volumeProfileIndicator.UseTotalVolume
volumeProfileIndicator.UseTotalVolume = value
To use aggregate volume in calculations (when candles do not contain VolumeProfile).
Methods
Load
public override void Load(SettingsStorage storage)
volumeProfileIndicator.Load(storage)
Load settings.
- storage
- Settings storage.
OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = volumeProfileIndicator.OnProcess(input)
To handle the input value.
- input
- The input value.
Returns: The resulting value.
Reset
public override void Reset()
volumeProfileIndicator.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).
Save
public override void Save(SettingsStorage storage)
volumeProfileIndicator.Save(storage)
Save settings.
- storage
- Settings storage.
ToString
public override string ToString()
result = volumeProfileIndicator.ToString()
Преобразовать к строковому представлению.
Returns: Строковое представление.