DetrendedSyntheticPrice
StockSharp.Algo.Indicators
Indicador de preço sintético anulado.
Herda de: BaseIndicator
Construtores
DetrendedSyntheticPrice
public DetrendedSyntheticPrice()
detrendedSyntheticPrice = DetrendedSyntheticPrice()
Inicializa uma nova instância do DetrendedSyntheticPrice.
Propriedades
Length
public int Length { get; set; }
value = detrendedSyntheticPrice.Length
detrendedSyntheticPrice.Length = value
Comprimento do indicador.
NumValuesToInitialize
public override int NumValuesToInitialize { get; }
value = detrendedSyntheticPrice.NumValuesToInitialize
Número de valores que precisam ser processados para que o indicador inicialize (se IsFormed é igual a ). se não for definido.
Métodos
CalcIsFormed
protected override bool CalcIsFormed()
result = detrendedSyntheticPrice.CalcIsFormed()
Calc IsFormed.
Retorna: IsFormed
LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = detrendedSyntheticPrice.LoadAsync(storage, cancellationToken)
Load settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Retorna: Task
OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = detrendedSyntheticPrice.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 = detrendedSyntheticPrice.SaveAsync(storage, cancellationToken)
Save settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Retorna: Task
ToString
public override string ToString()
result = detrendedSyntheticPrice.ToString()
Converter para uma representação de linha.
Retorna: Desempenho de cordas.