Table of Contents

Class FractalsPainter

Namespace
StockSharp.Xaml.Charting.IndicatorPainters
Assembly
StockSharp.Xaml.Charting.dll

The chart element for Fractals.

[Indicator(typeof(Fractals))]
public class FractalsPainter : BaseChartIndicatorPainter<Fractals>, IChartIndicatorPainter, IPersistable
Inheritance
FractalsPainter
Implements
IPersistable
Inherited Members
Extension Methods

Constructors

FractalsPainter()

Create instance.

public FractalsPainter()

Properties

Down

Down dots color.

[Display(ResourceType = typeof(LocalizedStrings), Name = "DownColor", Description = "DownLineColor")]
public IChartLineElement Down { get; }

Property Value

IChartLineElement

Up

Up dots color.

[Display(ResourceType = typeof(LocalizedStrings), Name = "UpColor", Description = "UpLineColor")]
public IChartLineElement Up { get; }

Property Value

IChartLineElement

Methods

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

OnDraw(Fractals, IDictionary<IIndicator, IList<IndicatorData>>)

Draw values on chart.

protected override bool OnDraw(Fractals indicator, IDictionary<IIndicator, IList<ChartDrawData.IndicatorData>> data)

Parameters

indicator Fractals

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.