VAR1:=EMA(SLOPE(MA(C,2),21)*20+MA(C,2),55);
VAR2:=MA(VAR1,20);
VAR3:=IF(C>VAR1,C*0.98,L);
VAR4:=MA(VAR3,5);
VAR5:=MA(VAR4,5);
VAR6:=CROSS(C,VAR5) AND EXIST(CROSS(VAR1,C),5);
VAR7:=CROSS(C,VAR1);
VAR8:=CROSS(C,VAR2);
VAR9:=C>REF(C,1) AND C/REF(C,1)<1.031;
VAR10:=V>REF(V,1)*FROMOPEN/240;
VAR11:=C/VAR1<1.21;
VAR12:=VAR6+VAR7+VAR8+VAR9+VAR10+VAR11;
VAR13:=CROSS(VAR4,C);
VAR14:=CROSS(VAR1,C);
VAR15:=CROSS(VAR1,C);
VAR16:=C/REF(C,1)<0.98;
VAR17:=V
VAR18:=C/VAR1>1.2;
VAR28:=VAR13+VAR14+VAR15+VAR16+VAR17+VAR18;
VAR29:=V/(REF(V,1)*FROMOPEN/240);
DRAWRECTREL(200,10,800,990,90);
DRAWRECTREL(500,100,501,990,60);
DRAWRECTREL(200,100,800,100,60);
DRAWRECTREL(200,200,800,200,60);
DRAWRECTREL(200,300,800,300,60);
DRAWRECTREL(200,400,800,400,60);
DRAWRECTREL(200,500,800,500,60);
DRAWRECTREL(200,600,800,600,60);
DRAWRECTREL(200,700,800,700,60);
DRAWRECTREL(200,800,800,800,60);
DRAWRECTREL(200,900,800,900,60);
DRAWTEXT_FIX(1,0.53,0.05,1,'慧 眼 识 牛'),COLORYELLOW;
DRAWTEXT_FIX(1,0.35,0.15,1,'买 入 条 件'),COLORYELLOW;
DRAWTEXT_FIX(1,0.65,0.15,1,'卖 出 理 由'),COLORYELLOW;
DRAWTEXT_FIX(1,0.29,0.25,1,'股价上穿短 B'),COLORYELLOW;
DRAWTEXT_FIX(1,0.29,0.35,1,'股价上穿中线'),COLORYELLOW;
DRAWTEXT_FIX(1,0.29,0.45,1,'股价上穿长线'),COLORYELLOW;
DRAWTEXT_FIX(1,0.317,0.55,1,'股价收阳且小于 3点'),COLORYELLOW;
DRAWTEXT_FIX(1,0.29,0.65,1,'量大于昨同期'),COLORYELLOW;
DRAWTEXT_FIX(1,0.297,0.75,1,'乖离率小于 1.2'),COLORYELLOW;
DRAWTEXT_FIX(1,0.27,0.95,1,'买入评分'),COLORYELLOW;
DRAWTEXT_FIX(1,0.585,0.25,1,'股价下穿短 A'),COLORGREEN;
DRAWTEXT_FIX(1,0.585,0.35,1,'股价下穿中线'),COLORGREEN;
DRAWTEXT_FIX(1,0.585,0.45,1,'股价下穿长线'),COLORGREEN;
DRAWTEXT_FIX(1,0.604,0.55,1,'股价收阴且小于-2'),COLORGREEN;
DRAWTEXT_FIX(1,0.585,0.65,1,'量小于昨同期'),COLORGREEN;
DRAWTEXT_FIX(1,0.592,0.75,1,'乖离率大于 1.2'),COLORGREEN;
DRAWTEXT_FIX(1,0.567,0.95,1,'卖出评分'),COLORGREEN;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.48,0.25,1,VAR6);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.48,0.35,1,VAR7);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.48,0.45,1,VAR8);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.48,0.55,1,VAR9);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.48,0.65,1,VAR10);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.48,0.75,1,VAR11);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.48,0.95,1,VAR12);
DRAWRECTREL(930,500,970,990,0);
DRAWRECTREL(930,CONST(990-VAR12*100),970,990,95);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.92,0.95,1,VAR12),COLORRED;
DRAWTEXT_FIX(1,0.98,0.75,1,'买入评分'),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.78,0.25,1,VAR13);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.78,0.35,1,VAR14);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.78,0.45,1,VAR15);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.78,0.55,1,VAR16);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.78,0.65,1,VAR17);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.78,0.75,1,VAR18);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.78,0.95,1,VAR28);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.32,0.65,1,VAR29),COLOR00FFFF;