通达信红利支点选股指标 源码 贴图
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:=1; X_23:=X_7 AND X_19=1 AND X_21=1 AND X_22; X_24:=1; 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:=1; 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);] 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:=1; X_72:=1; X_73:=HIGH>=HHV(HIGH,20); X_74:=X_73=1 AND BARSLAST(REF(X_73=1,1))>=2; X_75:=COUNT(X_73,5)>=1; X_76:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL); X_77:=SUM(IF(CLOSE=REF(CLOSE,1),0,X_76),0); X_78:=MA(X_77,30); X_79:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL); X_80:=SUM(IF(CLOSE=REF(CLOSE,1),0,X_79),0); X_81:=X_80; X_82:=X_81>REF(HHV(X_81,30),1); X_83:=X_77>X_78; X_84:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; X_85:=SMA(X_84,3,1); X_86:=SMA(X_85,3,1); X_87:=3*X_85-2*X_86; X_88:=REF(X_72,1); X_89:=COUNT(X_88,5)>=1; X_90:=BARSLAST(CLOSE>1.099*REF(CLOSE,1)); X_91:=IF(CLOSE>REF(CLOSE,X_90),10,0); X_92:=VOL>REF(VOL,1)*1.9; X_93:=ATAN((MA(CLOSE,6)/REF(MA(CLOSE,6),1)-1)*100)*57.299999; X_94:=OPEN<=REF(CLOSE,1) AND X_71<(-2); X_95:=COUNT(X_94,2)>=1; X_96:=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_97:=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_98:=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_99:=NOT(REF(CLOSE,2)/REF(CLOSE,3)>1.099 AND REF(CLOSE,1)[REF(CLOSE,2) AND OPEN>REF(OPEN,1));] X_100:=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_101:=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_102:=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_103:=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_104:=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_105:=NOT(REF(CLOSE,4)/REF(CLOSE,5)>1.095 AND REF(OPEN,3)/REF(CLOSE,4)>1.03 AND REF(CLOSE,3)X_106:=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_107:=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_108:=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_109:=X_89 AND X_71>2.5 AND REF(X_95,1) AND REF(X_71<2.4,1) AND X_68>0 AND X_96 AND X_97 AND X_98 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; X_110:=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_111:=X_23 OR X_51 OR X_109 OR X_110; X_112:=IF(NAMELIKE(233),0,1) AND IF(NAMELIKE(234),0,1); X_113:=DYNAINFO(4)>0; X_114:=X_112 AND X_113; ZF:=(C-L)/C*100 <5; HSL:=V/CAPITAL*100>5; TJXG:X_111 AND NOT(REF(X_111,1)) AND X_114 AND ZF AND HSL;
|