GpuRelativeMomentumIndexParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Relative Momentum Index calculation.
Реализует: IGpuIndicatorParams
Конструкторы
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.
Методы
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuRelativeMomentumIndexParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
Поля
MomentumPeriod
public int MomentumPeriod
value = gpuRelativeMomentumIndexParams.MomentumPeriod
Momentum period.
PriceType
public byte PriceType
value = gpuRelativeMomentumIndexParams.PriceType
Price type to extract from candles.