通达信增减持布林线主图指标 源码

Z1:=STRCAT(HYBLOCK,' ');
 Z2:=STRCAT(Z1,DYBLOCK);
 Z3:=STRCAT(Z2,' ');
 DRAWTEXT_FIX(1,0.00,0.21,0,'概念版块:')COLORFFFF00;
 DRAWTEXT_FIX(ISLASTBAR,0.06,0.21,0,STRCAT(Z3,GNBLOCK)),COLORFFFF00;
 DRAWTEXT_FIX(FINANCE(51)<>0,0.95,0.45,0,'含可转债')COLORYELLOW;

DRAWTEXT_FIX(1,0.00,0.00,0,'主题投资:')COLOR0000FF;
 DRAWTEXT_FIX(1,0.06,0.00,0,EXTERNSTR(0,2))COLOR0000FF;
 DRAWTEXT_FIX(1,0.00,0.07,0,'主营业务:')COLORFF00FF;
 DRAWTEXT_FIX(1,0.06,0.07,0,EXTERNSTR(0,1))COLORFF00FF;
 DRAWTEXT_FIX(1,0.00,0.14,0,'公司亮点:')COLOR00FF00;
 DRAWTEXT_FIX(1,0.06,0.14,0,EXTERNSTR(0,10))COLOR00FF00;

BK:=IF(INBLOCK('科创板'),0.2,IF(INBLOCK('创业板'),0.2,IF(INBLOCK('ST板块'),0.05,0.1)));
 XA_1:=IF(DATE<=1200823,1,0);
 STICKLINE((C>=ZTPRICE(REF(CLOSE,1),0.1) AND C=H) AND XA_1=1,O,C,2,0),COLORFF00FF;
 STICKLINE((C<=DTPRICE(REF(CLOSE,1),0.1) AND C=L) AND XA_1=1,O,C,2,0),COLOR00FF00;
 STICKLINE((C>=ZTPRICE(REF(C,1),BK) AND C=H),C,O,2,0),COLORFF00FF;
 STICKLINE((C<=DTPRICE(REF(C,1),BK) AND C=L),C,O,2,0),COLOR00FF00;
流通市值:(FINANCE(40)/100000000),NODRAW,COLORRED;

布林线:MA(CLOSE,20),COLORYELLOW,LINETHICK2;
上轨:布林线+2*STD(CLOSE,20),COLORGREEN,LINETHICK2;
下轨:布林线-2*STD(CLOSE,20),COLORCYAN,LINETHICK2;


 MA5:EMA(CLOSE,4),COLORWHITE,LINETHICK1;
 MA10:EMA(CLOSE,12),COLORMAGENTA,LINETHICK1;

{大宗增减持}
大宗:=GPJYVALUE(4,2,0);
 DRAWTEXT(大宗>0,L*0.99,'大宗'),COLORWHITE;

增减持价格:=GPJYVALUE(5,1,0),;
 DRAWNUMBER(增减持价格,L*0.96,增减持价格),COLORMAGENTA;

增减持:=GPJYVALUE(5,2,0)/10000;

DRAWTEXT(增减持>0,L*1,'增'),COLORYELLOW;
 DRAWTEXT(增减持>0,L*0.97,'持'),COLORYELLOW;
 DRAWNUMBER(增减持>0,L*0.96,增减持),COLORYELLOW;

DRAWTEXT(增减持<0,L*1,'减'),COLORGREEN;
 DRAWTEXT(增减持<0,L*0.97,'持'),COLORGREEN;
 DRAWNUMBER(增减持<0,L*0.96,增减持),COLORGREEN;




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

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

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