支撑线4%:(DYNAINFO(3))*0.96,LINETHICK2,COLORFF0000;
阻力线4%:(DYNAINFO(3)*1.04),LINETHICK2,COLORFF0000;
{STICKLINE(C=C,阻力线4%,支撑线4%,10,0),COLORBLUE;}
DRAWBAND(支撑线4%,RGB(0,0,255),阻力线4%,RGB(0,0,255));
黑线1:(DYNAINFO(3))*0.955,COLOR000000;
黑线2:(DYNAINFO(3)*1.049),COLOR000000;
支撑线2%:(DYNAINFO(3))*0.98,LINETHICK2,COLORFF0000;
阻力线2%:(DYNAINFO(3)*1.02),LINETHICK2,COLORAAAA00;
DRAWBAND(支撑线2%,RGB(30,144,255),阻力线2%,RGB(30,144,255));
DRAWNUMBER(ISLASTBAR,支撑线2%,(支撑线2%)),COLORAAAA00;
DRAWNUMBER(ISLASTBAR,支撑线4%,(支撑线4%)),COLORFF0000;
DRAWNUMBER(ISLASTBAR,阻力线2%,(阻力线2%)),COLORAAAA00;
DRAWNUMBER(ISLASTBAR,阻力线4%,(阻力线4%)),COLORFF0000;
昨收盘:(DYNAINFO(3)),LINETHICK2,COLORFF6800;
阻力:DYNAINFO(5),COLOR0000FF,LINETHICK1;
支撑:DYNAINFO(6),COLOR0000FF,LINETHICK1;
现价:CLOSE,COLOR0000FF,LINETHICK2;
分时均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW;
DRAWNUMBER(ISLASTBAR,现价,(现价)),COLOR0000FF;
昨收:DYNAINFO(3),COLORFF9900,crOSSDOT,LINETHICK1;
预涨幅4%:昨收*1.04,COLORFF9900;
DRAWTEXT_FIX(1,0.75,0.17,0,STRCAT(STRCAT('预涨幅4% ',CON2STR(预涨幅4%,2)),'元 卖')),LINETHICK2,COLORFFFFFF;
预跌幅4%:昨收*0.96,COLORFF9900;
DRAWTEXT_FIX(1,0.75,0.83,0,STRCAT(STRCAT('预跌幅4% ',CON2STR(预跌幅4%,2)),'元 买')),LINETHICK2,COLORFFFFFF;
预涨幅2%:昨收*1.02,COLORFF9900;
DRAWTEXT_FIX(1,0.45,0.17,0,STRCAT(STRCAT('预涨幅2% ',CON2STR(预涨幅2%,2)),'元 卖')),LINETHICK2,COLORFFFFFF;
预跌幅2%:昨收*0.98,COLORFF9900;
DRAWTEXT_FIX(1,0.45,0.83,0,STRCAT(STRCAT('预跌幅2% ',CON2STR(预跌幅2%,2)),'元 买')),LINETHICK2,COLORFFFFFF;