今早9点开盘价:if(time>closetime(1),valuewhen(ref(time=closetime(1),1),open),DRAWNULL);
昨晚9点开盘价:if(time>OPENTIME(1) and time<=closetime(1), valuewhen(ref(time=closetime(0),1),open),DRAWNULL);
在有夜盘时,//closetime(1)=0630000//
在没有有夜盘时,closetime(1)=??????closetime(1)的返回值是多少?
在没有夜盘时今早9点开盘价,该怎样表示?
没有夜盘是10点一刻
没有夜盘的开盘价:valuewhen(todaybar=1,open)
再请问,如何得到本根K线的时间,及N根K线之前的时间?谢谢