GpuConnorsRsiParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Connors RSI calculation.
构造函数
GpuConnorsRsiParams
public GpuConnorsRsiParams(int rsiLength, int streakRsiLength, int rocRsiLength, byte priceType)
gpuConnorsRsiParams = GpuConnorsRsiParams(rsiLength, streakRsiLength, rocRsiLength, priceType)
Parameter set for GPU Connors RSI calculation.
- rsiLength
- RSI length.
- streakRsiLength
- Streak RSI length.
- rocRsiLength
- ROC RSI length.
- priceType
- Price type.
方法
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuConnorsRsiParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
字段
PriceType
public byte PriceType
value = gpuConnorsRsiParams.PriceType
Price type to extract from candles.
StreakRsiLength
public int StreakRsiLength
value = gpuConnorsRsiParams.StreakRsiLength
Up/down RSI length.