GpuSuperTrendParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU SuperTrend calculation.

Implementa: IGpuIndicatorParams

Construtores

GpuSuperTrendParams
public GpuSuperTrendParams(int length, double multiplier)
gpuSuperTrendParams = GpuSuperTrendParams(length, multiplier)

Parameter set for GPU SuperTrend calculation.

length
ATR period length.
multiplier
ATR multiplier.

Métodos

FromIndicator
public void FromIndicator(IIndicator indicator)
gpuSuperTrendParams.FromIndicator(indicator)

Copy parameters from the given indicator instance into this params struct.

indicator
IIndicator

Campos

Length
public int Length
value = gpuSuperTrendParams.Length

ATR window length.

Multiplier
public double Multiplier
value = gpuSuperTrendParams.Multiplier

ATR multiplier for SuperTrend bands.