GpuAdxParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU ADX calculation.
Implementa: IGpuIndicatorParams
Constructores
GpuAdxParams
public GpuAdxParams(int length, byte priceType)
gpuAdxParams = GpuAdxParams(length, priceType)
Parameter set for GPU ADX calculation.
- length
- ADX length (used for Wilder smoothing).
- priceType
- Price type for smoothing.
Métodos
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuAdxParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
Campos
PriceType
public byte PriceType
value = gpuAdxParams.PriceType
Price type to extract for smoothing part (MA over DX). Defaults to Close.