【资料名称】:通达信用山形图 主图 买卖提示 无未来介绍【资料描述】:
通达信用山形图 主图 买卖提示 无未来
需要调整软件背景色为:21,34,55
需要勾选:主图指标不影响坐标高低值
无未来函数,买卖点提示(机械式判断:只要目前价格高于预警价格即提示买入,低于预警价格即提示卖出.)收盘前价格波动区间得以确认,按提示操作即可.成功率高低依赖于自身对行情的判断,此指标依旧不是万能的
山形图:依据收盘站线为参考,加以不断调试,美化配色,现分享出来
{背景色}
DRAWGBK(C>0,RGB(21,34,55),RGB(57,173,173),0,'1',0);
W:=EMA(C,1);DRAWBAND(W,RGB(33,47,58),0,RGB(33,47,58));
{均线系统}
现价:CONST(W),DOTLINE,COLORCYAN;
R:=EMA(C,5);警戒线:CONST(R),DOTLINE,COLORMAGENTA;
X:=EMA(C,1);预警:EMA(X,5),COLORRED;
持股:IF(预警>REF(预警,1),预警,DRAWNULL),COLORWHITE;
&:EMA(W,1),COLORLICYAN;AX:=EMA(&,2);
持币:IF(预警<REF(预警,1),预警,DRAWNULL),COLORCYAN;
A1X:=(AX-REF(AX,1))/REF(AX,1)*100;
DRAWTEXT_FIX(1,0.17,0.13,0,STKNAME),COLORYELLOW;
DRAWTEXT_FIX(1,0.17,0.21,0,CODE),COLOR0080FF;
STICKLINE(CROSS(A1X,0),L,L*0.995,1.2,0),COLORRED;
STICKLINE(CROSS(0,A1X),H,H*1.005,1.2,0),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.01,0,'微信:RITUALART '),COLORRED;
STICKLINE(&>=R,C,C,0.7,0),COLORWHITE;STICKLINE(&<R,C,C,0.7,0),COLORGREEN;
{条件设置}
总股本:=STRCAT(STRCAT('【总股本】 ',CON2STR(TOTALCAPITAL/1000000,2)),'亿');
流通盘:=STRCAT(STRCAT('【流通盘】 ',CON2STR(CAPITAL/1000000,2)),'亿');
流通市值:=STRCAT(STRCAT('【流通市值】 ',CON2STR((CAPITAL/1000000)*C,2)),'亿');
DRAWTEXT_FIX(ISLASTBAR,0.01,0.99,0,总股本),COLOR00FFFF;
DRAWTEXT_FIX(ISLASTBAR,0.11,0.99,0,流通盘),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR,0.21,0.99,0,流通市值),COLORFF00FF;
卖一价:=STRCAT(STRCAT('【卖一】 ',CON2STR(DYNAINFO(21),2)),'元');
涨跌:=STRCAT(STRCAT('【涨 跌 额】 ',CON2STR(DYNAINFO(12),2)),'元');
买一价:=STRCAT(STRCAT('【买一】 ',CON2STR(DYNAINFO(20),2)),'元');
DRAWTEXT_FIX(ISLASTBAR,0.31,0.99,0,卖一价),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.39,0.99,0,涨跌),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.49,0.99,0,买一价),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.579,0.99,0,'【工作时间】14:45-15:00 '),COLORYELLOW;
{涨停统计}
涨停:=W/REF(W,1)>=1.095;ZTCS:=COUNT(涨停,BARSSINCE(涨停)+1);
SSTS1:=STRCAT('上市',CON2STR(FINANCE(42),0));SSTS2:=STRCAT(SSTS1,'天');
NTZZT1:=STRCAT(' 距今',CON2STR(CONST(BARSLAST(涨停)),0));NTZZT2:=STRCAT(NTZZT1,'天有涨停');
GZT1:=STRCAT(' 共涨停',CON2STR(ZTCS,0));GZT2:=STRCAT(GZT1,'次');ZTTJ1:=STRCAT(SSTS2,GZT2);
ZTTJ2:=STRCAT(ZTTJ1,NTZZT2);ZTTJ:=STRCAT('【涨停统计】',ZTTJ2);
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.719,0.99,0,ZTTJ),COLORCYAN;
注意:分钟级别会引起崩溃,如要查看,请下载当日分钟数据
gd39175
【下载地址隐藏】: 点:回复可见地址