GpuKeltnerChannelsParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Keltner Channels calculation.

実装: IGpuIndicatorParams

コンストラクター

GpuKeltnerChannelsParams
public GpuKeltnerChannelsParams(int length, float multiplier, byte priceType)
gpuKeltnerChannelsParams = GpuKeltnerChannelsParams(length, multiplier, priceType)

Parameter set for GPU Keltner Channels calculation.

length
Keltner Channels period length.
multiplier
ATR multiplier.
priceType
Price type for EMA calculation.

メソッド

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

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

indicator
IIndicator

フィールド

Length
public int Length
value = gpuKeltnerChannelsParams.Length

Keltner Channels period length.

Multiplier
public float Multiplier
value = gpuKeltnerChannelsParams.Multiplier

ATR multiplier value.

PriceType
public byte PriceType
value = gpuKeltnerChannelsParams.PriceType

Price type to use for EMA calculation.