去ST:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S'));
去停牌:=DYNAINFO(4)>1 ;
PC:=去ST AND 去停牌;
AA05:=MA(C,5);
BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;
AA10:=MA(C,10);
BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;
AA30:=MA(C,30);
BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416;
強勢選股:FILTER(BB30>30 AND BB10>45 AND crOSS(BB05,60),10) AND CODELIKE('300')>0;
A:=vol*CLOSE;
B:=SUM(A,1)/SUM(VOL,1);
B1:=EMA(B,17);
主力:(B-B1)*100/B,COLORRED NODRAW;
進:STICKLINE(主力>=0 AND 0>=REF(0,1),0,主力,2,0),COLORRED;
出:STICKLINE(主力<0 AND 0>=REF(0,1),0,主力,2,0),COLORGREEN;
中軸線:=0,COLORBLacK;
強勢主力資金:(PC AND 強勢選股=1 AND CROSS(主力,O) AND 主力>0)*10,NODRAW,COLORYELLOW,LINETHICK5;
STICKLINE(強勢主力資金,0,10,3,0),COLORYELLOW;