XA_1:=30;
个股强弱:(CLOSE-MA(CLOSE,XA_1))/MA(CLOSE,XA_1)*100,COLORWHITE;
行业强弱:(HY_INDEXC-MA(HY_INDEXC,XA_1))/MA(HY_INDEXC,XA_1)*100,COLORYELLOW,LINETHICK2;
大盘强弱:(INDEXC-MA(INDEXC,XA_1))/MA(INDEXC,XA_1)*100,COLORRED,LINETHICK4;
DRAWTEXT(CURRBARSCOUNT=6,行业强弱,HYBLOCK),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=3,大盘强弱,ZSBLOCK),COLORRED;