GpuZlemaParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Zero Lag Exponential Moving Average (ZLEMA) calculation.

実装: IGpuIndicatorParams

コンストラクター

GpuZlemaParams
public GpuZlemaParams(int length, byte priceType)
gpuZlemaParams = GpuZlemaParams(length, priceType)

Parameter set for GPU Zero Lag Exponential Moving Average (ZLEMA) calculation.

length
ZLEMA length.
priceType
Price type.

メソッド

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

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

indicator
IIndicator

フィールド

Length
public int Length
value = gpuZlemaParams.Length

ZLEMA period length.

PriceType
public byte PriceType
value = gpuZlemaParams.PriceType

Price type to extract from candles.