N:=50;
换手率抓牛股:=5;
选股指标公式:=10;
LG:=240;
N54:=12;{通达信公式-通达信指标www.gs6699.com}
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
A:=SMA(RSV,换手率抓牛股,1);
B:=SMA(A,选股指标公式,1);
E:=3*A-2*B;
KKK:=100;
K:=MA(A,3);
D:=MA(B,3);
J:=MA(E,3);
VARB1:=ZIG(3,96/N54);
vvvdd1:IF( REF(VARB1,2)<REF(VARB1,1) AND VARB1<REF(VARB1,1),-25,0),COLORFF8000,LINETHICK3;
vvvdd2:IF( REF(VARB1,2)<REF(VARB1,1) AND VARB1<REF(VARB1,1),-25,0),COLORWHITE,LINETHICK1;
DRAWICON(REF(VARB1,2)<REF(VARB1,1) AND VARB1<REF(VARB1,1),-23,28);
vvvdd3: IF(REF(VARB1,2)>REF(VARB1,1) AND VARB1>REF(VARB1,1),25,0),COLOR8000FF,LINETHICK3;
vvvdd6: IF(REF(VARB1,2)>REF(VARB1,1) AND VARB1>REF(VARB1,1),25,0),COLORYELLOW,LINETHICK1;
DRAWICON(REF(VARB1,2)>REF(VARB1,1) AND VARB1>REF(VARB1,1),25,23);