MA20:MA(C,20),COLORMAGENTA,LINETHICK2;
MA250:MA(C,250),COLORBLUE,LINETHICK3;
{显线}
{均线}
H线:=MA(H,3),COLORRED;
MA5:=MA(C,5),COLORWHITE;
DRAWBAND(H线,RGB(155,0,0),MA5,RGB(0,0,155));
MA10:=MA(C,10),COLORYELLOW;
DRAWBAND(MA5,RGB(255,255,0),MA10,RGB(0,255,255));
DRAWBAND(MA10,RGB(255,0,255),MA20,RGB(0,255,255));
MA60:=MA(C,60),COLORGREEN,LINETHICK3;
MA120:=MA(C,120),COLORGRAY,LINETHICK3;
价:IF(C>REF(C,1),H,L),COLORRED,LINETHICK2;
二十上界:HHV(H,20),COLORMAGENTA,LINETHICK3;
六十上界:HHV(H,60),COLORGREEN,LINETHICK3;
九十上界:HHV(H,90),COLORFFFF00,LINETHICK3;
一二零界:HHV(H,120),COLORGRAY,LINETHICK3;
二五零界:HHV(H,250),COLORBLUE,LINETHICK3;
极致抓妖:=二十上界=六十上界 AND 六十上界=九十上界 AND 九十上界=一二零界 AND 一二零界=二五零界
AND 价>MA5;
牛股:=二十上界=六十上界 AND 六十上界=九十上界 AND 价>MA5 ;
DRAWTEXT(牛股 AND COUNT(牛股,20)=1,MA5-C*1,'股'),COLORRED;
DRAWTEXT(牛股 AND COUNT(牛股,20)=1,MA5-C*0.8,'牛'),COLORRED;
DRAWTEXT(牛股 AND COUNT(牛股,20)=1,MA5-C*0.6,'★'),COLORRED;
DRAWTEXT(极致抓妖 AND COUNT(极致抓妖,20)=1,二五零界+C*1,'★'),COLORYELLOW;
DRAWTEXT(极致抓妖 AND COUNT(极致抓妖,20)=1,二五零界+C*0.8,'极'),COLORYELLOW;
DRAWTEXT(极致抓妖 AND COUNT(极致抓妖,20)=1,二五零界+C*0.6,'致'),COLORYELLOW;
DRAWTEXT(极致抓妖 AND COUNT(极致抓妖,20)=1,二五零界+C*0.4,'抓'),COLORYELLOW;
DRAWTEXT(极致抓妖 AND COUNT(极致抓妖,20)=1,二五零界+C*0.2,'妖'),COLORYELLOW;
DRAWTEXT(极致抓妖 AND COUNT(极致抓妖,20)=1,二五零界+C,'★'),COLORYELLOW;
牛:=价=二十上界 AND 二十上界=六十上界;
DRAWICON(牛 AND COUNT(牛,20)=1 ,H线,34);
DRAWICON(价=二十上界 AND COUNT(价=二十上界,20)=1 ,H线-C/10,1);