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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 135均线和箱体结合(源码 主图 贴图)


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-10 19:17:14
135均线和箱体结合(源码 主图 贴图)介绍

135均线和箱体结合(源码 主图 贴图)

{纪律135均线}
DRAWKLINE(H,O,L,C);
箱顶:PEAK(CLOSE,5,1),LINETHICK1,COLORGREEN;
箱底:TROUGH(CLOSE,5,1),LINETHICK1,COLORRED;
M5:MA(CLOSE,5),COLORWHITE;
M13:MA(CLOSE,13),COLORYELLOW;
M34:MA(CLOSE,34),COLORMAGENTA;
M55:MA(CLOSE,55),COLORGREEN;
M120:MA(CLOSE,120),COLORBLUE;
DRAWTEXT(C>REF(C,1) AND CROSS(MA(C,13),MA(C,55)),H*1.04,'侠'),COLORYELLOW;
DRAWTEXT( C<REF(C,1) AND CROSS(MA(C,13),MA(C,55)),H*1.04,'黑'),COLORYELLOW;
DRAWTEXT(REF(C,1)=箱顶 AND C<箱顶,H*1.07,'S'),COLORGREEN;
DRAWTEXT(REF(C,1)=箱底 AND C>箱底,L*0.98,'B'),COLORYELLOW;
DRAWTEXT(CROSS(EXPMA(CLOSE,12),EXPMA(CLOSE,50)),EXPMA(CLOSE,12),'长M'),COLORRED;
DRAWTEXT(CROSS(EXPMA(CLOSE,50),EXPMA(CLOSE,12)),EXPMA(CLOSE,12),'长M'),COLORGREEN;
DRAWTEXT( MA(C,55)>REF(MA(C,55),1) AND REF(MA(C,55),1)<REF(MA(C,55),2),MA(C,55)-0.05,'☆'),COLORRED;
DRAWTEXT(REF(C,1)<=箱顶 AND 箱顶<C,H*1.12,'追'),COLORYELLOW;
DRAWTEXT(REF(C,1)>=箱底 AND 箱底>C,L*0.98,'清'),COLORGREEN;
DRAWTEXT(CROSS(MA(C,5),MA(C,120)),H*1.15,'KZ'),COLORYELLOW;




 



gd15717

回复

举报

QQ|

GMT+8, 2024-12-26 13:59

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