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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信芈月剑副图源码


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

以下是通达信芈月剑副图源码

{芈月剑}
XA_1:=MA(CLOSE,5);
XA_2:=MA(CLOSE,10);
XA_3:=REF(HHV((HIGH+CLOSE+LOW+HIGH)/4,7),BARSLAST(CROSS(XA_2,XA_1)));
XA_4:=REF(HHV(MAX(CLOSE,OPEN),7),BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5))));
XA_5:=IF(CLOSE>500,XA_4,XA_3);
XA_6:=IF(XA_5=CONST(XA_5),CONST(XA_5),DRAWNULL);
XA_7:=REF(CLOSE,2)/REF(CLOSE,3)>1.09 AND CROSS(REF(CLOSE,2),REF(XA_6,2)) AND REF(CLOSE,2)>=REF(OPEN,2);
XA_8:=HIGH/REF(CLOSE,1)>1.031 AND REF(OPEN,1)/REF(CLOSE,1)>1.035 AND REF(OPEN,1)/REF(CLOSE,1)<0.97;
XA_9:=XA_7 AND XA_8;
XA_10:=REF(CLOSE,3)/REF(CLOSE,4)>1.09 AND CROSS(REF(CLOSE,3),REF(XA_6,3)) AND REF(CLOSE,3)>=REF(OPEN,3);
XA_11:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,3);
XA_12:=XA_10 AND XA_11;
XA_13:=REF(CLOSE,4)/REF(CLOSE,5)>1.09 AND REF(CLOSE,4)>=REF(OPEN,4) AND CROSS(REF(CLOSE,4),REF(XA_6,4));
XA_14:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,4);
XA_15:=XA_13 AND XA_14;
XA_16:=REF(CLOSE,5)/REF(CLOSE,6)>1.09 AND REF(CLOSE,5)>=REF(OPEN,5) AND CROSS(REF(CLOSE,5),REF(XA_6,5));
XA_17:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,5);
XA_18:=XA_16 AND XA_17;
XA_19:=REF(CLOSE,6)/REF(CLOSE,7)>1.09 AND CROSS(REF(CLOSE,6),REF(XA_6,6));
XA_20:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,6);
XA_21:=XA_19 AND XA_20;
XA_22:=REF(CLOSE,7)/REF(CLOSE,8)>1.09 AND CROSS(REF(CLOSE,7),REF(XA_6,7));
XA_23:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,7);
XA_24:=XA_22 AND XA_23;
XA_25:=REF(CLOSE,8)/REF(CLOSE,9)>1.09 AND CROSS(REF(CLOSE,8),REF(XA_6,8));
XA_26:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,8);
XA_27:=XA_25 AND XA_26;
XA_28:=IF(NAMELIKE(3),0,1) AND IF(NAMELIKE(4),0,1);
XA_29:=DYNAINFO(4)>0;
XA_30:=XA_28 AND XA_29;
XA_31:=REF(LOW,1)<XA_6 OR OPEN<XA_6 AND HIGH>XA_6 AND REF(CLOSE,1)/REF(CLOSE,2)<1.04;
芈月剑:=XA_9 OR XA_12 OR XA_15 OR XA_18 OR XA_21 OR XA_24 OR XA_27 AND XA_31 AND XA_30;
STICKLINE(芈月剑,0,50,2,0),COLORRED;
DRAWICON(芈月剑>0,50,1);





回复

举报

QQ|

GMT+8, 2024-11-15 00:31

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