说明
序列数据,当前K线的最高价。
high
语法版本需要 // @version=2
返回值
数值序列
例子
// 1. 获取当前最高价
h = high
// 2. 计算最近10根K线的最高价
// 注意:highest函数通常比循环更高效
h10 = highest(high, 10)
// 3. 可视化
plot(h, title="High Price", color="red", lineWidth=1, lineDash=[0], display=true, offset=0, showLast=-1, trackPrice=false, excludeRange=false)