XA_1:=IF(INDEXC="999999$CLOSE",562,IF(INDEXC="399001$CLOSE",563,IF(INDEXC="399005$CLOSE",564,IF(INDEXC="399006$CLOSE",565,DRAWNULL))));
DRAWTEXT_FIX(ISLASTBAR,0,0,0,XA_1),COLORCYAN;
点位:INDEXC,NODRAW,COLORWHITE;
NOTEXTM5:MA(INDEXC,5),COLORWHITE;
NOTEXTMA10:MA(INDEXC,10),COLORYELLOW;
NOTEXTMA30:MA(INDEXC,30),COLORMAGENTA;
NOTEXTMA60:MA(INDEXC,60),COLORGREEN;
DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);
成交额(亿):INDEXA/100000000,NODRAW,COLORYELLOW;
上涨:INDEXADV,NODRAW,COLORRED;
下跌:INDEXDEC,NODRAW,COLORGREEN;
涨跌比%:上涨/(上涨+下跌)*100,NODRAW,COLORFF8080;
XA_2:="999999$ADVANCE";
XA_3:="999999$DECLINE";
XA_4:="399001$ADVANCE";
XA_5:="399001$DECLINE";
XA_6:=EXIST(vol>OPEN,250);
A股上涨:XA_2+XA_4,NODRAW,COLORGRAY;
A股下跌:XA_3+XA_5,NODRAW,COLORGRAY;
A股涨跌比%:A股上涨*100/(A股上涨+A股下跌),NODRAW,COLORGRAY;