Class StochasticOscillatorPainter
- Namespace
- StockSharp.Xaml.Charting.IndicatorPainters
- Assembly
- StockSharp.Xaml.Charting.dll
The chart element for StochasticOscillator.
[Indicator(typeof(StochasticOscillator))]
public class StochasticOscillatorPainter : BaseChartIndicatorPainter<StochasticOscillator>, IChartIndicatorPainter, IPersistable
- Inheritance
-
StochasticOscillatorPainter
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
StochasticOscillatorPainter()
Create instance.
public StochasticOscillatorPainter()
Properties
D
D line color.
[Display(ResourceType = typeof(LocalizedStrings), Name = "SOD", Description = "SOD")]
public IChartLineElement D { get; }
Property Value
K
K line color.
[Display(ResourceType = typeof(LocalizedStrings), Name = "SOK", Description = "SOK")]
public IChartLineElement K { get; }
Property Value
Methods
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
OnDraw(StochasticOscillator, IDictionary<IIndicator, IList<IndicatorData>>)
Draw values on chart.
protected override bool OnDraw(StochasticOscillator indicator, IDictionary<IIndicator, IList<ChartDrawData.IndicatorData>> data)
Parameters
indicator
StochasticOscillatorIndicator.
data
IDictionary<IIndicator, IList<ChartDrawData.IndicatorData>>Indicator values to draw on chart.
Returns
Save(SettingsStorage)
Save settings.
public override void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.