GpuDpoParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Detrended Price Oscillator (DPO) calculation.

実装: IGpuIndicatorParams

コンストラクター

GpuDpoParams
public GpuDpoParams(int length, byte priceType)
gpuDpoParams = GpuDpoParams(length, priceType)

Parameter set for GPU Detrended Price Oscillator (DPO) calculation.

length
DPO length.
priceType
Price type.

メソッド

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

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

indicator
IIndicator

フィールド

Length
public int Length
value = gpuDpoParams.Length

DPO SMA length.

PriceType
public byte PriceType
value = gpuDpoParams.PriceType

Price type to extract from candles.