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.
如何获得资产的最大可用柱?
谢谢
您无法事先知道数据集中有多少条柱。 知道这一点的唯一方法是bar_index在最后一个栏上显示 。
bar_index
//@version=5 indicator("My Script", overlay=true) if barstate.islast label.new(bar_index, high, str.tostring(bar_index))