通达信首板寻龙副图+选股指标公式源码
通达信首板寻龙副图指标公式源码:
X_1:=VOL/700000000;
X_2:=1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1);
X_3:=2.5*MAX(X_1,X_2);
X_4:=DMA(CLOSE,X_3);
X_5:=SMA(20*(X_4/REF(X_4,1)-1),2,1);
X_6:=EMA(X_5,2);
X_7:=0.24;
X_8:=CLOSE>=REF(CLOSE,1);
X_9:=IF(X_5>X_7 AND X_6>=0.005 AND X_8,1,0);
X_10:=CROSS(X_9,0.5) AND COUNT(X_9>0.5,10)=1;
X_11:=KDJ.J-REF(KDJ.J,1)>30 AND CLOSE/REF(CLOSE,1)>1.043 AND MACD.MACD>0 AND MACD.DEA>0;
X_12:=CLOSE/REF(CLOSE,1)>1.03 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
X_13:=FILTER(X_12,28)*100 AND LOW>REF(CLOSE,1)*0.93;
X_14:=X_11 OR X_13 AND X_10;
X_15:=9;
X_16:=10;
X_17:=CLOSE/REF(CLOSE,1)>1+0.01*X_15;
X_18:=EXIST(CLOSE/REF(CLOSE,1)>1+0.01*X_15,X_16);
X_19:=CLOSE/REF(CLOSE,1)>1+0.01*X_15;
X_20:=IF(X_17+X_18+X_19=3,1,0);
X_21:=(HIGH-CLOSE)/(CLOSE-OPEN)<0.33;
X_22:=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_23:=CLOSE/REF(CLOSE,1)-1>=0.08;
X_24:=VOL>REF(VOL,1)*1.9 AND CLOSE>REF(CLOSE,1) AND CLOSE/REF(CLOSE,1)-1>=0.049 AND X_21;
X_25:=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_21;
X_26:=EMA(2.055*EMA(EMA(HIGH,34),34)-EMA(EMA(LOW,34),34),5);
X_27:=IF(FILTER(X_24 OR X_25 OR X_22 OR X_23 AND X_26>CLOSE,34),1,0) AND X_20;
X_28:=X_14 OR X_27;
X_29:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
X_30:=FILTER(X_29,10);
X_31:=BARSLAST(X_30);
X_32:=REF(HIGH,X_31+2);
X_33:=REF(HIGH,X_31+1);
X_34:=REF(HIGH,X_31);
X_35:=MAX(X_32,X_33);
X_36:=MAX(X_35,X_34);
X_37:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
X_38:=X_31<150;
X_39:=(OPEN-X_36)/X_36*100<30;
X_40:=(CLOSE-LLV(LOW,X_31))/LLV(LOW,X_31)*100<50;
X_41:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
X_42:=VOL/MA(VOL,5)<3.5;
X_43:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
X_44:=X_37 AND X_38 AND X_39 AND X_40 AND X_41 AND X_42 AND X_43;
X_45:=FILTER(X_44,15);
X_46:=(CLOSE-MA(CLOSE,54))/MA(CLOSE,54)<0.1;
X_47:=(CLOSE-MA(CLOSE,10))/MA(CLOSE,10)<0.3;
X_48:=(X_46=1 AND X_47=1)*0.2;
X_49:=(X_48=0 AND REF(X_48,1)=0.2 AND REF(COUNT(X_48=0.2,10)=10,1)=1)*(-0.1);
X_50:=X_49=(-0.1);
X_51:=X_45 OR X_50;
X_52:=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_53:=X_51 AND CLOSE/REF(CLOSE,1)>1.03 AND X_52;
X_54:=VOL;
X_55:=X_54>MA(VOL,89);
X_56:=EMA(CLOSE,5);
X_57:=EMA(CLOSE,29);
X_58:=X_56>X_57;
X_59:=REF(CLOSE,1);
X_60:=SMA(MAX(CLOSE-X_59,0),12,1)/SMA(ABS(CLOSE-X_59),12,1)*100;
X_61:=SMA(MAX(CLOSE-X_59,0),56,1)/SMA(ABS(CLOSE-X_59),56,1)*100;
X_62:=X_60>X_61 AND X_58 AND X_55;
X_63:=HHV(HIGH,30);
X_64:=LLV(LOW,30);
X_65:=REF((X_63/X_64-1)*100<=30,1);
X_66:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23));
X_67:=DMA((2.15*CLOSE+LOW+HIGH)/4,X_66);
X_68:=EMA(X_67,200)*1.1;
X_69:=CROSS(CLOSE,X_68) AND REF(CLOSE*1.097,1)<CLOSE AND X_62 AND X_65;
X_70:=(CLOSE-EMA(CLOSE,5))/EMA(CLOSE,5)*100;
X_71:=EMA(EMA(EMA(CLOSE,50),50),50)*1.1;
X_72:=EMA(EMA(EMA(CLOSE,10),10),10)*1.09;
X_73:=CROSS(X_70,5) AND CROSS(CLOSE,X_71) AND CROSS(CLOSE,X_72);
X_74:=IF(AMOUNT/CLOSE/(HHV(AMOUNT,20)/HHV(CLOSE,20))*100>100,100,AMOUNT/CLOSE/(HHV(AMOUNT,20)/HHV(CLOSE,20))*100);
X_75:=100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60));
X_76:=X_74=100 AND X_75=0;
X_77:=CLOSE/REF(CLOSE,1)>=1.0982 AND CLOSE/REF(CLOSE,1)<=1.102 OR CLOSE/REF(CLOSE,1)>=1.1998;
X_78:=120;
X_79:=MA(CLOSE,X_78);
X_80:=POW(CLOSE-X_79,2);
X_81:=MA(X_80,X_78);
X_82:=SQRT(X_81);
X_83:=X_79+2*X_82;
X_84:=X_83;
X_85:=MA(CLOSE,25);
X_86:=CROSS(CLOSE,X_84) OR COUNT(CLOSE<REF(CLOSE,1),3)=3 AND CLOSE>X_84 AND CLOSE>X_85 AND X_77;
寻龙:X_28 AND X_53 AND (X_69 OR X_73) AND X_76 AND X_86 COLORYELLOW LINETHICK2;
通达信首板寻龙选股指标公式源码:
X_1:=VOL/700000000;
X_2:=1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1);
X_3:=2.5*MAX(X_1,X_2);
X_4:=DMA(CLOSE,X_3);
X_5:=SMA(20*(X_4/REF(X_4,1)-1),2,1);
X_6:=EMA(X_5,2);
X_7:=0.24;
X_8:=CLOSE>=REF(CLOSE,1);
X_9:=IF(X_5>X_7 AND X_6>=0.005 AND X_8,1,0);
X_10:=CROSS(X_9,0.5) AND COUNT(X_9>0.5,10)=1;
X_11:=KDJ.J-REF(KDJ.J,1)>30 AND CLOSE/REF(CLOSE,1)>1.043 AND MACD.MACD>0 AND MACD.DEA>0;
X_12:=CLOSE/REF(CLOSE,1)>1.03 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
X_13:=FILTER(X_12,28)*100 AND LOW>REF(CLOSE,1)*0.93;
X_14:=X_11 OR X_13 AND X_10;
X_15:=9;
X_16:=10;
X_17:=CLOSE/REF(CLOSE,1)>1+0.01*X_15;
X_18:=EXIST(CLOSE/REF(CLOSE,1)>1+0.01*X_15,X_16);
X_19:=CLOSE/REF(CLOSE,1)>1+0.01*X_15;
X_20:=IF(X_17+X_18+X_19=3,1,0);
X_21:=(HIGH-CLOSE)/(CLOSE-OPEN)<0.33;
X_22:=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_23:=CLOSE/REF(CLOSE,1)-1>=0.08;
X_24:=VOL>REF(VOL,1)*1.9 AND CLOSE>REF(CLOSE,1) AND CLOSE/REF(CLOSE,1)-1>=0.049 AND X_21;
X_25:=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_21;
X_26:=EMA(2.055*EMA(EMA(HIGH,34),34)-EMA(EMA(LOW,34),34),5);
X_27:=IF(FILTER(X_24 OR X_25 OR X_22 OR X_23 AND X_26>CLOSE,34),1,0) AND X_20;
X_28:=X_14 OR X_27;
X_29:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
X_30:=FILTER(X_29,10);
X_31:=BARSLAST(X_30);
X_32:=REF(HIGH,X_31+2);
X_33:=REF(HIGH,X_31+1);
X_34:=REF(HIGH,X_31);
X_35:=MAX(X_32,X_33);
X_36:=MAX(X_35,X_34);
X_37:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
X_38:=X_31<150;
X_39:=(OPEN-X_36)/X_36*100<30;
X_40:=(CLOSE-LLV(LOW,X_31))/LLV(LOW,X_31)*100<50;
X_41:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
X_42:=VOL/MA(VOL,5)<3.5;
X_43:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
X_44:=X_37 AND X_38 AND X_39 AND X_40 AND X_41 AND X_42 AND X_43;
X_45:=FILTER(X_44,15);
X_46:=(CLOSE-MA(CLOSE,54))/MA(CLOSE,54)<0.1;
X_47:=(CLOSE-MA(CLOSE,10))/MA(CLOSE,10)<0.3;
X_48:=(X_46=1 AND X_47=1)*0.2;
X_49:=(X_48=0 AND REF(X_48,1)=0.2 AND REF(COUNT(X_48=0.2,10)=10,1)=1)*(-0.1);
X_50:=X_49=(-0.1);
X_51:=X_45 OR X_50;
X_52:=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_53:=X_51 AND CLOSE/REF(CLOSE,1)>1.03 AND X_52;
X_54:=VOL;
X_55:=X_54>MA(VOL,89);
X_56:=EMA(CLOSE,5);
X_57:=EMA(CLOSE,29);
X_58:=X_56>X_57;
X_59:=REF(CLOSE,1);
X_60:=SMA(MAX(CLOSE-X_59,0),12,1)/SMA(ABS(CLOSE-X_59),12,1)*100;
X_61:=SMA(MAX(CLOSE-X_59,0),56,1)/SMA(ABS(CLOSE-X_59),56,1)*100;
X_62:=X_60>X_61 AND X_58 AND X_55;
X_63:=HHV(HIGH,30);
X_64:=LLV(LOW,30);
X_65:=REF((X_63/X_64-1)*100<=30,1);
X_66:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23));
X_67:=DMA((2.15*CLOSE+LOW+HIGH)/4,X_66);
X_68:=EMA(X_67,200)*1.1;
X_69:=CROSS(CLOSE,X_68) AND REF(CLOSE*1.097,1)<CLOSE AND X_62 AND X_65;
X_70:=(CLOSE-EMA(CLOSE,5))/EMA(CLOSE,5)*100;
X_71:=EMA(EMA(EMA(CLOSE,50),50),50)*1.1;
X_72:=EMA(EMA(EMA(CLOSE,10),10),10)*1.09;
X_73:=CROSS(X_70,5) AND CROSS(CLOSE,X_71) AND CROSS(CLOSE,X_72);
X_74:=IF(AMOUNT/CLOSE/(HHV(AMOUNT,20)/HHV(CLOSE,20))*100>100,100,AMOUNT/CLOSE/(HHV(AMOUNT,20)/HHV(CLOSE,20))*100);
X_75:=100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60));
X_76:=X_74=100 AND X_75=0;
X_77:=CLOSE/REF(CLOSE,1)>=1.0982 AND CLOSE/REF(CLOSE,1)<=1.102 OR CLOSE/REF(CLOSE,1)>=1.1998;
X_78:=120;
X_79:=MA(CLOSE,X_78);
X_80:=POW(CLOSE-X_79,2);
X_81:=MA(X_80,X_78);
X_82:=SQRT(X_81);
X_83:=X_79+2*X_82;
X_84:=X_83;
X_85:=MA(CLOSE,25);
X_86:=CROSS(CLOSE,X_84) OR COUNT(CLOSE<REF(CLOSE,1),3)=3 AND CLOSE>X_84 AND CLOSE>X_85 AND X_77;
一板强妖:X_28 AND X_53 AND (X_69 OR X_73) AND X_76 AND X_86;
通达信强股跟踪副图指标公式源码:
X_1:=(-(HHV(EMA(CLOSE,5),14)-CLOSE))/CLOSE*5000;
X_2:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_3:=(20*X_2+19*REF(X_2,1)+18*REF(X_2,2)+17*REF(X_2,3)+16*REF(X_2,4)+15*REF(X_2,5)+14*REF(X_2,6)+13*REF(X_2,7)+12*REF(X_2,8)+11*REF(X_2,9)+10*REF(X_2,10)+9*REF(X_2,11)+8*REF(X_2,12)+7*REF(X_2,13)+6*REF(X_2,14)+5*REF(X_2,15)+4*REF(X_2,16)+3*REF(X_2,17)+2*REF(X_2,18)+REF(X_2,20))/210;
X_4:=MA(X_3,6);
X_5:=(X_3-X_4)*1.2;
X_6:=(CLOSE*2+HIGH+LOW)/4*10;
X_7:=EMA(X_6,6)-EMA(X_6,55);
X_8:=EMA(X_7,6);
X_9:=(X_7-X_8)*0.06;
X_10:=X_5+X_9;
X_11:=X_10>0;
X_12:=MA(CLOSE,3);
X_13:=MA(CLOSE,13);
X_14:=MA(CLOSE,34);
X_15:=X_12>=X_13 AND X_14>=REF(X_14,1);
X_16:=EMA(CLOSE,12);
X_17:=EMA(CLOSE,50);
X_18:=X_16-X_17>0;
X_19:=CLOSE/REF(CLOSE,1)-1;
X_20:=IF(X_15,2,0)+IF(X_11,2,0)+IF(X_18,2,0)+X_19;
X_21:=X_20/10+X_1/1000;
X_22:=IF(X_21>=0.5,X_21,0.5);
X_23:=X_22>REF(X_22,1) AND CROSS(X_22,0.8);
0.5;
STICKLINE(X_22>=0.8 AND CLOSE>REF(CLOSE,1),0.8,X_22,2,0),COLORMAGENTA;
STICKLINE(X_22>=0.8 AND CLOSE<=REF(CLOSE,1),0.8,X_22,2,0),COLORYELLOW;
STICKLINE(X_22<0.8 AND CLOSE>REF(CLOSE,1),0.8,X_22,2,0),COLORWHITE;
STICKLINE(X_22<0.8 AND CLOSE<=REF(CLOSE,1),0.8,X_22,2,0),COLORCYAN;
X_24:=VOL/700000000;
X_25:=1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1);
X_26:=2.5*MAX(X_24,X_25);
X_27:=DMA(CLOSE,X_26);
X_28:=SMA(20*(X_27/REF(X_27,1)-1),2,1);
X_29:=EMA(X_28,2);
X_30:=0.24;
X_31:=CLOSE>=REF(CLOSE,1);
X_32:=IF(X_28>X_30 AND X_29>=0.005 AND X_31,1,0);
X_33:=CROSS(X_32,0.5) AND COUNT(X_32>0.5,10)=1;