Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我应该使用哪个函数来查找单个蜡烛的更高的高点和更低的低点?
例如之前的 30 支蜡烛,正好是 -30。蜡烛信息并绘制它们?
谢谢指教
如果您想找到给定数量的柱的最高或最低值,您可以使用highest()or lowest():
highest()
lowest()
h = highest(high, 30) l = lowest(low, 30)
或者,如果您想获得正好 30 根柱线之前的值,您可以使用历史参考运算符[]:
[]
h = high[30] l = low[30]