GpuAdaptivePriceZoneParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Adaptive Price Zone (APZ) calculation.

Implementiert: IGpuIndicatorParams

Konstruktoren

GpuAdaptivePriceZoneParams
public GpuAdaptivePriceZoneParams(int period, float bandPercentage, byte priceType)
gpuAdaptivePriceZoneParams = GpuAdaptivePriceZoneParams(period, bandPercentage, priceType)

Parameter set for GPU Adaptive Price Zone (APZ) calculation.

period
Indicator period.
bandPercentage
Band percentage multiplier.
priceType
Price type.

Methoden

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

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

indicator
IIndicator

Felder

BandPercentage
public float BandPercentage
value = gpuAdaptivePriceZoneParams.BandPercentage

Band percentage multiplier.

Period
public int Period
value = gpuAdaptivePriceZoneParams.Period

Indicator period.

PriceType
public byte PriceType
value = gpuAdaptivePriceZoneParams.PriceType

Price type to extract from candles.