MA5:MA(CLOSE,5);
MA20:MA(CLOSE,20),colorgreen,LINETHICK1;
MA60:MA(CLOSE,60),colorblue,LINETHICK2;
DRAWKLINE(H,O,L,C);
创业板:=INBLOCK('创业板')>0;
DRAWLINE(CURRBARSCOUNT=90,CONST(C),CURRBARSCOUNT=1,C,3),DOTLINE,coloryellow;
IF(C>=MA(C,5) AND MA(C,5)>=REF(MA(C,5),1),MA5,DRAWNULL),coloryellow,LINETHICK2;
C2:=REF(C,1);
涨停价:IF(CODELIKE('300'),(C-C2)*100/C2>=19.9,(C-C2)*100/C2>=9.9),NODRAW,coloryellow;
涨停:=((C-C2)*100/C2>=19.9 OR (C-C2)*100/C2>=9.9 ) AND C=H ;
STICKLINE(涨停,OPEN,CLOSE,2,0),coloryellow;
STICKLINE(涨停,H,L,0,0),COLORFF66FF;
大阳:=(C-C2)*100/C2>=3.2 AND (C-C2)*100/C2<9.9 AND C>=O ;
STICKLINE(大阳,OPEN,CLOSE,2.5,0),COLORFF00FF;
STICKLINE(大阳,H,L,0,0),COLORFF66FF;
超大阳:=(C-C2)*100/C2>9.9 AND (C-C2)*100/C2<19.9 AND C>=O ;
STICKLINE(超大阳,OPEN,CLOSE,2,0),colorred;
STICKLINE(超大阳,H,L,0,0),COLORFF66FF;
超级大阳:=(C-C2)*100/C2>19.9 ;
STICKLINE(超级大阳,OPEN,CLOSE,2,0),colorblue;
STICKLINE(超级大阳,H,L,0,0),colorblue;