GpuTrixParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU TRIX calculation.

実装: IGpuIndicatorParams

コンストラクター

GpuTrixParams
public GpuTrixParams(int length, int rocLength, byte priceType)
gpuTrixParams = GpuTrixParams(length, rocLength, priceType)

Parameter set for GPU TRIX calculation.

length
EMA length.
rocLength
Rate of Change length.
priceType
Price type.

メソッド

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

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

indicator
IIndicator

フィールド

Length
public int Length
value = gpuTrixParams.Length

EMA window length.

PriceType
public byte PriceType
value = gpuTrixParams.PriceType

Price type to extract from candles.

RocLength
public int RocLength
value = gpuTrixParams.RocLength

Rate of Change period length.