GpuCompositeMomentumParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Composite Momentum calculation.

Реализует: IGpuIndicatorParams

Конструкторы

GpuCompositeMomentumParams
public GpuCompositeMomentumParams(int shortRocLength, int longRocLength, int rsiLength, int emaFastLength, int emaSlowLength, int smaLength, byte priceType)
gpuCompositeMomentumParams = GpuCompositeMomentumParams(shortRocLength, longRocLength, rsiLength, emaFastLength, emaSlowLength, smaLength, priceType)

Parameter set for GPU Composite Momentum calculation.

shortRocLength
Length for the short ROC component.
longRocLength
Length for the long ROC component.
rsiLength
Length for RSI calculation.
emaFastLength
Length for fast EMA.
emaSlowLength
Length for slow EMA.
smaLength
Length for smoothing SMA.
priceType
Price type for value extraction.

Методы

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

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

indicator
IIndicator

Поля

EmaFastLength
public int EmaFastLength
value = gpuCompositeMomentumParams.EmaFastLength

Length for fast EMA.

EmaSlowLength
public int EmaSlowLength
value = gpuCompositeMomentumParams.EmaSlowLength

Length for slow EMA.

LongRocLength
public int LongRocLength
value = gpuCompositeMomentumParams.LongRocLength

Length for the long ROC component.

PriceType
public byte PriceType
value = gpuCompositeMomentumParams.PriceType

Price type for value extraction.

RsiLength
public int RsiLength
value = gpuCompositeMomentumParams.RsiLength

Length for RSI calculation.

ShortRocLength
public int ShortRocLength
value = gpuCompositeMomentumParams.ShortRocLength

Length for the short ROC component.

SmaLength
public int SmaLength
value = gpuCompositeMomentumParams.SmaLength

Length for smoothing SMA.