GpuZigZagResult

StockSharp.Algo.Gpu.Indicators

GPU result for ZigZag calculation.

実装: IGpuIndicatorResult

メソッド

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

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

IsUp
public byte IsUp
value = gpuZigZagResult.IsUp

Direction flag of the last extremum.

Shift
public int Shift
value = gpuZigZagResult.Shift

Number of bars back to the reported extremum.

Time
public long Time
value = gpuZigZagResult.Time

Time in Ticks.

Value
public float Value
value = gpuZigZagResult.Value

Calculated ZigZag value.