显1:=1;X_1:=30;:(CLOSE-MA(CLOSE,X_1))/MA(CLOSE,X_1)*100,COLORWHITE;强弱:(HY_INDEXC-MA(HY_INDEXC,X_1))/MA(HY_INDEXC,X_1)*100,COLORYELLOW,LINETHICK2;强弱:(INDEXC-MA(INDEXC,X_1))/MA(INDEXC,X_1)*100,COLORRED,LINETHICK4;DRAWTEXT(CURRBARSCOUNT=6,行业强弱,HYBLOCK),COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=3,大盘强弱,ZSBLOCK),COLORRED;{======显示位置的数据自己根据需要进行上下左右======}四排位置:=0.028;横向左右位置:=0.005;{============}煤炭A:=("880301$C"-REF("880301$C",1))/REF("880301$C",1)*100;电力A:=("880305$C"-REF("880305$C",1))/REF("880305$C",1)*100;石油