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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[指标编写] 三浪起爆之选股指标公式


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

XA_1:=REF(OPEN,2)/REF(CLOSE,2)>1.03 AND REF(MA(CLOSE,5),2)>REF(MA(CLOSE,10),2) AND REF(MA(CLOSE,5),2)>REF(MA(CLOSE,20),2);
XA_2:=REF(OPEN,2)/REF(CLOSE,2)>1.041 AND REF(MA(CLOSE,5),2)>REF(MA(CLOSE,10),2) AND REF(MA(CLOSE,5),2)>REF(MA(CLOSE,20),2);
XA_3:=REF(HIGH,1)>REF(OPEN,1) AND REF(CLOSE,1)<REF(OPEN,1) AND REF(HIGH,1)<REF(OPEN,2);
XA_4:=REF(HIGH,1)>REF(CLOSE,1) AND REF(CLOSE,1)>REF(OPEN,1) AND REF(HIGH,1)<REF(OPEN,2) AND REF(CLOSE,1)/REF(OPEN,1)<1.015;
XA_5:=CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.031 AND MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,5)>MA(CLOSE,20) AND MA(CLOSE,10)>MA(CLOSE,30) AND MA(CLOSE,10)>MA(CLOSE,60);
XA_6:=REF(vol,1)<REF(VOL,2) AND REF(LOW,2)/LOW<1.055;
XA_7:=XA_1 AND XA_3 AND XA_5 AND XA_6;
XA_8:=XA_2 AND XA_4 AND XA_5 AND XA_6;
XA_9:=XA_7 OR XA_8;
XA_10:=REF(OPEN,3)/REF(CLOSE,3)>1.04 AND REF(CLOSE,3)/REF(CLOSE,4)<0.97 AND REF(MA(CLOSE,5),3)>REF(MA(CLOSE,10),3) AND REF(MA(CLOSE,5),3)>REF(MA(CLOSE,20),3);
XA_11:=MAX(REF(CLOSE,1),REF(OPEN,1))/MIN(REF(CLOSE,1),REF(OPEN,1))<1.02 AND MAX(REF(CLOSE,2),REF(OPEN,2))/MIN(REF(CLOSE,2),REF(OPEN,2))<1.025;
XA_12:=REF(VOL,1)<REF(VOL,3) AND REF(VOL,2)<REF(VOL,3);
XA_13:=CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.041 AND MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,5)>MA(CLOSE,20) AND MA(CLOSE,10)>MA(CLOSE,30) AND CLOSE>MA(CLOSE,60);
XA_14:=XA_10 AND XA_11 AND XA_12 AND XA_13;
XA_15:=REF(OPEN,4)/REF(CLOSE,4)>1.04 AND REF(CLOSE,4)/REF(CLOSE,5)<0.97 AND REF(MA(CLOSE,5),4)>REF(MA(CLOSE,10),4) AND REF(MA(CLOSE,5),4)>REF(MA(CLOSE,20),4);
XA_16:=MAX(REF(CLOSE,1),REF(OPEN,1))/MIN(REF(CLOSE,1),REF(OPEN,1))<1.02 AND MAX(REF(CLOSE,2),REF(OPEN,2))/MIN(REF(CLOSE,2),REF(OPEN,2))<1.025;
XA_17:=REF(VOL,1)<REF(VOL,3) AND REF(VOL,2)<REF(VOL,3);
XA_18:=CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.041 AND MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,5)>MA(CLOSE,20) AND MA(CLOSE,10)>MA(CLOSE,30) AND CLOSE>MA(CLOSE,60);
XA_19:=XA_15 AND XA_16 AND XA_17 AND XA_18;
XA_20:=XA_14 OR XA_9 OR XA_19;
XA_21:=XA_20;
XA_22:=COUNT(CLOSE/REF(CLOSE,1)>1.095 AND HIGH=CLOSE,30)>=1;
XA_23:=REF(COUNT(XA_22,2)>=1,1);
启爆:XA_23 AND XA_21;





回复

举报

QQ|

GMT+8, 2024-11-3 03:24

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