X_1:=EMA(SLOPE(CLOSE,34)*20+CLOSE,75);
X_2:=EMA(CLOSE,8);
X_3:=X_2-X_1;
X_4:=X_3>=0;
X_5:=X_3<0;
X_6:=HHV(HIGH,50)-LLV(LOW,50);
X_7:=X_3>=0 AND REF(X_3<0,1) AND COUNT(X_3>=0,6)<=1;
X_8:=MA(CLOSE,1)-MA(CLOSE,6);
X_9:=X_8>0;
X_10:=X_8<0;
X_11:=CROSS(X_8,0);
X_12:=(2*CLOSE+HIGH+LOW+OPEN)/5;
X_13:=(X_12-MA(X_12,14))*100/(1.5*AVEDEV(X_12,14));
X_14:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(Abs(CLOSE-REF(CLOSE,1)),6,1)*100;
X_15:=X_14<25;
X_16:=VOL*100/CAPITAL;
X_17:=MA(X_16,4);
X_18:=MA(X_16,8);
X_19:=MA(X_16,16);
X_20:=MA(X_16,32);
X_21:=MA(CLOSE,50);
X_22:=(CLOSE-X_21)/X_21<0.008;
X_23:=(CLOSE-MA(CLOSE,8))/MA(CLOSE,8)<0.058;
X_24:=(X_22=1 AND X_23=1)*0.2;
X_25:=(X_24=0 AND REF(X_24,1)=0.2 AND REF(COUNT(X_24=0.2,10)=10,1)=1)*1;
X_26:=HHV(REF(VOL,1),5);
X_27:=BArslAst(X_26);
X_28:=VOL>X_26 AND CLOSE>REF(CLOSE,X_27+1);
X_29:=X_17>=X_20 AND REF(X_17<X_20,1) AND COUNT(X_19,10)<=2 AND (CLOSE-REF(CLOSE,3))/REF(CLOSE,3)<=0.15;
X_30:=X_17>X_20 AND X_18>X_20 AND X_19<X_20 AND REF(X_18<X_20,1);
X_31:=X_17>X_20 AND X_18>X_20 AND X_19>X_20 AND REF(X_19<X_20,1) AND COUNT(X_18<X_20,3)<=1;
X_32:=X_30 OR X_31;
X_33:=COUNT(X_19,10)<=1;
X_34:=(CLOSE-REF(CLOSE,9))/REF(CLOSE,9)<=0.14;
X_35:=X_32 AND COUNT(X_19,10)<=1 AND X_34;
X_36:=X_17<X_20 AND X_18>=X_20 AND X_19<X_20 AND REF(X_18<X_20,1) AND (CLOSE-REF(CLOSE,10))/REF(CLOSE,10)<=0.28 AND COUNT(X_19,10)<=2;
X_37:=X_11 AND COUNT(X_19,20)<=3 AND X_34;
X_38:=X_18>=X_20 AND X_17>X_20 AND X_19<X_20 AND COUNT(X_19,9)<=1 AND (CLOSE-REF(CLOSE,7))/REF(CLOSE,7)<=0.1;
X_39:=X_17>X_20 AND X_19<X_20 AND X_18<X_20 AND REF(X_17<X_20,1) AND COUNT(X_19,6)=0;
X_40:=X_17>X_18 AND X_18>=X_19 AND X_19>X_20 AND COUNT(X_19,10)<=2 AND (CLOSE-REF(CLOSE,7))/REF(CLOSE,7)<=0.04 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=(-0.05);
X_41:=X_15 AND COUNT(X_29,14)>=1 AND COUNT(X_35,14)>=1;
X_42:=COUNT(X_19,12)<=1 AND (CLOSE-REF(CLOSE,9))/REF(CLOSE,9)<=0.12;
X_43:=COUNT(X_42,6)>=5;
X_44:=X_29 OR X_35 OR X_36 OR X_37 OR X_38 OR X_39 OR X_40 OR X_41 OR X_42 OR X_43;
X_45:=VOL/REF(VOL,1);
X_46:=REF(CLOSE,1)/REF(CLOSE,8);
X_47:=HHV(REF(CLOSE,1),12)/LLV(REF(CLOSE,1),12);
X_48:=COUNT(X_44,20)>=1 AND X_45>=2.7 AND CLOSE>REF(CLOSE,1);
X_49:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)));
X_50:=BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));
X_51:=IF(X_49<X_50,X_49+1,0);
X_52:=MA(CLOSE,5)>MA(CLOSE,20) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>REF(MA(CLOSE,20),1) AND MA(CLOSE,30)>REF(MA(CLOSE,30),1);
X_53:=X_51*X_52;
X_54:=HHV(X_51,5)>=2 AND X_52 AND MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND MA(CLOSE,5)>MA(CLOSE,10);
X_55:=X_54*X_51;
X_56:=X_53>0 AND X_55=0;
X_57:=ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*180/3.14159;
X_58:=X_57>REF(X_57,1) AND REF(X_57,1)<REF(X_57,2);
X_59:=MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND REF(MA(CLOSE,5),1)<REF(MA(CLOSE,5),2);
X_60:=FILTER(X_58 OR X_59 AND CLOSE>MA(CLOSE,5) AND X_54,3);
X_61:=X_55>0 AND REF(X_55,1)=0 AND COUNT(X_44,7)>=1;
X_62:=COUNT(X_25,10)>=1 AND COUNT(X_28,10)>=2 AND COUNT(X_7,10)>=1 AND COUNT(X_48,10)>=1 AND COUNT(X_61,2)>=1 AND CLOSE>OPEN;
X_63:=EMA(CLOSE,4);
X_64:=EMA(SLOPE(CLOSE,20)*10+CLOSE,35);
X_65:=CROSS(X_63,X_64);
X_66:=EMA(CLOSE,3);
X_67:=EMA(CLOSE,21);
X_68:=KDJ.J<50;
X_69:=CROSS(KDJ.J,KDJ.D) AND CROSS(KDJ.J,KDJ.K);
X_70:=CROSS(X_63,X_64) AND X_69;
X_71:=CROSS(X_66,X_67) AND X_70;
X_72:=AMOUNT/VOL;
X_73:=LOW<X_72*0.9;
X_74:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>1.2;
X_75:=LOW<MA(CLOSE,5)*0.921;
X_76:=VOL<MA(VOL,5)*1.5;
X_77:=MACD.macd>0;
X_78:=X_73 AND X_74 AND X_75 AND X_76 AND X_77;
XG:X_78 OR (X_62 AND X_71);
九毛八公式解读
X_1赋值:收盘价的34日线性回归斜率*20+收盘价的75日指数移动平均 X_2赋值:收盘价的8日指数移动平均 X_3赋值:X_2-X_1 X_4赋值:X_3>=0 X_5赋值:X_3<0 X_6赋值:50日内最高价的最高值-50日内最低价的最低值 X_7赋值:X_3>=0 AND 1日前的X_3<0 AND 统计6日中满足X_3>=0的天数<=1 X_8赋值:收盘价的1日简单移动平均-收盘价的6日简单移动平均 X_9赋值:X_8>0 X_10赋值:X_8<0 X_11赋值:X_8上穿0 X_12赋值:(2*收盘价+最高价+最低价+开盘价)/5 X_13赋值:(X_12-X_12的14日简单移动平均)*100/(1.5*X_12的14日平均绝对偏差) X_14赋值:收盘价-1日前的收盘价和0的较大值的6日[1日权重]移动平均/收盘价-1日前的收盘价的绝对值的6日[1日权重]移动平均*100 X_15赋值:X_14<25 X_16赋值:成交量(手)*100/当前流通股本(手) X_17赋值:X_16的4日简单移动平均 X_18赋值:X_16的8日简单移动平均 X_19赋值:X_16的16日简单移动平均 X_20赋值:X_16的32日简单移动平均 X_21赋值:收盘价的50日简单移动平均 X_22赋值:(收盘价-X_21)/X_21<0.008 X_23赋值:(收盘价-收盘价的8日简单移动平均)/收盘价的8日简单移动平均<0.058 X_24赋值:(X_22=1 AND X_23=1)*0.2 X_25赋值:(X_24=0 AND 1日前的X_24=0.2 AND 1日前的统计10日中满足X_24=0.2的天数=10=1)*1 X_26赋值:5日内1日前的成交量(手)的最高值 X_27赋值:上次X_26距今天数 X_28赋值:成交量(手)>X_26 AND 收盘价>X_27+1日前的收盘价 X_29赋值:X_17>=X_20 AND 1日前的X_17X_20 AND X_18>X_20 AND X_19 X_20 AND X_18>X_20 AND X_19>X_20 AND 1日前的X_19 =X_20 AND X_19 =X_20 AND X_17>X_20 AND X_19 X_20 AND X_19 X_18 AND X_18>=X_19 AND X_19>X_20 AND 统计10日中满足X_19的天数<=2 AND (收盘价-7日前的收盘价)/7日前的收盘价<=0.04 AND (收盘价-1日前的收盘价)/1日前的收盘价>=(-0.05) X_41赋值:X_15 AND 统计14日中满足X_29的天数>=1 AND 统计14日中满足X_35的天数>=1 X_42赋值:统计12日中满足X_19的天数<=1 AND (收盘价-9日前的收盘价)/9日前的收盘价<=0.12 X_43赋值:统计6日中满足X_42的天数>=5 X_44赋值:X_29 OR X_35 OR X_36 OR X_37 OR X_38 OR X_39 OR X_40 OR X_41 OR X_42 OR X_43 X_45赋值:成交量(手)/1日前的成交量(手) X_46赋值:1日前的收盘价/8日前的收盘价 X_47赋值:12日内1日前的收盘价的最高值/12日内1日前的收盘价的最低值 X_48赋值:统计20日中满足X_44的天数>=1 AND X_45>=2.7 AND 收盘价>1日前的收盘价 X_49赋值:上次收盘价的5日简单移动平均上穿收盘价的10日简单移动平均距今天数 X_50赋值:上次收盘价的10日简单移动平均上穿收盘价的5日简单移动平均距今天数 X_51赋值:如果X_49 收盘价的20日简单移动平均 AND 收盘价的10日简单移动平均>收盘价的20日简单移动平均 AND 收盘价的20日简单移动平均>1日前的收盘价的20日简单移动平均 AND 收盘价的30日简单移动平均>1日前的收盘价的30日简单移动平均 X_53赋值:X_51*X_52 X_54赋值:5日内X_51的最高值>=2 AND X_52 AND 收盘价的5日简单移动平均>1日前的收盘价的5日简单移动平均 AND 收盘价的5日简单移动平均>收盘价的10日简单移动平均 X_55赋值:X_54*X_51 X_56赋值:X_53>0 AND X_55=0 X_57赋值:(收盘价的5日简单移动平均/1日前的收盘价的5日简单移动平均-1)*100的反正切*180/3.14159 X_58赋值:X_57>1日前的X_57 AND 1日前的X_57<2日前的X_57 X_59赋值:收盘价的5日简单移动平均>1日前的收盘价的5日简单移动平均 AND 1日前的收盘价的5日简单移动平均<2日前的收盘价的5日简单移动平均 X_60赋值:X_58ORX_59ANDCLOSE>收盘价的5日简单移动平均ANDX_54的3日过滤 X_61赋值:X_55>0 AND 1日前的X_55=0 AND 统计7日中满足X_44的天数>=1 X_62赋值:统计10日中满足X_25的天数>=1 AND 统计10日中满足X_28的天数>=2 AND 统计10日中满足X_7的天数>=1 AND 统计10日中满足X_48的天数>=1 AND 统计2日中满足X_61的天数>=1 AND 收阳线 X_63赋值:收盘价的4日指数移动平均 X_64赋值:收盘价的20日线性回归斜率*10+收盘价的35日指数移动平均 X_65赋值:X_63上穿X_64 X_66赋值:收盘价的3日指数移动平均 X_67赋值:收盘价的21日指数移动平均 X_68赋值:KDJ的J<50 X_69赋值:KDJ的J上穿KDJ的D AND KDJ的J上穿KDJ的K X_70赋值:X_63上穿X_64 AND X_69 X_71赋值:X_66上穿X_67 AND X_70 X_72赋值:成交额(元)/成交量(手) X_73赋值:最低价 1.2 X_75赋值:最低价<收盘价的5日简单移动平均*0.921 X_76赋值:成交量(手)<成交量(手)的5日简单移动平均*1.5 X_77赋值:平滑异同平均线的MACD>0 X_78赋值:X_73 AND X_74 AND X_75 AND X_76 AND X_77 输出XG:X_78 OR (X_62 AND X_71)