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