MA13:MA(CLOSE,13),COLORYELLOW,LINETHICK0;
MA21:MA(CLOSE,21),COLORMAGENTA,LINETHICK0;
MA55:MA(CLOSE,55),COLORGRAY,LINETHICK0;
MA89:MA(CLOSE,89),COLORGRAY,LINETHICK0;
STICKLINE(MA21>=MA89,MA21,MA89,(-1),(-1)),COLORRED;
STICKLINE(MA21<MA89,MA21,MA89,(-1),(-1)),COLORGRAY;
DRAWBAND(MA55,RGB(255,0,255),MA89,RGB(0,0,255));
DRAWBAND(MA13,RGB(255,0,0),MA21,RGB(0,255,0));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
XA_1:=(HIGH+LOW+CLOSE*2)/4;
XA_2:=EMA(XA_1,10);
XA_3:=STD(XA_1,10);
XA_4:=(XA_1-XA_2)*100/XA_3;
XA_5:=EMA(XA_4,5);
XA_6:=EMA(XA_5+55,9);
牛股基因:XA_6>100 AND CLOSE>MA(CLOSE,21) AND MA(CLOSE,13)>MA(CLOSE,21) AND MA(CLOSE,21)>MA(CLOSE,55) AND MA(CLOSE,55)>MA(CLOSE,144),NODRAW;
超级牛股:牛股基因 AND REF(牛股基因,1)=0,NODRAW,COLORRED;
DRAWICON(牛股基因,MA(CLOSE,34),1);