GpuPeakResult

StockSharp.Algo.Gpu.Indicators

GPU result for Peak calculation.

Implementiert: IGpuIndicatorResult

Methoden

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

Convert GPU result to appropriate indicator value.

indicator
The indicator to create value for.

Rückgabe: Indicator value compatible with the specified indicator type.

Felder

HasValue
public byte HasValue
value = gpuPeakResult.HasValue

Flag indicating presence of a valid value (1 - has value, 0 - empty).

IsFormed
public byte IsFormed
value = gpuPeakResult.IsFormed

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

IsUp
public byte IsUp
value = gpuPeakResult.IsUp

Indicator direction flag (1 - up trend, 0 - down trend).

Shift
public int Shift
value = gpuPeakResult.Shift

Number of bars back to the reported extremum.

Time
public long Time
value = gpuPeakResult.Time

Time in Ticks.

Value
public float Value
value = gpuPeakResult.Value

Calculated peak value.