GpuMassIndexParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Mass Index calculation.
コンストラクター
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.
メソッド
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuMassIndexParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
フィールド
EmaLength
public int EmaLength
value = gpuMassIndexParams.EmaLength
EMA length for both single and double smoothing.