设为首页收藏本站

指标编写学习论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 2087|回复: 0
打印 上一主题 下一主题

芈月剑金钻指标公式源码

[复制链接]

4973

主题

5090

帖子

27万

积分

管理员

微信号zuozhanba,QQ712997893

Rank: 9Rank: 9Rank: 9

积分
275740
跳转到指定楼层
楼主
发表于 2016-5-13 22:13:55 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
{公式名称: 芈月剑
公式描述:
无参数
公式类型: 技术指标公式-其他类型
画线方法: 副图
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无

参数精灵:无
用法注释:无
公式源码:}
X_1:=MA(CLOSE,5);
X_2:=MA(CLOSE,10);
X_3:=REF(HHV((HIGH+CLOSE+LOW+HIGH)/4,7),BARSLAST(CROSS(X_2,X_1)));
X_4:=REF(HHV(MAX(CLOSE,OPEN),7),BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5))));
X_5:=IF(CLOSE>500,X_4,X_3);
X_6:=IF(X_5=CONST(X_5),CONST(X_5),DRAWNULL);
X_7:=REF(CLOSE,2)/REF(CLOSE,3)>1.09 AND CROSS(REF(CLOSE,2),REF(X_6,2)) AND REF(CLOSE,2)>=REF(OPEN,2);
X_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;
X_9:=X_7 AND X_8;
X_10:=REF(CLOSE,3)/REF(CLOSE,4)>1.09 AND CROSS(REF(CLOSE,3),REF(X_6,3)) AND REF(CLOSE,3)>=REF(OPEN,3);
X_11:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,3);
X_12:=X_10 AND X_11;
X_13:=REF(CLOSE,4)/REF(CLOSE,5)>1.09 AND REF(CLOSE,4)>=REF(OPEN,4) AND CROSS(REF(CLOSE,4),REF(X_6,4));
X_14:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,4);
X_15:=X_13 AND X_14;
X_16:=REF(CLOSE,5)/REF(CLOSE,6)>1.09 AND REF(CLOSE,5)>=REF(OPEN,5) AND CROSS(REF(CLOSE,5),REF(X_6,5));
X_17:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,5);
X_18:=X_16 AND X_17;
X_19:=REF(CLOSE,6)/REF(CLOSE,7)>1.09 AND CROSS(REF(CLOSE,6),REF(X_6,6));
X_20:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,6);
X_21:=X_19 AND X_20;
X_22:=REF(CLOSE,7)/REF(CLOSE,8)>1.09 AND CROSS(REF(CLOSE,7),REF(X_6,7));
X_23:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,7);
X_24:=X_22 AND X_23;
X_25:=REF(CLOSE,8)/REF(CLOSE,9)>1.09 AND CROSS(REF(CLOSE,8),REF(X_6,8));
X_26:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,8);
X_27:=X_25 AND X_26;
X_28:=IF(NAMELIKE(3),0,1) AND IF(NAMELIKE(4),0,1);
X_29:=DYNAINFO(4)>0;
X_30:=X_28 AND X_29;
X_31:=REF(LOW,1)<X_6 OR OPEN<X_6 AND HIGH>X_6 AND REF(CLOSE,1)/REF(CLOSE,2)<1.04;
X_32:=X_9 OR X_12 OR X_15 OR X_18 OR X_21 OR X_24 OR X_27 AND X_31 AND X_30;
STICKLINE(X_32,0,3,0.5,0),COLORRED;
DRAWICON(X_32>0,3.1,1);
{公式名称: 芈月剑
公式描述:
无参数
公式类型: 条件选股公式-其他类型
公式版本: 0

参数精灵:无
用法注释:无
公式源码:}
X_1:=MA(CLOSE,5);
X_2:=MA(CLOSE,10);
X_3:=REF(HHV((HIGH+CLOSE+LOW+HIGH)/4,7),BARSLAST(CROSS(X_2,X_1)));
X_4:=REF(HHV(MAX(CLOSE,OPEN),7),BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5))));
X_5:=IF(CLOSE>500,X_4,X_3);
X_6:=IF(X_5=CONST(X_5),CONST(X_5),DRAWNULL);
X_7:=REF(CLOSE,2)/REF(CLOSE,3)>1.09 AND CROSS(REF(CLOSE,2),REF(X_6,2)) AND REF(CLOSE,2)>=REF(OPEN,2);
X_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;
X_9:=X_7 AND X_8;
X_10:=REF(CLOSE,3)/REF(CLOSE,4)>1.09 AND CROSS(REF(CLOSE,3),REF(X_6,3)) AND REF(CLOSE,3)>=REF(OPEN,3);
X_11:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,3);
X_12:=X_10 AND X_11;
X_13:=REF(CLOSE,4)/REF(CLOSE,5)>1.09 AND REF(CLOSE,4)>=REF(OPEN,4) AND CROSS(REF(CLOSE,4),REF(X_6,4));
X_14:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,4);
X_15:=X_13 AND X_14;
X_16:=REF(CLOSE,5)/REF(CLOSE,6)>1.09 AND REF(CLOSE,5)>=REF(OPEN,5) AND CROSS(REF(CLOSE,5),REF(X_6,5));
X_17:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,5);
X_18:=X_16 AND X_17;
X_19:=REF(CLOSE,6)/REF(CLOSE,7)>1.09 AND CROSS(REF(CLOSE,6),REF(X_6,6));
X_20:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,6);
X_21:=X_19 AND X_20;
X_22:=REF(CLOSE,7)/REF(CLOSE,8)>1.09 AND CROSS(REF(CLOSE,7),REF(X_6,7));
X_23:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,7);
X_24:=X_22 AND X_23;
X_25:=REF(CLOSE,8)/REF(CLOSE,9)>1.09 AND CROSS(REF(CLOSE,8),REF(X_6,8));
X_26:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,8);
X_27:=X_25 AND X_26;
X_28:=IF(NAMELIKE(3),0,1) AND IF(NAMELIKE(4),0,1);
X_29:=DYNAINFO(4)>0;
X_30:=X_28 AND X_29;
X_31:=REF(LOW,1)<X_6 OR OPEN<X_6 AND HIGH>X_6 AND REF(CLOSE,1)/REF(CLOSE,2)<1.04;
XG:X_9 OR X_12 OR X_15 OR X_18 OR X_21 OR X_24 OR X_27 AND X_31 AND X_30;


分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
购买股票池请咨询微信号zuozhanba,QQ712997893!股票池体验QQ群342994005
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

 
 
在线客服
指标交流群:
理想论坛金钻指标股票
指标团购群:
做站吧指标团购群
微信扫一扫加好友

QQ|Archiver|手机版|小黑屋|指标编写学习论坛 ( 粤ICP备14021653号-5   

GMT+8, 2024-12-28 04:23 , Processed in 0.188324 second(s), 30 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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