IndicatorDiagramElement

StockSharp.Diagram.Elements

インジケータ要素。

継承元: DiagramElement

コンストラクター

IndicatorDiagramElement
public IndicatorDiagramElement()
indicatorDiagramElement = IndicatorDiagramElement()

IndicatorDiagramElement の新規インスタンスを初期化します。

プロパティ

IconName
public override string IconName { get; }
value = indicatorDiagramElement.IconName

リソース名をアイコン化します。

Indicator
public IIndicator Indicator { get; set; }
value = indicatorDiagramElement.Indicator
indicatorDiagramElement.Indicator = value

インジケータパラメータ。

IsEmpty
public bool IsEmpty { get; set; }
value = indicatorDiagramElement.IsEmpty
indicatorDiagramElement.IsEmpty = value

空のインジケータ値を送信します。

IsFinal
public bool IsFinal { get; set; }
value = indicatorDiagramElement.IsFinal
indicatorDiagramElement.IsFinal = value

最終値だけ送信してください。

IsFormed
public bool IsFormed { get; set; }
value = indicatorDiagramElement.IsFormed
indicatorDiagramElement.IsFormed = value

インジケータが形成されるときだけ値を送ります。

Type
public IndicatorType Type { get; set; }
value = indicatorDiagramElement.Type
indicatorDiagramElement.Type = value

インジケータタイプ。

TypeId
public override Guid TypeId { get; }
value = indicatorDiagramElement.TypeId

id をタイプして下さい。

メソッド

OnPrepareAsync
protected override ValueTask OnPrepareAsync(CancellationToken cancellationToken)
result = indicatorDiagramElement.OnPrepareAsync(cancellationToken)

Resolves what the element needs from asynchronous sources (securities, underlying assets, derivatives) before the start, so that value processing stays synchronous. Called after OnPrepare.

cancellationToken
Cancellation token.

戻り値: ValueTask

OnReseted
protected override void OnReseted()
indicatorDiagramElement.OnReseted()

リセットメソッドから呼び出されます。

OnStart
protected override void OnStart(DateTime time)
indicatorDiagramElement.OnStart(time)

メソッドは、図要素アルゴリズムの先頭で呼び出されます。