您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:通达信【增减持】布林线主图指标 源码 贴图

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


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:2.00 KB
更新时间:2021-03-21 10:20:00
公式简介:

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

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

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


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;


[url=http://www.goodgupiao.com/gupiaogongshi/61412.html][B]通达信【增减持】布林线主图指标 源码 贴图[/B][/url]