Envelope

StockSharp.Algo.Indicators

封筒の表示器。

継承元: BaseComplexIndicator<IEnvelopeValue>

コンストラクター

Envelope
public Envelope()
envelope = Envelope()

Envelope の新しいインスタンスを初期化します。

Envelope
public Envelope(DecimalLengthIndicator ma)
envelope = Envelope(ma)

Envelope の新しいインスタンスを初期化します。

ma
ミドルライン。
Envelope
public Envelope(DecimalLengthIndicator middle, DecimalLengthIndicator upper, DecimalLengthIndicator lower)
envelope = Envelope(middle, upper, lower)

Initializes a new instance of the Envelope.

middle
Middle line.
upper
Upper line.
lower
Lower line.

プロパティ

Length
public int Length { get; set; }
value = envelope.Length
envelope.Length = value

期間の長さ。 デフォルトでは1と等しい。

Lower
public DecimalLengthIndicator Lower { get; }
value = envelope.Lower

ラインを下げて下さい。

Middle
public DecimalLengthIndicator Middle { get; }
value = envelope.Middle

ミドルライン。

Shift
public decimal Shift { get; set; }
value = envelope.Shift
envelope.Shift = value

シフト幅。 0から1へのパーセンテージとして指定します。 デフォルトは0.01に等しい。

Upper
public DecimalLengthIndicator Upper { get; }
value = envelope.Upper

上部の線。

メソッド

CalcIsFormed
protected override bool CalcIsFormed()
result = envelope.CalcIsFormed()

代表取締役社長 佐藤 浩一

戻り値: 担当: 佐藤 宏

CreateAsync
public static ValueTask<Envelope> CreateAsync(DecimalLengthIndicator ma, CancellationToken cancellationToken)
result = Envelope.CreateAsync(ma, cancellationToken)

Create Envelope whose upper and lower lines are copies of the middle one.

ma
Middle line.
cancellationToken
CancellationToken

戻り値: Envelope

CreateValue
protected override IEnvelopeValue CreateValue(DateTime time)
result = envelope.CreateValue(time)

作成する

time
タイムタイム
LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = envelope.LoadAsync(storage, cancellationToken)

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

戻り値: Task

OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = envelope.OnProcess(input)

入力値を処理するため。

input
入力値。

戻り値: 結果の値は。

SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = envelope.SaveAsync(storage, cancellationToken)

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

戻り値: Task

ToString
public override string ToString()
result = envelope.ToString()

ライン表現に換算します。

戻り値: 弦のパフォーマンス。