通达信不破不立分时主图指标公式

[复制链接]
查看241 | 回复0 | 2021-8-20 21:38:23 | 显示全部楼层 |阅读模式

支撑线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;

202108201529.jpg

202108201529.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则