GpuPercentagePriceOscillatorHistogramParams

StockSharp.Algo.Gpu.Indicators

Parameter set for GPU Percentage Price Oscillator Histogram calculation.

实现: IGpuIndicatorParams

构造函数

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.