X_1:=CODELIKE('6') || CODELIKE('30') || CODELIKE('00');
X_2:=CODELIKE('88');
X_3:="999999$AMOUNT"/100000000;
X_4:="399001$AMOUNT"/100000000;
X_5:=X_3+X_4;
X_6:=IF(X_1,CALCSTOCKINDEX(HYZSCODE,'AMO',1)/10000,IF(X_2,AMO/100000000,DRAWNULL));
X_7:=X_6/X_5*100;
X_8:=SMA(X_7,89,1);
两市成交:X_5,NODRAW;
行业成交:X_6,NODRAW;
行业总额比:X_7;
行比均89:X_8;
对比差:X_7,COLORSTICK;
X_9:=VOL*CLOSE/X_6/10000;
个股成交:VOL*CLOSE/10000/100,NODRAW;
个股行业比:IF(X_9<100,X_9,0),COLORYELLOW;
DRAWTEXT_FIX(X_1,0.99,0,1,HYBLOCK),COLORWHITE;
DRAWTEXT_FIX(X_2,0.99,0,1,STKNAME),COLORWHITE;