var2:=trou**ars(3,15,1)<10;var3:=peakbars(3,15,1)<10;var4:=if(var2=1,50,0);var5:=if(var3=1,50,0);底部:=if(var4=50,10,0);买入:=if(底部=10 and ref(底部,1)=10 and ref(底部,2)=0,50,0);选股:买入=50;
wy1001:=(2*close+high+low)/4;wy1002:=ema(wy1001,4);wy1003:=ema(wy1002,4);wy1004:=ema(wy1003,4);xys0:=(wy1004-ref(wy1004,1))/ref(wy1004,1)*100;xys1:=ma(xys0,2);xys2:=ma(xys0,1);红箭:cross(xys2,xys1) and ...