GpuMomentumOfMovingAverageParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Momentum of Moving Average calculation.
Implementa: IGpuIndicatorParams
Construtores
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.
Métodos
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuMomentumOfMovingAverageParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
Campos
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.