GpuAdaptivePriceZoneParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Adaptive Price Zone (APZ) calculation.
Implementa: IGpuIndicatorParams
Constructores
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.
Métodos
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuAdaptivePriceZoneParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
Campos
BandPercentage
public float BandPercentage
value = gpuAdaptivePriceZoneParams.BandPercentage
Band percentage multiplier.
PriceType
public byte PriceType
value = gpuAdaptivePriceZoneParams.PriceType
Price type to extract from candles.