GpuTrueStrengthIndexParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU True Strength Index calculation.
Implementiert: IGpuIndicatorParams
Konstruktoren
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.
Methoden
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuTrueStrengthIndexParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
Felder
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.