通达信牛妖回头选股指标 源码 贴图
X_3:=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_4:=1.06*X_3; X_5:=MA(CLOSE,5); X_6:=MA(CLOSE,10); X_9:=REF(COUNT(X_5>X_6,7)>=1 AND (X_5>REF(X_5,1) OR CLOSE>REF(CLOSE,1) OR CLOSE>OPEN),1) AND CROSS(CLOSE,X_5) AND CLOSE>X_4 AND X_5>REF(X_5,1) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1)*1.015; X_10:=MA(CLOSE,20); X_11:=CLOSE>MA(CLOSE,5); X_12:=MA(CLOSE,5)>MA(CLOSE,10); X_13:=CLOSE>MA(CLOSE,10); X_14:=MA(CLOSE,5)>MA(CLOSE,20); X_15:=CLOSE>MA(CLOSE,20); X_16:=REF(X_10,1); X_17:=X_10>X_16; X_18:=IF(X_11,10,0-10)+IF(X_12,10,0-10)+IF(X_13,10,0-10)+IF(X_14,10,0-10)+IF(X_15,10,0-10)+IF(X_17,10,0-10); X_21:=X_18=60; X_23:=BARSLAST(NOT(X_21)); X_24:=COUNT(REF(C/REF(C,1)>1.097,1),20); X_25:=X_9 AND X_21=1 AND X_23=1 AND X_24; X_26:=C/REF(C,1)>1.097; X_27:=REF(CLOSE,1)/REF(CLOSE,2)<=0.96 OR REF(OPEN,1)/REF(CLOSE,1)>=1.05; X_28:=HIGH/REF(CLOSE,1)>1.041 AND CLOSE>REF(CLOSE,1); X_29:=X_27 AND X_28; X_30:=REF(CLOSE,2)/REF(CLOSE,3)<1.099; X_31:=X_29 AND X_30; X_32:=COUNT(REF(X_26,3),8) AND X_31; X_33:=MA(CLOSE,20); X_34:=CLOSE>MA(CLOSE,5); X_35:=MA(CLOSE,5)>MA(CLOSE,10); X_36:=CLOSE>MA(CLOSE,10); X_37:=MA(CLOSE,5)>MA(CLOSE,20); X_38:=CLOSE>MA(CLOSE,20); X_39:=REF(X_33,1); X_40:=X_33>X_39; X_41:=IF(X_34,10,0-10)+IF(X_35,10,0-10)+IF(X_36,10,0-10)+IF(X_37,10,0-10)+IF(X_38,10,0-10)+IF(X_40,10,0-10); X_44:=X_41=60; X_46:=BARSLAST(NOT(X_44)); X_47:=X_32 AND X_44=1 AND X_46=1; X_48:=REF(C/REF(C,1)>1.097,7); X_49:=HIGH/REF(CLOSE,1)>1.031 AND BETWEEN(OPEN/REF(OPEN,7),1.05,0.85); X_50:=REF(OPEN,1)>REF(MA(CLOSE,5),1) AND REF(CLOSE,1)[REF(MA(CLOSE,10),1);] X_51:=X_48 AND X_49 AND X_50; X_52:=X_51 AND REF(CLOSE,1)/REF(CLOSE,2)<0.97 AND REF(OPEN,1)>REF(CLOSE,1); X_53:=X_47 OR X_52; X_70:=MA(CLOSE,30); X_73:=(C/REF(C,1)-1)*100; X_77:=IF((C/REF(C,1)-1)*100>=10-0.01*100/REF(CLOSE,1),1,0); X_93:=REF(X_77,1); X_94:=COUNT(X_93,5)>=1; X_99:=OPEN<=REF(CLOSE,1) AND X_73<(-2); X_100:=COUNT(X_99,2)>=1; X_101:=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)[1.03 AND REF(HIGH,1)/REF(CLOSE,2)>1.03);] X_102:=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_103:=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_104:=NOT(REF(CLOSE,2)/REF(CLOSE,3)>1.099 AND REF(CLOSE,1)[REF(CLOSE,2) AND OPEN>REF(OPEN,1));] X_105:=NOT(REF(CLOSE,3)/REF(CLOSE,4)>1.095 AND REF(HIGH,2)>REF(CLOSE,3) AND REF(LOW,2)[1.095 AND REF(CLOSE,2)][1.05 AND OPEN/REF(LOW,2)<0.98);] X_106:=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_107:=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)[1.05);] X_108:=NOT(REF(CLOSE,2)/REF(CLOSE,3)<0.901 AND REF(OPEN,1)/REF(CLOSE,2)<0.98 AND REF(CLOSE,1)[1.095 AND REF(HIGH,3)>REF(CLOSE,4) AND REF(LOW,3)]X_109:=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_110:=NOT(REF(CLOSE,4)/REF(CLOSE,5)>1.095 AND REF(OPEN,3)/REF(CLOSE,4)>1.03 AND REF(CLOSE,3)X_111:=NOT(REF(CLOSE,4)/REF(CLOSE,5)>1.099 AND REF(OPEN,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_112:=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_113:=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_114:=X_94 AND X_73>2.5 AND REF(X_100,1) AND REF(X_73<2.4,1) AND X_70>0 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 AND X_112 AND X_113; X_115:=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_116:=X_25 OR X_53 OR X_114 OR X_115; X_117:=IF(NAMELIKE(233),0,1) AND IF(NAMELIKE(234),0,1); X_118:=DYNAINFO(4)>0; X_119:=X_117 AND X_118; X_120:=NOT(INBLOCK('科创板')); 牛妖回头:X_116 AND NOT(REF(X_116,1)) AND X_119 AND X_120;
|