GpuPercentagePriceOscillatorSignalParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Percentage Price Oscillator with signal calculation.
Implements: IGpuIndicatorParams
Constructors
GpuPercentagePriceOscillatorSignalParams
public GpuPercentagePriceOscillatorSignalParams(int shortPeriod, int longPeriod, int signalLength, byte priceType)
gpuPercentagePriceOscillatorSignalParams = GpuPercentagePriceOscillatorSignalParams(shortPeriod, longPeriod, signalLength, priceType)
Parameter set for GPU Percentage Price Oscillator with signal calculation.
- shortPeriod
- Short period for fast EMA.
- longPeriod
- Long period for slow EMA.
- signalLength
- Signal EMA length.
- priceType
- Price type.
Methods
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuPercentagePriceOscillatorSignalParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
Fields
LongPeriod
public int LongPeriod
value = gpuPercentagePriceOscillatorSignalParams.LongPeriod
Long period for slow EMA.
PriceType
public byte PriceType
value = gpuPercentagePriceOscillatorSignalParams.PriceType
Price type to extract from candles.
ShortPeriod
public int ShortPeriod
value = gpuPercentagePriceOscillatorSignalParams.ShortPeriod
Short period for fast EMA.
SignalLength
public int SignalLength
value = gpuPercentagePriceOscillatorSignalParams.SignalLength
Signal EMA period.