GpuMomentumOfMovingAverageParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Momentum of Moving Average calculation.

Implementiert: IGpuIndicatorParams

Konstruktoren

GpuMomentumOfMovingAverageParams
public GpuMomentumOfMovingAverageParams(int length, int momentumPeriod, byte priceType)
gpuMomentumOfMovingAverageParams = GpuMomentumOfMovingAverageParams(length, momentumPeriod, priceType)

Parameter set for GPU Momentum of Moving Average calculation.

length
Moving average length.
momentumPeriod
Momentum period.
priceType
Price type.

Methoden

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

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

indicator
IIndicator

Felder

Length
public int Length
value = gpuMomentumOfMovingAverageParams.Length

Moving average period length.

MomentumPeriod
public int MomentumPeriod
value = gpuMomentumOfMovingAverageParams.MomentumPeriod

Momentum lookback period.

PriceType
public byte PriceType
value = gpuMomentumOfMovingAverageParams.PriceType

Price type to extract from candles.