通达信平台支撑线划线主图指标 源码分享 附图

{强势板块副图源码如下}

DRAWGBK(C>0,RGB(0,50,70),RGB(0,0,0),0,'2 ',0);

涨家:ADVANCE,NODRAW;
跌家:DECLINE,NODRAW;
Z:=涨家+1;
D:=跌家+1;
涨幅:(C-REF(C,1))/REF(C,1)*100,NODRAW,COLOR00FFFF;
涨比:Z/(Z+D)*100,NODRAW;
YX:=C>O OR (C=O AND C>REF(C,1));
沪涨幅:("999999$C"-REF("999999$C",1))/REF("999999$C",1)*100,NODRAW;
深涨幅:("399001$C"-REF("399001$C",1))/REF("399001$C",1)*100,NODRAW;
HSZ:=(沪涨幅+深涨幅)/2;
强势:涨比>80 {AND REF(EVERY(涨比<80,2),1)} AND YX AND 涨幅>HSZ+1;

沪深涨家:DYNAINFO(60),NODRAW,COLOR8080FF;
沪深跌家:DYNAINFO(61),NODRAW,COLOR00FF00;
涨跌净家:DYNAINFO(60)-DYNAINFO(61),NODRAW,COLORFFFF00;
沪深涨比:DYNAINFO(60)/(DYNAINFO(60)+DYNAINFO(61))*100,NODRAW,COLORFF00FF ;
沪深涨停家:"880006$C" NODRAW, COLOR0000FF;
沪深跌停家:"880006$O" NODRAW, COLOR00FF00;

DRAWTEXT_FIX(C>O,0.01,0.1,0,'选取原则:'),COLORRED;
DRAWTEXT_FIX(C>O,0.01,0.2,0,'1.当天板块内上涨个股比例80%以上'),COLORRED;
DRAWTEXT_FIX(C>O,0.01,0.3,0,'2.当天板块指数涨幅大于沪深平均涨幅1%'),COLORRED;



{强势板块主图源码如下}

DRAWGBK(C>0,RGB(0,50,70),RGB(0,0,0),0,'2 ',0);

MA5:MA(C,5),COLORRED;
NOTEXT1:IF(MA5<REF(MA5,1) OR C<MA5,MA5,DRAWNULL),COLORGREEN;

DRAWKLINE(H,O,L,C);

涨家:ADVANCE,NODRAW;
跌家:DECLINE,NODRAW;
Z:=涨家+1;
D:=跌家+1;
涨幅:(C-REF(C,1))/REF(C,1)*100,NODRAW,COLOR00FFFF;
涨比:Z/(Z+D)*100,NODRAW;
YX:=C>O OR (C=O AND C>REF(C,1));
沪涨幅:("999999$C"-REF("999999$C",1))/REF("999999$C",1)*100,NODRAW;
深涨幅:("399001$C"-REF("399001$C",1))/REF("399001$C",1)*100,NODRAW;
HSZ:=(沪涨幅+深涨幅)/2;
DRAWICON(涨比>80 {AND REF(EVERY(涨比<80,2),1)} AND YX AND 涨幅>HSZ+1,L*0.99,1);

沪深涨家:DYNAINFO(60),NODRAW,COLOR8080FF;
沪深跌家:DYNAINFO(61),NODRAW,COLOR00FF00;
涨跌净家:DYNAINFO(60)-DYNAINFO(61),NODRAW,COLORFFFF00;
沪深涨比:DYNAINFO(60)/(DYNAINFO(60)+DYNAINFO(61))*100,NODRAW,COLORFF00FF ;
沪深涨停家:"880006$C" NODRAW, COLOR0000FF;
沪深跌停家:"880006$O" NODRAW, COLOR00FF00;


DRAWTEXT_FIX(C>O,0.01,0.05,0,'选取原则:'),COLORRED;
DRAWTEXT_FIX(C>O,0.01,0.1,0,'1.当天板块内上涨个股比例80%以上'),COLORRED;
DRAWTEXT_FIX(C>O,0.01,0.15,0,'2.当天板块指数涨幅大于沪深平均涨幅1%'),COLORRED;






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

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

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