AdaptivePriceZone
StockSharp.Algo.Indicators
Indicador de zona de preços adaptativa (APZ).
Herda de: BaseComplexIndicator<IAdaptivePriceZoneValue>
Construtores
AdaptivePriceZone
public AdaptivePriceZone()
adaptivePriceZone = AdaptivePriceZone()
Inicializa uma nova instância do AdaptivePriceZone.
AdaptivePriceZone
public AdaptivePriceZone(DecimalLengthIndicator ma)
adaptivePriceZone = AdaptivePriceZone(ma)
Inicializa uma nova instância do AdaptivePriceZone.
- ma
- Média em Movimento.
Propriedades
BandPercentage
public decimal BandPercentage { get; set; }
value = adaptivePriceZone.BandPercentage
adaptivePriceZone.BandPercentage = value
Percentagem de banda para cálculo de bandas superiores e inferiores.
LowerBand
public AdaptivePriceZoneBand LowerBand { get; }
value = adaptivePriceZone.LowerBand
- Banda inferior.
MovingAverage
public DecimalLengthIndicator MovingAverage { get; }
value = adaptivePriceZone.MovingAverage
Média de movimento.
Period
public int Period { get; set; }
value = adaptivePriceZone.Period
adaptivePriceZone.Period = value
Período para os cálculos de desvio padrão e MA.
UpperBand
public AdaptivePriceZoneBand UpperBand { get; }
value = adaptivePriceZone.UpperBand
Banda superior.
Métodos
CreateValue
protected override IAdaptivePriceZoneValue CreateValue(DateTime time)
result = adaptivePriceZone.CreateValue(time)
Criar.
- time
- Hora
LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = adaptivePriceZone.LoadAsync(storage, cancellationToken)
Load settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Retorna: Task
OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = adaptivePriceZone.OnProcess(input)
Para lidar com o valor de entrada.
- input
- O valor de entrada.
Retorna: O valor resultante.
SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = adaptivePriceZone.SaveAsync(storage, cancellationToken)
Save settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Retorna: Task