ma5:=MA(C,5);
ma20:=MA(C,20);
ma90:=MA(C,90);
v0:=ma(c,5)>ref(ma(c,5),1) and ma(c,20)>ref(ma(c,20),1) and c>ma(c,5)
and ma(c,5)>ma(c,20) ; {均线c,ma3,ma5多头排列并向上;}
角度ma5:=atan((ma5/ref(ma5,1)-1)*100)*180/3.1416;
角度ma20:=atan((ma20/ref(ma20,1)-1)*100)*180/3.1416;
角度ma90:=atan((ma90/ref(ma90,1)-1)*100)*180/3.1416;
角度选股:if(角度ma5>30and ma(c,250)>ref(ma(c,250),1),
1,0),color00fF00;