GpuChaikinVolatilityParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Chaikin Volatility calculation.

Implements: IGpuIndicatorParams

Constructors

GpuChaikinVolatilityParams
public GpuChaikinVolatilityParams(int emaLength, int rocLength)
gpuChaikinVolatilityParams = GpuChaikinVolatilityParams(emaLength, rocLength)

Parameter set for GPU Chaikin Volatility calculation.

emaLength
Length for the EMA smoothing.
rocLength
Length for the ROC calculation.

Methods

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

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

indicator
IIndicator

Fields

EmaLength
public int EmaLength
value = gpuChaikinVolatilityParams.EmaLength

EMA window length applied to candle ranges.

RocLength
public int RocLength
value = gpuChaikinVolatilityParams.RocLength

ROC window length applied to EMA values.