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