通达信不破不立源码

{不破不立分时,主图}

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

支撑线1%:(DYNAINFO(3))*0.99,LINETHICK2,COLORFF0000;

阻力线1%:(DYNAINFO(3)*1.01),LINETHICK2,COLORAAAA00;

DRAWBAND(支撑线1%,RGB(30,200,255),阻力线1%,RGB(30,200,255));

DRAWNUMBER(ISLASTBAR,阻力线1%,(阻力线1%)),COLORAAAA00;

DRAWNUMBER(ISLASTBAR,支撑线1%,(支撑线1%)),COLORAAAA00;

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;

昨收:DYNAINFO(3),COLORFF9900,CROSSDOT,LINETHICK1;

现价:CLOSE,COLOR0000FF,LINETHICK2;

分时均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW;

DRAWNUMBER(ISLASTBAR,现价,(现价)),COLOR0000FF;

预涨幅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;

预涨幅1%:昨收*1.01,COLORFF9900;

DRAWTEXT_FIX(1,0.15,0.17,0,STRCAT(STRCAT('预涨幅1% ',CON2STR(预涨幅1%,2)),'元 卖')),LINETHICK2,COLORFFFFFF;

预跌幅1%:昨收*0.98,COLORFF9900;

DRAWTEXT_FIX(1,0.15,0.83,0,STRCAT(STRCAT('预跌幅1% ',CON2STR(预跌幅1%,2)),'元 买')),LINETHICK2,COLORFFFFFF;
 




未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图