标题: 芈月选股预警源码公式 [打印本页] 作者: 金钻指标 时间: 2016-5-28 09:48 标题: 芈月选股预警源码公式 HJ_1:=MA(CLOSE,5);
HJ_2:=MA(CLOSE,10);
HJ_3:=REF(HHV((HIGH+CLOSE+LOW+HIGH)/4,7),BARSLAST(CROSS(HJ_2,HJ_1)));
HJ_4:=REF(HHV(MAX(CLOSE,OPEN),7),BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5))));
HJ_5:=IF(CLOSE>500,HJ_4,HJ_3);
HJ_6:=IF(HJ_5=CONST(HJ_5),CONST(HJ_5),DRAWNULL);
HJ_7:=REF(CLOSE,2)/REF(CLOSE,3)>1.09 AND CROSS(REF(CLOSE,2),REF(HJ_6,2)) AND REF(CLOSE,2)>=REF(OPEN,2);
HJ_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;
HJ_9:=HJ_7 AND HJ_8;
HJ_10:=REF(CLOSE,3)/REF(CLOSE,4)>1.09 AND CROSS(REF(CLOSE,3),REF(HJ_6,3)) AND REF(CLOSE,3)>=REF(OPEN,3);
HJ_11:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,3);
HJ_12:=HJ_10 AND HJ_11;
HJ_13:=REF(CLOSE,4)/REF(CLOSE,5)>1.09 AND REF(CLOSE,4)>=REF(OPEN,4) AND CROSS(REF(CLOSE,4),REF(HJ_6,4));
HJ_14:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,4);
HJ_15:=HJ_13 AND HJ_14;
HJ_16:=REF(CLOSE,5)/REF(CLOSE,6)>1.09 AND REF(CLOSE,5)>=REF(OPEN,5) AND CROSS(REF(CLOSE,5),REF(HJ_6,5));
HJ_17:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,5);
HJ_18:=HJ_16 AND HJ_17;
HJ_19:=REF(CLOSE,6)/REF(CLOSE,7)>1.09 AND CROSS(REF(CLOSE,6),REF(HJ_6,6));
HJ_20:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,6);
HJ_21:=HJ_19 AND HJ_20;
HJ_22:=REF(CLOSE,7)/REF(CLOSE,8)>1.09 AND CROSS(REF(CLOSE,7),REF(HJ_6,7));
HJ_23:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,7);
HJ_24:=HJ_22 AND HJ_23;
HJ_25:=REF(CLOSE,8)/REF(CLOSE,9)>1.09 AND CROSS(REF(CLOSE,8),REF(HJ_6,8));
HJ_26:=HIGH/REF(CLOSE,1)>1.031 AND OPEN<REF(CLOSE,8);
HJ_27:=HJ_25 AND HJ_26;
HJ_28:=IF(NAMELIKE(3),0,1) AND IF(NAMELIKE(4),0,1);
HJ_29:=DYNAINFO(4)>0;
HJ_30:=HJ_28 AND HJ_29;
HJ_31:=REF(LOW,1)<HJ_6 OR OPEN<HJ_6 AND HIGH>HJ_6 AND REF(CLOSE,1)/REF(CLOSE,2)<1.04;
HJ_32:HJ_9 OR HJ_12 OR HJ_15 OR HJ_18 OR HJ_21 OR HJ_24 OR HJ_27 AND HJ_31 AND HJ_30;