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