圖表交易,K線周期是1分鐘,開盤后的前30秒不交易,怎么寫
cond1:=(time0-timetot0(dynainfo(207))<=30) or not(islastbar);
if cond1 then buy();