SuperTrend
StockSharp.Algo.Indicators
代表取締役社長 佐藤 浩一
継承元: BaseIndicator
コンストラクター
SuperTrend
public SuperTrend(AverageTrueRange atr)
superTrend = SuperTrend(atr)
SuperTrendクラスの新しいインスタンスを初期化します。
- atr
- 担当: 佐藤 宏
プロパティ
Multiplier
public decimal Multiplier { get; set; }
value = superTrend.Multiplier
superTrend.Multiplier = value
ATR のマルチプライヤー。
NumValuesToInitialize
public override int NumValuesToInitialize { get; }
value = superTrend.NumValuesToInitialize
インジケータが初期化するために処理する必要がある値の数 (IsFormed等しい). 未定義の場合.
メソッド
LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = superTrend.LoadAsync(storage, cancellationToken)
Load settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
戻り値: Task
OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = superTrend.OnProcess(input)
入力値を処理するため。
- input
- 入力値。
戻り値: 結果の値は。
SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = superTrend.SaveAsync(storage, cancellationToken)
Save settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
戻り値: Task
ToString
public override string ToString()
result = superTrend.ToString()
ライン表現に換算します。
戻り値: 弦のパフォーマンス。