GpuIchimokuParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU Ichimoku calculation.
构造函数
GpuIchimokuParams
public GpuIchimokuParams(int tenkanLength, int kijunLength, int senkouBLength)
gpuIchimokuParams = GpuIchimokuParams(tenkanLength, kijunLength, senkouBLength)
Parameter set for GPU Ichimoku calculation.
- tenkanLength
- Tenkan-sen length.
- kijunLength
- Kijun-sen length.
- senkouBLength
- Senkou Span B length.
方法
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuIchimokuParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
字段
SenkouBLength
public int SenkouBLength
value = gpuIchimokuParams.SenkouBLength
Senkou Span B period length.
TenkanLength
public int TenkanLength
value = gpuIchimokuParams.TenkanLength
Tenkan-sen period length.