GpuPpoParams

StockSharp.Algo.Gpu.Indicators

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

实现: IGpuIndicatorParams

构造函数

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.

方法

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

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

indicator
IIndicator

字段

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.