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.