f:=intpart(abs(c-ref(c,1))/c*100+0.1);t:=barstlast(h=l and (f=5 or f=10));q1:=(t<20);这里q1就是第一个条件。第2个条件没法准确理解你的意思,如果是指20日内每天开盘价和收盘价在一字板之上的话,写为q2:=(llv(min(c,open),20)>=ref(c,t) );如果指最后这天在那个价上的话,写...
n:=55;wl:=(close-ma(close,6))/ma(close,6)*100;wlt:=ma(wl,89);wlt1:=cross(wl,wlt);wlt11:=cross(wl,-10);wlt2:=filter(wlt1,8);t1:=wlt11 or wlt2;t2:=ref("kdj.j",1)...
缘分。不要使用别人的均线交叉,不准a1:=(close-ma(c,18))>0;a2:=count(a1,m)<3;a3:=count(a1,m)>1;a4:=abs(c-ma(c,x))/ma(c,18)<0.004;a5:=c-ref(c,1)<0;a6:=c>=ma(c,18);a2 and a3 and a4 and a5 and a6;不懂加入我的百度...