GpuTrueStrengthIndexParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU True Strength Index calculation.

实现: IGpuIndicatorParams

构造函数

GpuTrueStrengthIndexParams
public GpuTrueStrengthIndexParams(int firstLength, int secondLength, int signalLength, byte priceType)
gpuTrueStrengthIndexParams = GpuTrueStrengthIndexParams(firstLength, secondLength, signalLength, priceType)

Parameter set for GPU True Strength Index calculation.

firstLength
First smoothing length.
secondLength
Second smoothing length.
signalLength
Signal length.
priceType
Price type.

方法

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

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

indicator
IIndicator

字段

FirstLength
public int FirstLength
value = gpuTrueStrengthIndexParams.FirstLength

First smoothing period.

PriceType
public byte PriceType
value = gpuTrueStrengthIndexParams.PriceType

Price type to extract from candles.

SecondLength
public int SecondLength
value = gpuTrueStrengthIndexParams.SecondLength

Second smoothing period.

SignalLength
public int SignalLength
value = gpuTrueStrengthIndexParams.SignalLength

Signal smoothing period.