GpuRelativeMomentumIndexParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Relative Momentum Index calculation.
Implementiert: IGpuIndicatorParams
Konstruktoren
GpuRelativeMomentumIndexParams
public GpuRelativeMomentumIndexParams(int length, int momentumPeriod, byte priceType)
gpuRelativeMomentumIndexParams = GpuRelativeMomentumIndexParams(length, momentumPeriod, priceType)
Parameter set for GPU Relative Momentum Index calculation.
- length
- SMA length applied to momentum values.
- momentumPeriod
- Momentum period.
- priceType
- Price type to extract.
Methoden
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuRelativeMomentumIndexParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
Felder
MomentumPeriod
public int MomentumPeriod
value = gpuRelativeMomentumIndexParams.MomentumPeriod
Momentum period.
PriceType
public byte PriceType
value = gpuRelativeMomentumIndexParams.PriceType
Price type to extract from candles.