//天天躺赢 手机看盘指标
ALUSR:=IF(COUNTTIME(DATE,dn1,3)>0,TRUE,FALSE);
IF(ALUSR!=TRUE){DRAWTEXT_FIX(ISLASTBAR,0.95,0.5,1,'过期许可'),color0045FF;RETURN;}
SL:=EMA(SLOPE(C,21)*20+C,42);
OJB:=OPENVOL/REF(VOL,1)*100;
STICKLINE(BL>=SL,C,O,4,0),color0000cc;
STICKLINE(BL>=SL,C,O,2,0),color0000ee;
STICKLINE(BL<SL,C,O,4.5,0),color00aa00;
STICKLINE(BL<SL,C,O,3,0),color00cc00;
STICKLINE(BL<SL,L,H,1,0),color00ff00;
情绪:IF(REF(MONEY,1)/100000000>10,OJB*2,OJB),linethick1,coloryellow;
DOJB:=IF(REF(MONEY,1)/100000000>10,OJB*2,OJB);
cRS:=(C-REF(C,1))/REF(C,1)*100;
rate:=IF(STRLEFT(CODE, 2) == '30' OR STRLEFT(CODE, 2) == '68',1.2,1.1);
MXP:=IF(MXP-FLOOR(MXP)<0.5,FLOOR(MXP),CEIL(MXP));
zt01:=IF(INTPART(C*100)/100==ROUND(REF(C,1)*1.1*100)/100 OR INTPART(C*100)/100==INTPART(REF(C,1)*1.1*100)/100,TRUE,FALSE);
is_zt:=IF(zt01 OR zt02,TRUE,FALSE);
is_ozt:=IF(O==MXP,TRUE,FALSE);
FZT:=IF(is_zt AND REF(is_zt,1) !=TRUE,TRUE,FALSE);
xjy02:=IF(REF(xjy01,1) AND is_zt,TRUE,FALSE);
DRAWGBK(xjy01),colorcyan;
DRAWGBK(xjy03),colorred;