GpuDisparityIndexParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Disparity Index calculation.

Implements: IGpuIndicatorParams

Constructors

GpuDisparityIndexParams
public GpuDisparityIndexParams(int length, byte priceType)
gpuDisparityIndexParams = GpuDisparityIndexParams(length, priceType)

Parameter set for GPU Disparity Index calculation.

length
MA length.
priceType
Price type.

Methods

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

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

indicator
IIndicator

Fields

Length
public int Length
value = gpuDisparityIndexParams.Length

Moving average window length.

PriceType
public byte PriceType
value = gpuDisparityIndexParams.PriceType

Price type to extract from candles.