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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信假阴真阳-回踩精准鹏腾2009版本源码主图


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

以下是通达信假阴真阳-回踩精准鹏腾2009版本源码主图

C1:=IF(CURRBARSCOUNT>2 AND CURRBARSCOUNT<=30,L,0);
位置1:BARSLAST(BETWEEN(C1-CONST(L),0.01,-0.01) AND CONST(COUNT(C>REF(C,1) AND C<O,5)>=1 AND L=LLV(L,5)))NODRAW;
A:DRAWLINE(CURRBARSCOUNT=CONST(位置1)+1,L,ISLASTBAR,L,0)DOTLINE,COLORYELLOW;
DRAWTEXT(ISLASTBAR,A,'精准线'),COLORYELLOW;

C2:=IF(CURRBARSCOUNT>2 AND CURRBARSCOUNT<=30,H,0);
位置2:BARSLAST(BETWEEN(C2-CONST(L),0.01,-0.01) AND CONST(COUNT(C>REF(C,1) AND C<O,5)>=1 AND L=LLV(L,5)))NODRAW;
B:DRAWLINE(CURRBARSCOUNT=CONST(位置2)+1,H,ISLASTBAR,L,0)DOTLINE,COLORYELLOW;
DRAWTEXT(ISLASTBAR,B,'精准线'),COLORYELLOW;

C3:=IF(CURRBARSCOUNT>2 AND CURRBARSCOUNT<=30,O,0);
位置3:BARSLAST(BETWEEN(C3-CONST(L),0.01,-0.01) AND CONST(COUNT(C>REF(C,1) AND C<O,5)>=1 AND L=LLV(L,5)))NODRAW;
D:DRAWLINE(CURRBARSCOUNT=CONST(位置3)+1,O,ISLASTBAR,L,0)DOTLINE,COLORYELLOW;
DRAWTEXT(ISLASTBAR,B,'精准线'),COLORYELLOW;

C4:=IF(CURRBARSCOUNT>2 AND CURRBARSCOUNT<=30,C,0);
位置4:BARSLAST(BETWEEN(C4-CONST(L),0.01,-0.01) AND CONST(COUNT(C>REF(C,1) AND C<O,5)>=1 AND L=LLV(L,5)))NODRAW;
E:DRAWLINE(CURRBARSCOUNT=CONST(位置4)+1,C,ISLASTBAR,L,0)DOTLINE,COLORYELLOW;
DRAWTEXT(ISLASTBAR,B,'精准线'),COLORYELLOW;




回复

举报

QQ|

GMT+8, 2024-11-18 08:26

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