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.