ma3:=ma(close,20);ma4:=ma(close,60);ma5:=ma(close,120);y1:=c>ma1 and o;y2:=c>ma2 and o;y3:=c>ma3 and o;y4:=c>ma4 and o;y5:=c>ma5 and o;xg:y1+y2+y3+y4+y5>=3;一阳...
ma1:=ma(c,5);ma2:=ma(c,10);ma3:=ma(c,30);hh:=max(ma1,max(ma2,ma3));ll:=min(ma1,min(ma2,ma3));aa:=o<ll and c>hh;上次天数:=count(barslast(aa),5);xg:count(o<ll and c>hh,5)=2 and ref(v,上次天数)>v;...
改好了,你试试吧m1:=ma(c,5),coloryellow;m2:=ma(c,10),colorcyan;m3:=ma(c,20),colorgreen;m4:=ma(c,60),colorred,linethick2;最大值:=max(max(m1,m2),max(m3,m4)); 最小值:=min(min(m1,m2),min(m3,m4)); 选股:o<=最小值 and c>...
m1:=ma(c,5);m2:=ma(c,10);m3:=ma(c,20);m4:=ma(c,30);m5:=ma(c,60);一阳1:=o<m1 and c>m1;一阳2:=o<m2 and c>m2;一阳3:=o<m3 and c>m3;一阳4:=o<m4 and c>m4;一阳5:=o<m5 and c>m5;一阳三线:一阳1+一阳...