Table of Contents

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

IChartLineElement

K

K line color.

[Display(ResourceType = typeof(LocalizedStrings), Name = "SOK", Description = "SOK")]
public IChartLineElement K { get; }

Property Value

IChartLineElement

Methods

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings 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 StochasticOscillator

Indicator.

data IDictionary<IIndicator, IList<ChartDrawData.IndicatorData>>

Indicator values to draw on chart.

Returns

bool

true if the data was successfully drawn, otherwise, returns false.

Save(SettingsStorage)

Save settings.

public override void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.