klines = api.get_kline_serial("DCE.p2109", 3600, data_length=36) boll = BOLL(klines, 26, 2) topline = boll["top"] bottomline = boll["bottom"] cro1 = close_seris>topline and ref(close_seris,1)<ref(topline,1)...
请教,如何计算“最近一次价格突破BOLL指标上轨到当前的周期数”? barlast函数的cond 类型?
[Form id="6"]