GpuTroughResult

StockSharp.Algo.Gpu.Indicators

GPU result for Trough (ZigZag lows) calculation.

Implementa: IGpuIndicatorResult

Métodos

ToValue
public IIndicatorValue ToValue(IIndicator indicator)
result = gpuTroughResult.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 = gpuTroughResult.IsFormed

Is indicator formed (byte to remain GPU friendly).

IsUp
public byte IsUp
value = gpuTroughResult.IsUp

Is extremum detected on up trend (byte to remain GPU friendly).

Shift
public int Shift
value = gpuTroughResult.Shift

Shift (number of bars back to the extremum).

Time
public long Time
value = gpuTroughResult.Time

Time in Ticks.

Value
public float Value
value = gpuTroughResult.Value

Calculated extremum value.