{ok.测试通过}n:=8;aa1:=ref(l,n)=llv(l,2*n+1);bb1:=backset(aa1,n+1);cc1:=filter(bb1,n) and l=llv(l,n+1);m:=intpart(3*n/5);aa2:=ref(l,m)=llv(l,2*m+1);bb2:=backset(aa2,m+1);cc2:=filter(bb2,m) and l=llv(l,m+1);cc1 or cc2; 20210311
dif:=ema(dclose,12)-ema(dclose,26);dea:=ema(dif,9);aaa:=(dif-dea)*2*60;起爆:=cross(aaa-ref(aaa,1),15);n:=20;m:=32;p1:=80;p2:=100;var1:=(c+h+o+l)/4;买入:=xma(var1,m)*(1-p2/1000);xg:起爆 and drawtext(cross(lo...
{绿线买}lc:=ref(close,1);操作线:=sma(max(close-lc,0),2,1)/sma(abs(close-lc),2,1)*100;趋势线:=sma(max(close-lc,0),14,1)/sma(abs(close-lc),14,1)*100;震仓线:=45;pp:=操作线<震仓线 and ref(操作线,1)>震仓线 ;涨停:=if(ref(c,1)...
zz:=if(ref(c,1)>ref(o,1) and o>ref(c,1)*1.014 and c<o*1.02,1,3);v5:=ma(v,5);v12:=ma(v,12);v34:=ma(v,34);c6:=ma(c,6);cross(c,c6) and v>v5*1.2 and v>v12*1.2 and zz>2 and c>h*0.975;
tr:=sum(max(max(high-low,abs(high-ref(close,1))),abs(low-ref(close,1))),7);hd:=high-ref(high,1);ld:=ref(low,1)-low;dmp:=sum(if(hd>0 and hd>ld,hd,0),7);dmm:=sum(if(ld>0 and ld>hd,ld,0),7);d...