指标编写学习论坛

标题: 芈月剑金钻指标公式源码 [打印本页]

作者: admin    时间: 2016-5-13 22:13
标题: 芈月剑金钻指标公式源码
{公式名称: 芈月剑
公式描述:
无参数
公式类型: 技术指标公式-其他类型
画线方法: 副图
公式版本: 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;







欢迎光临 指标编写学习论坛 (http://www.shgm.net/) Powered by Discuz! X3.2