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.
我想知道如何获取蜡烛量和“计数器”有问题的蜡烛。当我捕捉到tick_volume[rates_total]与使用“音量”指示器时呈现给我的音量不同时。难道我做错了什么?
tick_volume[rates_total]
tick_volume[rates_total]如果从 OnCalculate() 调用应该会导致array out of range错误。tick_volume[rates_total - 1]应该显示最新蜡烛的分时交易量,除非AS_SERIES标志设置为tick_volume. 用于ArraySetAsSeries找出。如果已设置,用于tick_volume[0]获取最新蜡烛的分时交易量。
array out of range
tick_volume[rates_total - 1]
AS_SERIES
tick_volume
ArraySetAsSeries
tick_volume[0]