GpuPriceChannelsResult

StockSharp.Algo.Gpu.Indicators

GPU result for Price Channels calculation.

Implements: IGpuIndicatorResult

Methods

ToValue
public IIndicatorValue ToValue(IIndicator indicator)
result = gpuPriceChannelsResult.ToValue(indicator)

Convert GPU result to appropriate indicator value.

indicator
The indicator to create value for.

Returns: Indicator value compatible with the specified indicator type.

Fields

IsFormed
public byte IsFormed
value = gpuPriceChannelsResult.IsFormed

Is indicator formed (byte to be GPU-friendly).

Lower
public float Lower
value = gpuPriceChannelsResult.Lower

Lower channel value.

Time
public long Time
value = gpuPriceChannelsResult.Time

Time in Ticks.

Upper
public float Upper
value = gpuPriceChannelsResult.Upper

Upper channel value.