GpuPeakParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Peak calculation.
Implementa: IGpuIndicatorParams
Construtores
GpuPeakParams
public GpuPeakParams(float deviation)
gpuPeakParams = GpuPeakParams(deviation)
Parameter set for GPU Peak calculation.
- deviation
- Percentage change threshold expressed as a fraction (0-1).
Métodos
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuPeakParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
Campos
Deviation
public float Deviation
value = gpuPeakParams.Deviation
Percentage change threshold expressed as a fraction (0-1).