AdaptivePriceZone
StockSharp.Algo.Indicators
Indikator für die Adaptive Preiszone (APZ).
Erbt von: BaseComplexIndicator<IAdaptivePriceZoneValue>
Konstruktoren
AdaptivePriceZone
public AdaptivePriceZone()
adaptivePriceZone = AdaptivePriceZone()
Initialisiert eine neue Instanz von AdaptivePriceZone.
AdaptivePriceZone
public AdaptivePriceZone(DecimalLengthIndicator ma)
adaptivePriceZone = AdaptivePriceZone(ma)
Initialisiert eine neue Instanz von AdaptivePriceZone.
- ma
- Moving Average.
Eigenschaften
BandPercentage
public decimal BandPercentage { get; set; }
value = adaptivePriceZone.BandPercentage
adaptivePriceZone.BandPercentage = value
Prozentsatz der Bande für die Berechnung der oberen und unteren Bande.
LowerBand
public AdaptivePriceZoneBand LowerBand { get; }
value = adaptivePriceZone.LowerBand
Unterband.
MovingAverage
public DecimalLengthIndicator MovingAverage { get; }
value = adaptivePriceZone.MovingAverage
Moving Average.
Period
public int Period { get; set; }
value = adaptivePriceZone.Period
adaptivePriceZone.Period = value
Zeitraum für Berechnungen der MA und der Standardabweichung.
UpperBand
public AdaptivePriceZoneBand UpperBand { get; }
value = adaptivePriceZone.UpperBand
Oberes Band.
Methoden
CreateValue
protected override IAdaptivePriceZoneValue CreateValue(DateTime time)
result = adaptivePriceZone.CreateValue(time)
Erstellen .
- time
- Uhrzeit
LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = adaptivePriceZone.LoadAsync(storage, cancellationToken)
Load settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Rückgabe: Task
OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = adaptivePriceZone.OnProcess(input)
Um den Eingabewert zu verarbeiten.
- input
- Der Eingangswert.
Rückgabe: Der resultierende Wert.
SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = adaptivePriceZone.SaveAsync(storage, cancellationToken)
Save settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Rückgabe: Task