GatorOscillatorPainter
StockSharp.Xaml.Charting.IndicatorPainters
The chart element for GatorOscillator.
继承自: BaseChartIndicatorPainter<GatorOscillator>
构造函数
GatorOscillatorPainter
public GatorOscillatorPainter()
gatorOscillatorPainter = GatorOscillatorPainter()
创建实例 。
属性
Histogram1
public IChartLineElement Histogram1 { get; }
value = gatorOscillatorPainter.Histogram1
直方图1行颜色.
Histogram2
public IChartLineElement Histogram2 { get; }
value = gatorOscillatorPainter.Histogram2
直方图2行颜色.
方法
Load
public override void Load(SettingsStorage storage)
gatorOscillatorPainter.Load(storage)
装入设置 。
- storage
- 设置存储 。
OnDraw
protected override bool OnDraw(GatorOscillator indicator, IDictionary<IIndicator, IList<IndicatorData>> data)
result = gatorOscillatorPainter.OnDraw(indicator, data)
Save
public override void Save(SettingsStorage storage)
gatorOscillatorPainter.Save(storage)
保存设置 。
- storage
- 设置存储 。