GpuHistoricalVolatilityRatioParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Historical Volatility Ratio calculation.

Реализует: IGpuIndicatorParams

Конструкторы

GpuHistoricalVolatilityRatioParams
public GpuHistoricalVolatilityRatioParams(int shortPeriod, int longPeriod, byte priceType)
gpuHistoricalVolatilityRatioParams = GpuHistoricalVolatilityRatioParams(shortPeriod, longPeriod, priceType)

Parameter set for GPU Historical Volatility Ratio calculation.

shortPeriod
Short standard deviation period.
longPeriod
Long standard deviation period.
priceType
Price type to extract from candles.

Методы

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

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

indicator
IIndicator

Поля

LongPeriod
public int LongPeriod
value = gpuHistoricalVolatilityRatioParams.LongPeriod

Long standard deviation period.

PriceType
public byte PriceType
value = gpuHistoricalVolatilityRatioParams.PriceType

Price type to extract from candles.

ShortPeriod
public int ShortPeriod
value = gpuHistoricalVolatilityRatioParams.ShortPeriod

Short standard deviation period.