最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 牛市机票选股公式

    正文概述    2024-04-06 14:15:19  

    X_1:=EMA((EMA(CLOSE*VOL,3)/EMA(VOL,3)+EMA(CLOSE*VOL,6)/EMA(VOL,6)+EMA(CLOSE*VOL,12)/EMA(VOL,12)+EMA(CLOSE*VOL,24)/EMA(VOL,24))/4,18);
    X_2:=1.06*X_1;
    X_3:=MA(CLOSE,5);
    X_4:=MA(CLOSE,10);
    X_5:=(EMA(CLOSE,3)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4;
    X_6:=CLOSE>REF(CLOSE,1)*1.098 AND CLOSE=HIGH;
    X_7:=REF(COUNT(X_3>X_4,7)>=1 AND (X_3>REF(X_3,1) OR CLOSE>REF(CLOSE,1) OR CLOSE>OPEN),1) AND CROSS(CLOSE,X_3) AND CLOSE>X_2 AND X_3>REF(X_3,1) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1)*1.015;
    X_8:=MA(CLOSE,20);
    X_9:=CLOSE>MA(CLOSE,5);
    X_10:=MA(CLOSE,5)>MA(CLOSE,10);
    X_11:=CLOSE>MA(CLOSE,10);
    X_12:=MA(CLOSE,5)>MA(CLOSE,20);
    X_13:=CLOSE>MA(CLOSE,20);
    X_14:=REF(X_8,1);
    X_15:=X_8>X_14;
    X_16:=IF(X_9,10,0-10)+IF(X_10,10,0-10)+IF(X_11,10,0-10)+IF(X_12,10,0-10)+IF(X_13,10,0-10)+IF(X_15,10,0-10);
    X_17:=REF(X_16,1)<=0 AND X_16>0;
    X_18:=X_16>10 AND X_16>=REF(X_16,1) AND X_16>=REF(X_16,2);
    X_19:=X_16=60;
    X_20:=X_17 OR X_18 OR X_19;
    X_21:=BARSLAST(NOT(X_19));
    X_22:=COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.095,12);
    X_23:=X_7 AND X_19=1 AND X_21=1 AND X_22;
    X_24:=CLOSE/REF(CLOSE,1)>1.095 AND CLOSE=HIGH;
    X_25:=REF(CLOSE,1)/REF(CLOSE,2)<=0.96 OR REF(OPEN,1)/REF(CLOSE,1)>=1.05;
    X_26:=HIGH/REF(CLOSE,1)>1.041 AND CLOSE>REF(CLOSE,1);
    X_27:=X_25 AND X_26;
    X_28:=REF(CLOSE,2)/REF(CLOSE,3)<1.099;
    X_29:=X_27 AND X_28;
    X_30:=COUNT(REF(X_24,3),8) AND X_29;
    X_31:=MA(CLOSE,20);
    X_32:=CLOSE>MA(CLOSE,5);
    X_33:=MA(CLOSE,5)>MA(CLOSE,10);
    X_34:=CLOSE>MA(CLOSE,10);
    X_35:=MA(CLOSE,5)>MA(CLOSE,20);
    X_36:=CLOSE>MA(CLOSE,20);
    X_37:=REF(X_31,1);
    X_38:=X_31>X_37;
    X_39:=IF(X_32,10,0-10)+IF(X_33,10,0-10)+IF(X_34,10,0-10)+IF(X_35,10,0-10)+IF(X_36,10,0-10)+IF(X_38,10,0-10);
    X_40:=REF(X_39,1)<=0 AND X_39>0;
    X_41:=X_39>10 AND X_39>=REF(X_39,1) AND X_39>=REF(X_39,2);
    X_42:=X_39=60;
    X_43:=X_40 OR X_41 OR X_42;
    X_44:=BARSLAST(NOT(X_42));
    X_45:=X_30 AND X_42=1 AND X_44=1;
    X_46:=REF(CLOSE,7)/REF(CLOSE,8)>1.095 AND REF(CLOSE,7)>REF(OPEN,7);
    X_47:=HIGH/REF(CLOSE,1)>1.031 AND BETWEEN(OPEN/REF(OPEN,7),1.05,0.85);
    X_48:=REF(OPEN,1)>REF(MA(CLOSE,5),1) AND REF(CLOSE,1)<REF(MA(CLOSE,10),1) AND REF(MA(CLOSE,5),1)>REF(MA(CLOSE,10),1);
    X_49:=X_46 AND X_47 AND X_48;
    X_50:=X_49 AND REF(CLOSE,1)/REF(CLOSE,2)<0.97 AND REF(OPEN,1)>REF(CLOSE,1);
    X_51:=X_45 OR X_50;
    X_52:=(MIN(CLOSE,OPEN)-LOW)/LOW*100;
    X_53:=(MAX(CLOSE,OPEN)-MIN(CLOSE,OPEN))/MIN(CLOSE,OPEN)*100;
    X_54:=(HIGH-MAX(CLOSE,OPEN))/MAX(CLOSE,OPEN)*100;
    X_55:=X_54>X_53 AND X_54>3 AND X_52<1 AND CLOSE>OPEN;
    X_56:=120;
    X_57:=MA(CLOSE,X_56);
    X_58:=POW(CLOSE-X_57,2);
    X_59:=MA(X_58,X_56);
    X_60:=SQRT(X_59);
    X_61:=X_57+2*X_60;
    X_62:=X_57-2*X_60;
    X_63:=REF(X_57,1);
    X_64:=REF(X_61,1);
    X_65:=REF(X_62,1);
    X_66:=MA(CLOSE,7);
    X_67:=MA(CLOSE,20);
    X_68:=MA(CLOSE,30);
    X_69:=MA(CLOSE,144);
    X_70:=MA(CLOSE,8);
    X_71:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
    X_72:=(HIGH-REF(CLOSE,1))/REF(CLOSE,1)*100;
    X_73:=(LOW-REF(CLOSE,1))/REF(CLOSE,1)*100;
    X_74:=REF(CLOSE,1);
    X_75:=IF((CLOSE-X_74)*100/X_74>=10-0.01*100/X_74,1,0);
    X_76:=HIGH>=HHV(HIGH,20);
    X_77:=X_76=1 AND BARSLAST(REF(X_76=1,1))>=2;
    X_78:=COUNT(X_76,5)>=1;
    X_79:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
    X_80:=SUM(IF(CLOSE=REF(CLOSE,1),0,X_79),0);
    X_81:=MA(X_80,30);
    X_82:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
    X_83:=SUM(IF(CLOSE=REF(CLOSE,1),0,X_82),0);
    X_84:=X_83;
    X_85:=X_84>REF(HHV(X_84,30),1);
    X_86:=X_80>X_81;
    X_87:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    X_88:=SMA(X_87,3,1);
    X_89:=SMA(X_88,3,1);
    X_90:=3*X_88-2*X_89;
    X_91:=REF(X_75,1);
    X_92:=COUNT(X_91,5)>=1;
    X_93:=BARSLAST(CLOSE>1.099*REF(CLOSE,1));
    X_94:=IF(CLOSE>REF(CLOSE,X_93),10,0);
    X_95:=VOL>REF(VOL,1)*1.9;
    X_96:=ATAN((MA(CLOSE,6)/REF(MA(CLOSE,6),1)-1)*100)*58.299999;
    X_97:=OPEN<=REF(CLOSE,1) AND X_71<(-2);
    X_98:=COUNT(X_97,2)>=1;
    X_99:=NOT(REF(CLOSE,3)/REF(CLOSE,4)>1.095 AND REF(CLOSE,2)/REF(CLOSE,3)>1.095 AND OPEN>REF(CLOSE,1) AND REF(CLOSE,1)<REF(OPEN,1) AND REF(HIGH,1)/REF(OPEN,1)>1.03 AND REF(HIGH,1)/REF(CLOSE,2)>1.03);
    X_100:=NOT(REF(CLOSE,1)/REF(CLOSE,2)<0.909 AND REF(CLOSE,2)/REF(CLOSE,3)>1.099 AND REF(CLOSE,3)/REF(CLOSE,4)<1.09 AND REF(OPEN,2)>REF(CLOSE,3) AND REF(HIGH,1)/REF(OPEN,1)>1.03);
    X_101:=NOT(REF(CLOSE,1)/REF(CLOSE,2)<0.91 AND REF(CLOSE,2)/REF(CLOSE,3)<0.91 AND REF(CLOSE,2)/REF(HIGH,1)>1.03 AND REF(MA(CLOSE,5),1)/REF(MA(CLOSE,10),1)>1.05);
    X_102:=NOT(REF(CLOSE,2)/REF(CLOSE,3)>1.099 AND REF(CLOSE,1)<REF(OPEN,1) AND REF(HIGH,1)>REF(CLOSE,2) AND OPEN>REF(OPEN,1));
    X_103:=NOT(REF(CLOSE,3)/REF(CLOSE,4)>1.095 AND REF(HIGH,2)>REF(CLOSE,3) AND REF(LOW,2)<REF(OPEN,3) AND REF(CLOSE,3)/REF(CLOSE,4)>1.095 AND REF(CLOSE,2)<REF(OPEN,2) AND REF(OPEN,2)/REF(CLOSE,2)>1.05 AND OPEN/REF(LOW,2)<0.98);
    X_104:=NOT(REF(CLOSE,1)/REF(CLOSE,2)<0.901 AND REF(CLOSE,1)=REF(LOW,1) AND REF(OPEN,2)/REF(CLOSE,3)>1.03 AND REF(OPEN,1)/REF(CLOSE,2)<0.96 AND REF(CLOSE,2)/REF(CLOSE,3)>1.09 AND REF(OPEN,2)/REF(LOW,2)>1.05);
    X_105:=NOT(REF(CLOSE,2)/REF(CLOSE,3)<0.901 AND REF(CLOSE,3)/REF(CLOSE,4)<0.901 AND REF(CLOSE,4)/REF(CLOSE,5)>1.099 AND REF(OPEN,3)>REF(CLOSE,4) AND REF(CLOSE,3)<REF(OPEN,4) AND REF(OPEN,3)/REF(CLOSE,3)>1.05);
    X_106:=NOT(REF(CLOSE,2)/REF(CLOSE,3)<0.901 AND REF(OPEN,1)/REF(CLOSE,2)<0.98 AND REF(CLOSE,1)<REF(CLOSE,2) AND REF(CLOSE,4)/REF(CLOSE,5)>1.095 AND REF(HIGH,3)>REF(CLOSE,4) AND REF(LOW,3)<REF(LOW,4));
    X_107:=NOT(REF(CLOSE,4)/REF(CLOSE,5)>1.095 AND REF(CLOSE,5)/REF(CLOSE,6)>1.095 AND REF(OPEN,4)>REF(CLOSE,5) AND REF(CLOSE,3)/REF(CLOSE,4)<0.91 AND REF(CLOSE,2)/REF(CLOSE,3)<0.91 AND REF(OPEN,2)/REF(CLOSE,3)<0.98 AND REF(CLOSE,2)>REF(CLOSE,1));
    X_108:=NOT(REF(CLOSE,4)/REF(CLOSE,5)>1.095 AND REF(OPEN,3)/REF(CLOSE,4)>1.03 AND REF(CLOSE,3)<REF(OPEN,3) AND REF(CLOSE,2)/REF(CLOSE,3)<0.91 AND REF(OPEN,1)<REF(CLOSE,2));
    X_109:=NOT(REF(CLOSE,4)/REF(CLOSE,5)>1.099 AND REF(OPEN,4)<REF(MA(CLOSE,10),4) AND REF(HIGH,3)/REF(CLOSE,4)>1.03 AND REF(CLOSE,1)/REF(CLOSE,2)<0.95 AND CROSS(REF(MA(CLOSE,5),1),REF(MA(CLOSE,10),1)) AND OPEN/REF(OPEN,4)>1.03);
    X_110:=NOT(REF(CLOSE,4)/REF(CLOSE,5)<1.099 AND REF(CLOSE,5)/REF(CLOSE,6)>1.099 AND REF(LOW,1)>REF(CLOSE,5) AND OPEN>REF(CLOSE,5) AND REF(CLOSE,1)/REF(CLOSE,2)>0.96);
    X_111:=NOT(COUNT(EVERY(REF(CLOSE,1)/REF(CLOSE,2)>1.09,5),8) AND REF(CLOSE,2)/REF(CLOSE,3)>1.099 AND REF(HIGH,1)/REF(OPEN,1)>1.05 AND REF(CLOSE,1)/REF(CLOSE,2)<0.91);
    X_112:=X_92 AND X_71>2.5 AND REF(X_98,1) AND REF(X_71<2.4,1) AND X_68>0 AND X_99 AND X_100 AND X_101 AND X_102 AND X_103 AND X_104 AND X_105 AND X_106 AND X_107 AND X_108 AND X_109 AND X_110 AND X_111;
    X_113:=REF(CLOSE,10)/REF(CLOSE,11)>1.099 AND OPEN/REF(OPEN,10)<1.03 AND REF(CLOSE,3)/REF(CLOSE,4)<0.95 AND REF(CLOSE,2)/REF(CLOSE,3)<1.02 AND REF(CLOSE,1)/REF(CLOSE,2)<1.01 AND HIGH/REF(CLOSE,1)>1.041;
    X_114:=X_23 OR X_51 OR X_112 OR X_113;
    选股:X_114 AND NOT(REF(X_114,1)), ;

    九毛八公式解读

    X_1赋值:(收盘价*成交量(手)的3日指数移动平均/成交量(手)的3日指数移动平均+收盘价*成交量(手)的6日指数移动平均/成交量(手)的6日指数移动平均+收盘价*成交量(手)的12日指数移动平均/成交量(手)的12日指数移动平均+收盘价*成交量(手)的24日指数移动平均/成交量(手)的24日指数移动平均)/4的18日指数移动平均
    X_2赋值:1.06*X_1
    X_3赋值:收盘价的5日简单移动平均
    X_4赋值:收盘价的10日简单移动平均
    X_5赋值:(收盘价的3日指数移动平均+收盘价的6日指数移动平均+收盘价的12日指数移动平均+收盘价的24日指数移动平均)/4
    X_6赋值:收盘价>1日前的收盘价*1.098 AND 收盘价=最高价
    X_7赋值:1日前的统计7日中满足X_3>X_4的天数>=1AND(X_3>1日前的X_3ORCLOSE>1日前的收盘价ORCLOSE>开盘价) AND 收盘价上穿X_3 AND 收盘价>X_2 AND X_3>1日前的X_3 AND 收阳线ANDSE 收盘价>1日前的收盘价*1.015
    X_8赋值:收盘价的20日简单移动平均
    X_9赋值:收盘价>收盘价的5日简单移动平均
    X_10赋值:收盘价的5日简单移动平均>收盘价的10日简单移动平均
    X_11赋值:收盘价>收盘价的10日简单移动平均
    X_12赋值:收盘价的5日简单移动平均>收盘价的20日简单移动平均
    X_13赋值:收盘价>收盘价的20日简单移动平均
    X_14赋值:1日前的X_8
    X_15赋值:X_8>X_14
    X_16赋值:如果X_9,返回10,否则返回0-10+如果X_10,返回10,否则返回0-10+如果X_11,返回10,否则返回0-10+如果X_12,返回10,否则返回0-10+如果X_13,返回10,否则返回0-10+如果X_15,返回10,否则返回0-10
    X_17赋值:1日前的X_16<=0 AND X_16>0
    X_18赋值:X_16>10 AND X_16>=1日前的X_16 AND X_16>=2日前的X_16
    X_19赋值:X_16=60
    X_20赋值:X_17 OR X_18 OR X_19
    X_21赋值:上次取反距今天数
    X_22赋值:统计12日中满足1日前的收盘价/2日前的收盘价>1.095的天数
    X_23赋值:X_7 AND X_19=1 AND X_21=1 AND X_22
    X_24赋值:收盘价/1日前的收盘价>1.095 AND 收盘价=最高价
    X_25赋值:1日前的收盘价/2日前的收盘价<=0.96 OR 1日前的开盘价/1日前的收盘价>=1.05
    X_26赋值:最高价/1日前的收盘价>1.041 AND 收盘价>1日前的收盘价
    X_27赋值:X_25 AND X_26
    X_28赋值:2日前的收盘价/3日前的收盘价<1.099
    X_29赋值:X_27 AND X_28
    X_30赋值:统计8日中满足3日前的X_24的天数 AND X_29
    X_31赋值:收盘价的20日简单移动平均
    X_32赋值:收盘价>收盘价的5日简单移动平均
    X_33赋值:收盘价的5日简单移动平均>收盘价的10日简单移动平均
    X_34赋值:收盘价>收盘价的10日简单移动平均
    X_35赋值:收盘价的5日简单移动平均>收盘价的20日简单移动平均
    X_36赋值:收盘价>收盘价的20日简单移动平均
    X_37赋值:1日前的X_31
    X_38赋值:X_31>X_37
    X_39赋值:如果X_32,返回10,否则返回0-10+如果X_33,返回10,否则返回0-10+如果X_34,返回10,否则返回0-10+如果X_35,返回10,否则返回0-10+如果X_36,返回10,否则返回0-10+如果X_38,返回10,否则返回0-10
    X_40赋值:1日前的X_39<=0 AND X_39>0
    X_41赋值:X_39>10 AND X_39>=1日前的X_39 AND X_39>=2日前的X_39
    X_42赋值:X_39=60
    X_43赋值:X_40 OR X_41 OR X_42
    X_44赋值:上次取反距今天数
    X_45赋值:X_30 AND X_42=1 AND X_44=1
    X_46赋值:7日前的收盘价/8日前的收盘价>1.095 AND 7日前的收盘价>7日前的开盘价
    X_47赋值:最高价/1日前的收盘价>1.031 AND 开盘价/7日前的开盘价位于1.05和0.85之间
    X_48赋值:1日前的开盘价>1日前的收盘价的5日简单移动平均 AND 1日前的收盘价<1日前的收盘价的10日简单移动平均 AND 1日前的收盘价的5日简单移动平均>1日前的收盘价的10日简单移动平均
    X_49赋值:X_46 AND X_47 AND X_48
    X_50赋值:X_49 AND 1日前的收盘价/2日前的收盘价<0.97 AND 1日前的开盘价>1日前的收盘价
    X_51赋值:X_45 OR X_50
    X_52赋值:(收盘价和开盘价的较小值-最低价)/最低价*100
    X_53赋值:(收盘价和开盘价的较大值-收盘价和开盘价的较小值)/收盘价和开盘价的较小值*100
    X_54赋值:(最高价-收盘价和开盘价的较大值)/收盘价和开盘价的较大值*100
    X_55赋值:X_54>X_53 AND X_54>3 AND X_52<1 AND 收阳线
    X_56赋值:120
    X_57赋值:收盘价的X_56日简单移动平均
    X_58赋值:收盘价-X_57的2乘幂
    X_59赋值:X_58的X_56日简单移动平均
    X_60赋值:X_59的开方
    X_61赋值:X_57+2*X_60
    X_62赋值:X_57-2*X_60
    X_63赋值:1日前的X_57
    X_64赋值:1日前的X_61
    X_65赋值:1日前的X_62
    X_66赋值:收盘价的7日简单移动平均
    X_67赋值:收盘价的20日简单移动平均
    X_68赋值:收盘价的30日简单移动平均
    X_69赋值:收盘价的144日简单移动平均
    X_70赋值:收盘价的8日简单移动平均
    X_71赋值:(收盘价-1日前的收盘价)/1日前的收盘价*100
    X_72赋值:(最高价-1日前的收盘价)/1日前的收盘价*100
    X_73赋值:(最低价-1日前的收盘价)/1日前的收盘价*100
    X_74赋值:1日前的收盘价
    X_75赋值:如果(收盘价-X_74)*100/X_74>=10-0.01*100/X_74,返回1,否则返回0
    X_76赋值:最高价>=20日内最高价的最高值
    X_77赋值:X_76=1 AND 上次1日前的X_76=1距今天数>=2
    X_78赋值:统计5日中满足X_76的天数>=1
    X_79赋值:如果收盘价>1日前的收盘价,返回成交量(手),否则返回-成交量(手)
    X_80赋值:如果收盘价=1日前的收盘价,返回0,否则返回X_79的历史累和
    X_81赋值:X_80的30日简单移动平均
    X_82赋值:如果收盘价>1日前的收盘价,返回成交量(手),否则返回-成交量(手)
    X_83赋值:如果收盘价=1日前的收盘价,返回0,否则返回X_82的历史累和
    X_84赋值:X_83
    X_85赋值:X_84>1日前的30日内X_84的最高值
    X_86赋值:X_80>X_81
    X_87赋值:(收盘价-9日内最低价的最低值)/(9日内最高价的最高值-9日内最低价的最低值)*100
    X_88赋值:X_87的3日[1日权重]移动平均
    X_89赋值:X_88的3日[1日权重]移动平均
    X_90赋值:3*X_88-2*X_89
    X_91赋值:1日前的X_75
    X_92赋值:统计5日中满足X_91的天数>=1
    X_93赋值:上次收盘价>1.099*1日前的收盘价距今天数
    X_94赋值:如果收盘价>X_93日前的收盘价,返回10,否则返回0
    X_95赋值:成交量(手)>1日前的成交量(手)*1.9
    X_96赋值:(收盘价的6日简单移动平均/1日前的收盘价的6日简单移动平均-1)*100的反正切*58.299999
    X_97赋值:开盘价<=1日前的收盘价 AND X_71<(-2)
    X_98赋值:统计2日中满足X_97的天数>=1
    X_99赋值:取反
    X_100赋值:取反
    X_101赋值:取反
    X_102赋值:取反
    X_103赋值:取反
    X_104赋值:取反
    X_105赋值:取反
    X_106赋值:取反
    X_107赋值:取反
    X_108赋值:取反
    X_109赋值:取反
    X_110赋值:取反
    X_111赋值:取反
    X_112赋值:X_92 AND X_71>2.5 AND 1日前的X_98 AND 1日前的X_71<2.4 AND X_68>0 AND X_99 AND X_100 AND X_101 AND X_102 AND X_103 AND X_104 AND X_105 AND X_106 AND X_107 AND X_108 AND X_109 AND X_110 AND X_111
    X_113赋值:10日前的收盘价/11日前的收盘价>1.099 AND 开盘价/10日前的开盘价<1.03 AND 3日前的收盘价/4日前的收盘价<0.95 AND 2日前的收盘价/3日前的收盘价<1.02 AND 1日前的收盘价/2日前的收盘价<1.01 AND 最高价/1日前的收盘价>1.041
    X_114赋值:X_23 OR X_51 OR X_112 OR X_113
    输出选股:X_114 AND 取反, 


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 牛市机票选股公式 加入收藏