GpuPercentagePriceOscillatorHistogramParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Percentage Price Oscillator Histogram calculation.
コンストラクター
GpuPercentagePriceOscillatorHistogramParams
public GpuPercentagePriceOscillatorHistogramParams(int shortLength, int longLength, int signalLength, byte priceType)
gpuPercentagePriceOscillatorHistogramParams = GpuPercentagePriceOscillatorHistogramParams(shortLength, longLength, signalLength, priceType)
Parameter set for GPU Percentage Price Oscillator Histogram calculation.
- shortLength
- Short EMA length.
- longLength
- Long EMA length.
- signalLength
- Signal EMA length.
- priceType
- Price type.
メソッド
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuPercentagePriceOscillatorHistogramParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
フィールド
LongLength
public int LongLength
value = gpuPercentagePriceOscillatorHistogramParams.LongLength
Long EMA length.
PriceType
public byte PriceType
value = gpuPercentagePriceOscillatorHistogramParams.PriceType
Price type to extract from candles.
ShortLength
public int ShortLength
value = gpuPercentagePriceOscillatorHistogramParams.ShortLength
Short EMA length.
SignalLength
public int SignalLength
value = gpuPercentagePriceOscillatorHistogramParams.SignalLength
Signal EMA length.