GpuRelativeVigorIndexResult
StockSharp.Algo.Gpu.Indicators
GPU result for Relative Vigor Index (RVI) calculation.
方法
ToValue
public IIndicatorValue ToValue(IIndicator indicator)
result = gpuRelativeVigorIndexResult.ToValue(indicator)
Convert GPU result to appropriate indicator value.
- indicator
- The indicator to create value for.
返回值: Indicator value compatible with the specified indicator type.
字段
Average
public float Average
value = gpuRelativeVigorIndexResult.Average
Weighted average value of the RVI.
IsFormed
public byte IsFormed
value = gpuRelativeVigorIndexResult.IsFormed
Is indicator formed (byte to be GPU-friendly).
Signal
public float Signal
value = gpuRelativeVigorIndexResult.Signal
Weighted signal value of the RVI.