BollingerBands

StockSharp.Algo.Indicators

Bollinger Bands.

Erbt von: BaseComplexIndicator<IBollingerBandsValue>

Konstruktoren

BollingerBands
public BollingerBands()
bollingerBands = BollingerBands()

Initialisiert eine neue Instanz von BollingerBands.

BollingerBands
public BollingerBands(DecimalLengthIndicator ma)
bollingerBands = BollingerBands(ma)

Initialisiert eine neue Instanz von BollingerBands.

ma
Moving Average.

Eigenschaften

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

Periodendauer. Standardmäßig gleich 1.

LowBand
public BollingerBand LowBand { get; }
value = bollingerBands.LowBand

Untere Band -.

MovingAverage
public DecimalLengthIndicator MovingAverage { get; }
value = bollingerBands.MovingAverage

Mittellinie.

UpBand
public BollingerBand UpBand { get; }
value = bollingerBands.UpBand

Oberes Band +.

Width
public decimal Width { get; set; }
value = bollingerBands.Width
bollingerBands.Width = value

Kanalbreite der Bollinger-Bands. Standardwert gleich 2.

Methoden

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

Calc IsFormed.

Rückgabe: IsFormed

CreateValue
protected override IBollingerBandsValue CreateValue(DateTime time)
result = bollingerBands.CreateValue(time)

Erstellen .

time
Uhrzeit
OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = bollingerBands.OnProcess(input)

Um den Eingabewert zu verarbeiten.

input
Der Eingangswert.

Rückgabe: Der resultierende Wert.

Reset
public override void Reset()
bollingerBands.Reset()

Zustand zurücksetzen.

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

Konvertieren Sie in eine Liniendarstellung.

Rückgabe: String-Leistung.