X_1:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_2:=EMA(X_1,9);
X_3:=(X_1-X_2)*2;
X_4:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_5:=SMA(X_4,3,1);
X_6:=SMA(X_5,3,1);
X_7:=3*X_5-2*X_6;
X_8:=VOL/700000000;
X_9:=1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1);
X_10:=2.5*MAX(X_8,X_9);
X_11:=DMA(CLOSE,X_10);
X_12:=SMA(20*(X_11/REF(X_11,1)-1),2,1);
X_13:=EMA(X_12,2);
X_14:=0.24;
X_15:=CLOSE>=REF(CLOSE,1);
X_16:=IF(X_12>X_14 AND X_13>=0.005 AND X_15,1,0);
X_17:=CROSS(X_16,0.5) AND COUNT(X_16>0.5,10)=1;
X_18:=X_7-REF(X_7,1)>30 AND CLOSE/REF(CLOSE,1)>1.043 AND X_3>0 AND X_2>0;
X_19:=CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAst(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
X_20:=FILTER(X_19,28)*100 AND LOW>REF(CLOSE,1)*0.93;
X_21:=X_18 OR X_20 AND X_17;
X_22:=9;
X_23:=10;
X_24:=CLOSE/REF(CLOSE,1)>1+0.01*X_22;
X_25:=EXIST(CLOSE/REF(CLOSE,1)>1+0.01*X_22,X_23);
X_26:=CLOSE/REF(CLOSE,1)>1+0.01*X_22;
X_27:=IF(X_24+X_25+X_26=3,1,0);
X_28:=(HIGH-CLOSE)/(CLOSE-OPEN)<0.33;
X_29:=CLOSE/REF(CLOSE,1)-1>=0.0502 AND CLOSE>REF(CLOSE,1) AND (OPEN-LOW)/(CLOSE-OPEN)>=1.48 AND LOW<REF(LOW,1) AND LOW<REF(LOW,2);
X_30:=CLOSE/REF(CLOSE,1)-1>=0.08;
X_31:=VOL>REF(VOL,1)*1.9 AND CLOSE>REF(CLOSE,1) AND CLOSE/REF(CLOSE,1)-1>=0.049 AND X_28;
X_32:=CLOSE/REF(CLOSE,1)-1>=0.0502 AND CLOSE>REF(CLOSE,1) AND VOL>REF(VOL,1) AND VOL>REF(VOL,1)*2.5 AND X_28;
X_33:=EMA(2.055*EMA(EMA(HIGH,34),34)-EMA(EMA(LOW,34),34),5);
X_34:=IF(FILTER(X_31 OR X_32 OR X_29 OR X_30 AND X_33>CLOSE,34),1,0) AND X_27;
X_35:=X_21 OR X_34;
X_36:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
X_37:=FILTER(X_36,10);
X_38:=BArslAST(X_37);
X_39:=REF(HIGH,X_38+2);
X_40:=REF(HIGH,X_38+1);
X_41:=REF(HIGH,X_38);
X_42:=MAX(X_39,X_40);
X_43:=MAX(X_42,X_41);
X_44:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
X_45:=X_38<150;
X_46:=(OPEN-X_43)/X_43*100<30;
X_47:=(CLOSE-LLV(LOW,X_38))/LLV(LOW,X_38)*100<50;
X_48:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
X_49:=VOL/MA(VOL,5)<3.5;
X_50:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
X_51:=X_44 AND X_45 AND X_46 AND X_47 AND X_48 AND X_49 AND X_50;
X_52:=FILTER(X_51,15);
X_53:=(CLOSE-MA(CLOSE,54))/MA(CLOSE,54)<0.1;
X_54:=(CLOSE-MA(CLOSE,10))/MA(CLOSE,10)<0.3;
X_55:=(X_53=1 AND X_54=1)*0.2;
X_56:=(X_55=0 AND REF(X_55,1)=0.2 AND REF(COUNT(X_55=0.2,10)=10,1)=1)*(-0.1);
X_57:=X_56=(-0.1);
X_58:=X_52 OR X_57;
X_59:=VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);
X_60:=X_58 AND CLOSE/REF(CLOSE,1)>1.095 AND X_59;
X_61:=IF(HIGH>CLOSE AND CLOSE>OPEN OR (HIGH>OPEN AND OPEN>=CLOSE),CLOSE,HIGH)+IF(LOW<CLOSE AND CLOSE<OPEN OR (LOW<OPEN AND OPEN<=CLOSE),CLOSE,LOW)/3;
X_62:=EMA((X_61-MA(X_61,84.027))/(0.015*AVEDEV(X_61,84.027)),2.0332);
X_63:=X_62;
X_64:=HHV(MA(X_62,5),21);
X_65:=X_63>X_64;
X_66:=CLOSE*VOL;
X_67:=EMA((EMA(X_66,3)/EMA(VOL,3)+EMA(X_66,6)/EMA(VOL,6)+EMA(X_66,12)/EMA(VOL,12)+EMA(X_66,24)/EMA(VOL,24))/4,13);
X_68:=1.13*X_67;
X_69:=REF(CLOSE,1)*1.1-CLOSE<0.01 AND HIGH=CLOSE;
X_70:=X_65 AND CROSS(CLOSE,X_68) AND X_69;
X_71:=2;
X_72:=CLOSE/REF(CLOSE,1)>=1.0982 AND CLOSE/REF(CLOSE,1)<=1.102 OR CLOSE/REF(CLOSE,1)>=1.1998;
X_73:=COUNT(X_72,X_71)=1 AND X_72;
X_74:=X_35-X_35*0.14 AND X_73;
X_75:=X_35 AND X_60 AND X_70 AND X_74;
X_76:=HIGH=CLOSE;
X_77:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>=0.93 AND X_76;
X_78:=BARSLAST(X_75);
买进信号:X_78 AND X_77 AND X_78<=1;
九毛八公式解读
X_1赋值:收盘价的12日指数移动平均-收盘价的26日指数移动平均 X_2赋值:X_1的9日指数移动平均 X_3赋值:(X_1-X_2)*2 X_4赋值:(收盘价-9日内最低价的最低值)/(9日内最高价的最高值-9日内最低价的最低值)*100 X_5赋值:X_4的3日[1日权重]移动平均 X_6赋值:X_5的3日[1日权重]移动平均 X_7赋值:3*X_5-2*X_6 X_8赋值:成交量(手)/700000000 X_9赋值:1.1*(最高价和1日前的收盘价的较大值/最低价和1日前的收盘价的较小值-1) X_10赋值:2.5*X_8和X_9的较大值 X_11赋值:以X_10为权重收盘价的动态移动平均 X_12赋值:20*(X_11/1日前的X_11-1)的2日[1日权重]移动平均 X_13赋值:X_12的2日指数移动平均 X_14赋值:0.24 X_15赋值:收盘价>=1日前的收盘价 X_16赋值:如果X_12>X_14ANDX_13>=0.005ANDX_15,返回1,否则返回0 X_17赋值:X_16上穿0.5 AND 统计10日中满足X_16>0.5的天数=1 X_18赋值:X_7-1日前的X_7>30 AND 收盘价/1日前的收盘价>1.043 AND X_3>0 AND X_2>0 X_19赋值:收盘价/1日前的收盘价>1.048 AND 收盘价=最高价 AND 成交量(手)的4日线性回归预测值位于0.2*成交量(手)的12日线性回归预测值和2.1*成交量(手)的12日线性回归预测值之间 X_20赋值:X_19的28日过滤*100 AND 最低价>1日前的收盘价*0.93 X_21赋值:X_18 OR X_20 AND X_17 X_22赋值:9 X_23赋值:10 X_24赋值:收盘价/1日前的收盘价>1+0.01*X_22 X_25赋值:最近X_23日存在收盘价/1日前的收盘价>1+0.01*X_22 X_26赋值:收盘价/1日前的收盘价>1+0.01*X_22 X_27赋值:如果X_24+X_25+X_26=3,返回1,否则返回0 X_28赋值:(最高价-收盘价)/(收盘价-开盘价)<0.33 X_29赋值:收盘价/1日前的收盘价-1>=0.0502 AND 收盘价>1日前的收盘价 AND (开盘价-最低价)/(收盘价-开盘价)>=1.48 AND 最低价<1日前的最低价 AND 最低价<2日前的最低价 X_30赋值:收盘价/1日前的收盘价-1>=0.08 X_31赋值:成交量(手)>1日前的成交量(手)*1.9 AND 收盘价>1日前的收盘价 AND 收盘价/1日前的收盘价-1>=0.049 AND X_28 X_32赋值:收盘价/1日前的收盘价-1>=0.0502 AND 收盘价>1日前的收盘价 AND 成交量(手)>1日前的成交量(手) AND 成交量(手)>1日前的成交量(手)*2.5 AND X_28 X_33赋值:2.055*最高价的34日指数移动平均的34日指数移动平均-最低价的34日指数移动平均的34日指数移动平均的5日指数移动平均 X_34赋值:如果X_31ORX_32ORX_29ORX_30ANDX_33>收盘价的34日过滤,返回1,否则返回0 AND X_27 X_35赋值:X_21 OR X_34 X_36赋值:(3日前的收盘价-收盘价)/3日前的收盘价*100>5 X_37赋值:X_36的10日过滤 X_38赋值:上次X_37距今天数 X_39赋值:X_38+2日前的最高价 X_40赋值:X_38+1日前的最高价 X_41赋值:X_38日前的最高价 X_42赋值:X_39和X_40的较大值 X_43赋值:X_42和X_41的较大值 X_44赋值:(收盘价-1日前的收盘价)/1日前的收盘价*100>5 X_45赋值:X_38<150 X_46赋值:(开盘价-X_43)/X_43*100<30 X_47赋值:(收盘价-X_38日内最低价的最低值)/X_38日内最低价的最低值*100<50 X_48赋值:(收盘价-5日前的开盘价)/5日前的开盘价*100<30 X_49赋值:成交量(手)/成交量(手)的5日简单移动平均<3.5 X_50赋值:(收盘价-89日前的收盘价)/89日前的收盘价*100<80 X_51赋值:X_44 AND X_45 AND X_46 AND X_47 AND X_48 AND X_49 AND X_50 X_52赋值:X_51的15日过滤 X_53赋值:(收盘价-收盘价的54日简单移动平均)/收盘价的54日简单移动平均<0.1 X_54赋值:(收盘价-收盘价的10日简单移动平均)/收盘价的10日简单移动平均<0.3 X_55赋值:(X_53=1 AND X_54=1)*0.2 X_56赋值:(X_55=0 AND 1日前的X_55=0.2 AND 1日前的统计10日中满足X_55=0.2的天数=10=1)*(-0.1) X_57赋值:X_56=(-0.1) X_58赋值:X_52 OR X_57 X_59赋值:成交量(手)/1日前的成交量(手)>1.2 AND 统计1日中满足收阳线的天数 OR (最低价>1日前的最高价 AND 统计1日中满足收阴线的天数 AND 成交量(手)/1日前的成交量(手)>1.2) X_60赋值:X_58 AND 收盘价/1日前的收盘价>1.095 AND X_59 X_61赋值:如果最高价>CLOSEANDCLOSE>OPENOR(最高价>OPENANDOPEN>=收盘价),返回收盘价,否则返回最高价+如果最低价X_64 X_66赋值:收盘价*成交量(手) X_67赋值:(X_66的3日指数移动平均/成交量(手)的3日指数移动平均+X_66的6日指数移动平均/成交量(手)的6日指数移动平均+X_66的12日指数移动平均/成交量(手)的12日指数移动平均+X_66的24日指数移动平均/成交量(手)的24日指数移动平均)/4的13日指数移动平均 X_68赋值:1.13*X_67 X_69赋值:1日前的收盘价*1.1-收盘价<0.01 AND 最高价=收盘价 X_70赋值:X_65 AND 收盘价上穿X_68 AND X_69 X_71赋值:2 X_72赋值:收盘价/1日前的收盘价>=1.0982 AND 收盘价/1日前的收盘价<=1.102 OR 收盘价/1日前的收盘价>=1.1998 X_73赋值:统计X_71日中满足X_72的天数=1 AND X_72 X_74赋值:X_35-X_35*0.14 AND X_73 X_75赋值:X_35 AND X_60 AND X_70 AND X_74 X_76赋值:最高价=收盘价 X_77赋值:(收盘价-1日前的收盘价)/1日前的收盘价*100>=0.93 AND X_76 X_78赋值:上次X_75距今天数 输出买进信号:X_78 AND X_77 AND X_78<=1