GpuTemaParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Triple Exponential Moving Average (TEMA) calculation.

实现: IGpuIndicatorParams

构造函数

GpuTemaParams
public GpuTemaParams(int length, byte priceType)
gpuTemaParams = GpuTemaParams(length, priceType)

Parameter set for GPU Triple Exponential Moving Average (TEMA) calculation.

length
TEMA length.
priceType
Price type.

方法

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

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

indicator
IIndicator

字段

Length
public int Length
value = gpuTemaParams.Length

TEMA window length.

PriceType
public byte PriceType
value = gpuTemaParams.PriceType

Price type to extract from candles.