GpuSuperTrendResult
StockSharp.Algo.Gpu.Indicators
GPU result for SuperTrend calculation.
Implementa: IGpuIndicatorResult
Métodos
ToValue
public IIndicatorValue ToValue(IIndicator indicator)
result = gpuSuperTrendResult.ToValue(indicator)
Convert GPU result to appropriate indicator value.
- indicator
- The indicator to create value for.
Devuelve: Indicator value compatible with the specified indicator type.
Campos
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).