GpuPpoParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Percentage Price Oscillator (PPO) calculation.

Implementa: IGpuIndicatorParams

Constructores

GpuPpoParams
public GpuPpoParams(int shortLength, int longLength, byte priceType)
gpuPpoParams = GpuPpoParams(shortLength, longLength, priceType)

Parameter set for GPU Percentage Price Oscillator (PPO) calculation.

shortLength
Short EMA length.
longLength
Long EMA length.
priceType
Price type.

Métodos

FromIndicator
public void FromIndicator(IIndicator indicator)
gpuPpoParams.FromIndicator(indicator)

Copy parameters from the given indicator instance into this params struct.

indicator
IIndicator

Campos

LongLength
public int LongLength
value = gpuPpoParams.LongLength

Long EMA period length.

PriceType
public byte PriceType
value = gpuPpoParams.PriceType

Price type to extract from candles.

ShortLength
public int ShortLength
value = gpuPpoParams.ShortLength

Short EMA period length.