GpuSuperTrendResult
StockSharp.Algo.Gpu.Indicators
GPU result for SuperTrend calculation.
メソッド
ToValue
public IIndicatorValue ToValue(IIndicator indicator)
result = gpuSuperTrendResult.ToValue(indicator)
Convert GPU result to appropriate indicator value.
- indicator
- The indicator to create value for.
戻り値: Indicator value compatible with the specified indicator type.
フィールド
IsFormed
public byte IsFormed
value = gpuSuperTrendResult.IsFormed
Is indicator formed (byte to be GPU-friendly).
IsUpTrend
public byte IsUpTrend
value = gpuSuperTrendResult.IsUpTrend
Trend direction flag (1 - uptrend, 0 - downtrend).