GpuKnowSureThingParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Know Sure Thing (KST) calculation.
Реализует: IGpuIndicatorParams
Конструкторы
GpuKnowSureThingParams
public GpuKnowSureThingParams(int roc1Length, int roc2Length, int roc3Length, int roc4Length, int sma1Length, int sma2Length, int sma3Length, int sma4Length, int signalLength, Level1Fields priceType)
gpuKnowSureThingParams = GpuKnowSureThingParams(roc1Length, roc2Length, roc3Length, roc4Length, sma1Length, sma2Length, sma3Length, sma4Length, signalLength, priceType)
Parameter set for GPU Know Sure Thing (KST) calculation.
- roc1Length
- Rate of Change length #1.
- roc2Length
- Rate of Change length #2.
- roc3Length
- Rate of Change length #3.
- roc4Length
- Rate of Change length #4.
- sma1Length
- Simple Moving Average length applied to ROC #1.
- sma2Length
- Simple Moving Average length applied to ROC #2.
- sma3Length
- Simple Moving Average length applied to ROC #3.
- sma4Length
- Simple Moving Average length applied to ROC #4.
- signalLength
- Signal line Simple Moving Average length.
- priceType
- Price type to extract from candles.
Методы
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuKnowSureThingParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
Поля
PriceType
public byte PriceType
value = gpuKnowSureThingParams.PriceType
Price type to extract from candles.
Roc1Length
public int Roc1Length
value = gpuKnowSureThingParams.Roc1Length
Rate of Change length #1.
Roc2Length
public int Roc2Length
value = gpuKnowSureThingParams.Roc2Length
Rate of Change length #2.
Roc3Length
public int Roc3Length
value = gpuKnowSureThingParams.Roc3Length
Rate of Change length #3.
Roc4Length
public int Roc4Length
value = gpuKnowSureThingParams.Roc4Length
Rate of Change length #4.
SignalLength
public int SignalLength
value = gpuKnowSureThingParams.SignalLength
Signal line Simple Moving Average length.
Sma1Length
public int Sma1Length
value = gpuKnowSureThingParams.Sma1Length
Simple Moving Average length applied to ROC #1.
Sma2Length
public int Sma2Length
value = gpuKnowSureThingParams.Sma2Length
Simple Moving Average length applied to ROC #2.
Sma3Length
public int Sma3Length
value = gpuKnowSureThingParams.Sma3Length
Simple Moving Average length applied to ROC #3.
Sma4Length
public int Sma4Length
value = gpuKnowSureThingParams.Sma4Length
Simple Moving Average length applied to ROC #4.