GpuRelativeVigorIndexParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Relative Vigor Index (RVI) calculation.
Реализует: IGpuIndicatorParams
Конструкторы
GpuRelativeVigorIndexParams
public GpuRelativeVigorIndexParams(int averageLength, int signalLength)
gpuRelativeVigorIndexParams = GpuRelativeVigorIndexParams(averageLength, signalLength)
Parameter set for GPU Relative Vigor Index (RVI) calculation.
- averageLength
- Length of the weighted average part.
- signalLength
- Length of the weighted signal part.
Методы
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuRelativeVigorIndexParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
Поля
AverageLength
public int AverageLength
value = gpuRelativeVigorIndexParams.AverageLength
Length of the weighted average part.
SignalLength
public int SignalLength
value = gpuRelativeVigorIndexParams.SignalLength
Length of the weighted signal part.