GpuTroughParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Trough (ZigZag lows) calculation.
Implements: IGpuIndicatorParams
Constructors
GpuTroughParams
public GpuTroughParams(float deviation)
gpuTroughParams = GpuTroughParams(deviation)
Parameter set for GPU Trough (ZigZag lows) calculation.
- deviation
- Deviation threshold.
Methods
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuTroughParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
Fields
Deviation
public float Deviation
value = gpuTroughParams.Deviation
Percentage deviation threshold used to detect direction change.