这样就可以:ma05:=ma(c,5);ma30:=ma(c,30);五日乖离率:=(c-ma05)/ma05*100;三拾日乖离率:=(c-ma30)/ma30*100;买入:count(cross(五日乖离率,0),3)>=1 and 三拾日乖离率>ref(三拾日乖离率,1) and ma05>ref(ma05,1) and (c/ref(c,1)-1)*100>5 a...
n:=5;mtm:=c-ref(c,1);dx1:=100*ema(ema(mtm,n),n)/ema(ema(abs(mtm),n),n);买1:=if(llv(dx1,2)=llv(dx1,7) and count(dx1<0,2) and cross(dx1,ma(dx1,2)),1,0);xgyj:filter(买1=1,5);{你说的那2个买点其实只是一个条件,一条是用文字标注,一...