GpuMassIndexParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Mass Index calculation.

Implementa: IGpuIndicatorParams

Constructores

GpuMassIndexParams
public GpuMassIndexParams(int length, int emaLength)
gpuMassIndexParams = GpuMassIndexParams(length, emaLength)

Parameter set for GPU Mass Index calculation.

length
Summation length.
emaLength
EMA length used for single and double smoothing.

Métodos

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

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

indicator
IIndicator

Campos

EmaLength
public int EmaLength
value = gpuMassIndexParams.EmaLength

EMA length for both single and double smoothing.

Length
public int Length
value = gpuMassIndexParams.Length

Summation length for ratio accumulation.