通达信原创张清华KDJ均线战法 主图指标

[复制链接]
查看95 | 回复0 | 2021-8-20 13:12:09 | 显示全部楼层 |阅读模式

以下是通达信原创张清华KDJ均线战法 主图指标(无源码的请下载附件导入)

J5:MA(C,5),COLORRED,LINETHICK2;
 Z5:=REF(MA(C,5),1);
 IF(J5>=Z5,J5,DRAWNULL),COLORWHITE,LINETHICK2;
 IF(J5<Z5,J5,DRAWNULL),COLORGRAY ,LINETHICK2;

J18:MA(C,18),COLORYELLOW ,LINETHICK3;
 Z18:=REF(MA(C,18),1);
 IF(J18>=Z18,J18,DRAWNULL),COLORMAGENTA ,LINETHICK3;
 IF(J18<Z18,J18,DRAWNULL),COLORFF0080,LINETHICK3;

J31:MA(C,31),COLORWHITE,LINETHICK4;
 Z31:=REF(MA(C,31),1);
 IF(J31>=Z31,J31,DRAWNULL),COLOR0000FF,LINETHICK4;
 IF(J31<Z31,J31,DRAWNULL),COLORBLUE,LINETHICK4;


股东权益:FINANCE(36),NODRAW;
每股公积:FINANCE(18),NODRAW;
所属地区:DRAWTEXT_FIX(1,0,0,0,'地区:'),COLORYELLOW;
 DRAWTEXT_FIX(1,0.07,0,0,DYBLOCK),COLORYELLOW;

所属行业:DRAWTEXT_FIX(1,0,0.08,0,'行业:'),COLORYELLOW;
 DRAWTEXT_FIX(1,0.07,0.08,0,HYBLOCK),COLORYELLOW;

所属概念:DRAWTEXT_FIX(1,0,0.16,0,'概念:'),COLORYELLOW;
 DRAWTEXT_FIX(1,0.07,0.16,0,GNBLOCK),COLORYELLOW;

所属风格:DRAWTEXT_FIX(1,0,0.24,0,'风格:'),COLORYELLOW;
 DRAWTEXT_FIX(1,0.07,0.24,0,FGBLOCK),COLORYELLOW;


涨跌停:=(C-REF(C,1))/REF(C,1)*100;
 STICKLINE(涨跌停>9.8,O,C,3,0),COLORYELLOW;
 STICKLINE(涨跌停<-9.8,O,C,3,0),COLORGREEN;
 STICKLINE(涨跌停>6 AND 涨跌停<9.8,O,C,3,0),COLORRED;

62777959.jpg

62777959.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则