STICKLINE(INDEXC =INDEXO,INDEXC,INDEXO,2,0),COLORRED;
STICKLINE(INDEXC =INDEXO,INDEXH,INDEXL,0.00000001,0),COLORRED;
STICKLINE(INDEXC INDEXO,INDEXC,INDEXO,2,0),COLORLIBLUE;
STICKLINE(INDEXC INDEXO,INDEXH,INDEXL,0.00000001,0),COLORLIBLUE;
M5:MA(INDEXC,5);
M10:MA(INDEXC,10);
M20:MA(INDEXC,20);
M60:MA(INDEXC,60);
个股涨幅:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);
大盘涨幅:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1);
DRAWTEXT(个股涨幅 大盘涨幅,INDEXH+50,'强'),COLORRED;
DRAWTEXT(个股涨幅 大盘涨幅,INDEXL-50,'弱'),COLORGREEN;
DRAWTEXT(个股涨幅=大盘涨幅,INDEXH+25,'平'),COLORGREEN;