nn:=barslast(date<>ref(date,1))+1;
条件:ref(all(c<o and ref(c<o,1) and ref(c<o,2 and c<ref(c,1) and ref(c,1)<ref(c,2)),kk),nn);//kk是下午的k线数量
opbars:ENTERBARS;
时:exist(tim,opbars);
老师帮我看看这个为什么不行,应该怎么改?
tim是个变量
不行就调试一下,看看是tim不行还是opbars不行
http://www.weistock.com/bbs/dispbbs.asp?BoardID=4&ID=1246&replyID=&skin=1
条件都单独列出来了,为何还要把条件写进IF里面?