VAR1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA
(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
VAR2:=EMA(VAR1,8);
VAR3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA
(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
牛势:EMA(VAR3,3)-10,COLOR800080;
天线:IF(牛势>76,牛势,80),COLORGREEN;
DRAWICON(CROSS(牛势,0),0,1);
VAR4:=(牛势-REF(牛势,1))/REF(牛势,1)*100;
STICKLINE(牛势>=90 AND VAR4,0,30,5,0),COLORGRAY;
VAR5:=MA(牛势,8);
抓牛选股:IF(CROSS(VAR2,VAR5) AND VAR2<15,50,0),COLORRED;