GpuAdxParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU ADX calculation.

实现: IGpuIndicatorParams

构造函数

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.

方法

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

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

indicator
IIndicator

字段

Length
public int Length
value = gpuAdxParams.Length

ADX period length.

PriceType
public byte PriceType
value = gpuAdxParams.PriceType

Price type to extract for smoothing part (MA over DX). Defaults to Close.