GpuSuperTrendResult

StockSharp.Algo.Gpu.Indicators

GPU result for SuperTrend calculation.

Реализует: IGpuIndicatorResult

Методы

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).

SuperTrend
public float SuperTrend
value = gpuSuperTrendResult.SuperTrend

SuperTrend line value.

Time
public long Time
value = gpuSuperTrendResult.Time

Time in Ticks.