股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

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


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2023-10-8 20:18:48

以下是通达信原创张清华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;





回复

举报

QQ|

GMT+8, 2024-11-17 03:36

快速回复 返回顶部 返回列表