通达信顺势擒牛选股指标公式
时间:2023-06-04 10:02:04 阅读:240
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);角度1:=(ATAN((DIF/REF(DIF,1)-1)*100)*180/3.1415926)>60;CN1:=HHV(V,5);CN2:=O>C;CN02:=C>O;CN03:=C=O;CN04:=((SUM(V,5)/CN1));CN05:=IF(CN04>0.3,1,0);CN06:=IF(CN2 AND CN05,V,0);CN07:=IF(CN02 AND CN05,V,0);CN08:=IF(CN03 AND CN05,V,0);AD:=SUM(CN07,3),COLORYELLOW;DA:=SUM(CN06,3);AZ:=(AD-DA),COLOR0000FF;AF:=AZ=AD;AX:=AD*0.6;SA:=BETWEEN(AZ,AD,AX);角度2:=(ATAN((AZ/REF(AZ,1)-1)*100)*180/3.1415926)>60;角度3:=(ATAN((AX/REF(AX,1)-1)*100)*180/3.1415926)>60;XA_1:=REF(CLOSE,1);XA_2:=IF((CLOSE-XA_1)*100/XA_1>=10-0.07*100/XA_1,1,0);XA_3:=IF((XA_1-CLOSE)*100/XA_1>=10-0.03*100/XA_1,1,0);XA_4:=STRCAT(HYBLOCK,4);XA_5:=STRCAT(XA_4,DYBLOCK);XA_6:=STRCAT(XA_5,4);XA_7:=CLOSE>REF(CLOSE,1)*1.098 AND CLOSE=HIGH;XA_8:=MA(CLOSE,5);XA_9:=MA((LOW+HIGH+CLOSE)/3,5);XA_10:=MA(CLOSE,5);XA_11:=CLOSE*vol;XA_12:=EMA((EMA(XA_11,3)/EMA(VOL,3)+EMA(XA_11,6)/EMA(VOL,6)+EMA(XA_11,12)/EMA(VOL,12)+EMA(XA_11,24)/EMA(VOL,24))/4,13);XA_13:=HHV(MA((LOW+HIGH+CLOSE+OPEN)/4,5),58);XA_14:=LLV(MA((LOW+HIGH+CLOSE+OPEN)/4,6),58);XA_15:=EMA((HIGH+LOW+CLOSE)/3*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*20/10+XA_14,2);XA_16:=(3*XA_11-2*SMA(XA_15,5,1))*0.3;XA_17:=(HHV(INDEXH,13)-INDEXC)/(HHV(INDEXH,13)-LLV(INDEXL,13));XA_18:=EMA(3*XA_17-2*SMA(XA_17,18,1),5);XA_19:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8));XA_20:=3*SMA(XA_19,3,1)-2*SMA(SMA(XA_19,3,1),5,1);XA_21:=(INDEXC*2+INDEXH+INDEXL)/4;XA_22:=EMA(XA_21,13)-EMA(XA_21,34);XA_23:=EMA(XA_22,5);XA_24:=1.86*EMA(CLOSE,12)-EMA(CLOSE,34);XA_25:=SMA(CLOSE,160,1);XA_26:=(55*XA_25+34*REF(XA_25,1)+22*REF(XA_25,2)+15*REF(XA_25,3)+8*REF(XA_25,4)+5*REF(XA_25,5)+3*REF(XA_25,6)+2*REF(XA_25,7)+REF(XA_25,8)+REF(XA_25,9))/155;XA_27:=REF(XA_26,1);XA_28:=CLOSE=HHV(CLOSE,20);XA_29:=BArslAST(XA_28);XA_30:=IF(XA_29>0,REF(CLOSE,XA_29),REF(CLOSE,XA_29));XA_31:=crOSS(CLOSE,REF(XA_30,1));XA_32:=XA_31 AND COUNT(XA_31,5)=1 AND COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.095,10);XA_33:=(CLOSE+LOW+HIGH)/3;XA_34:=ATAN(EMA(XA_33,13)-REF(EMA(XA_33,13),1))*3.1416*10;XA_35:=EMA(CLOSE,8);XA_36:=MA(CLOSE,5);XA_37:=(CLOSE-XA_36)/XA_36*100;XA_38:=ATAN((XA_36/REF(XA_36,1)-1)*100)*180/3.1416;XA_39:=SMA(EMA((XA_36-REF(XA_36,1))/REF(XA_36,1),3)*100,3,1);XA_40:=EMA(XA_39-REF(XA_39,1),3);XA_41:=MA(CLOSE,10);XA_42:=MA(CLOSE,20);XA_43:=ATAN((XA_41/REF(XA_41,1)-1)*100)*180/3.1416;XA_44:=MA(CLOSE,30);XA_45:=(CLOSE-XA_44)/XA_44*100;XA_46:=XA_42-XA_44>REF(XA_42-XA_44,1) AND XA_42>REF(XA_42,1) AND XA_44>REF(XA_44,1);XA_47:=XA_44-XA_42<REF(XA_44-XA_42,1) AND XA_42<REF(XA_42,1) AND XA_44<REF(XA_44,1);XA_48:=ATAN((XA_44/REF(XA_44,1)-1)*100)*180/3.1416;XA_49:=FILTER(XA_48>30 AND XA_43>45 AND CROSS(XA_38,60),10);XA_50:=FILTER(COUNT(CROSS(XA_38,30),5)>=1 AND XA_36>REF(XA_36,1) AND XA_45>REF(XA_45,1) AND XA_41>REF(XA_41,1) AND XA_40>REF(XA_40,1) AND XA_39>REF(XA_39,1),10) AND COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.095,20);XA_51:=MA(CLOSE,24)+2*STD(CLOSE,24);XA_52:=MA(CLOSE,5);XA_53:=MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND XA_51>REF(XA_51,1) AND XA_51/MA(CLOSE,5)<1.07 AND OPEN<XA_51 AND CLOSE>XA_51 AND CLOSE/REF(CLOSE,1)>1.031;XA_54:=MA(CLOSE,25)+MA(CLOSE,25)*20/100;XA_55:=XA_53 AND CLOSE>XA_54;XA_56:=OPEN<MA(CLOSE,5) AND XA_53 AND CLOSE<XA_54;XA_57:=XA_55 OR XA_56;XA_58:=XA_57 AND NOT(REF(XA_57,1));上轨:=(1+11/100)*MA(CLOSE,10),COLORWHITE;XA_59:=(1-9/100)*MA(CLOSE,10);中轨:=(上轨+XA_59)/2,COLORYELLOW;XA_60:=OPEN;XA_61:=CLOSE;XA_62:=MA(REF(HHV(XA_61,30),1),2);XA_63:=MA(REF(LLV(XA_61,30),1),2);XA_64:=EMA(CLOSE,2);XA_65:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);XA_66:=MA(CLOSE,60);XA_67:=88;XA_68:=6;XA_69:=EMA(EMA(EMA(CLOSE,2),2),2);XA_70:=MA(XA_69,13)*0.99;XA_71:=MAX(MAX(HIGH-LOW,Abs(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));XA_72:=MA(XA_71,13);XA_73:=REF(CLOSE,1)-REF(XA_72,1);黄金线:=HHV(XA_73,12),COLORFF99FF,LINETHICK3;XA_74:=EMA(AMOUNT/VOL/100,3);强势线:=MA(CLOSE,25)+MA(CLOSE,25)*6/100,COLORD9D919,LINETHICK2;XA_75:=MA(CLOSE,5);XA_76:=MA(CLOSE,10);XA_77:=MA(CLOSE,20);XA_78:=MA(CLOSE,60);XA_79:=MA(CLOSE,120);XA_80:=CLOSE>XA_75 AND XA_75>XA_76 AND XA_76>XA_77 AND XA_77>XA_78 AND XA_78>XA_79;XA_81:=XA_80 AND REF(NOT(XA_80),1) AND CLOSE>REF(CLOSE,1) AND COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.095,15);XA_82:=CLOSE>MAX(XA_75,MAX(XA_76,XA_77)) AND XA_66>XA_79 AND CLOSE>XA_78;XA_83:=XA_82 AND REF(NOT(XA_82),1) AND CLOSE>REF(CLOSE,1) AND COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.095,15);XA_84:=CLOSE>MAX(XA_75,MAX(XA_76,XA_77)) AND CLOSE>MAX(XA_78,XA_79) AND NOT(XA_66>XA_79);XA_85:=XA_84 AND REF(NOT(XA_84),1) AND CLOSE>REF(CLOSE,1) AND COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.095,15);XA_86:=CLOSE>XA_75 AND XA_75>XA_76 AND XA_76>XA_77;XA_87:=XA_86 AND REF(NOT(XA_86),1) AND CLOSE>REF(CLOSE,1) AND COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.095,15);XA_88:=CLOSE>MAX(XA_8,MAX(XA_76,XA_77));XA_89:=IF(REF(C,1)*1.1-C<0.01 ,1,0);XA_90:=XA_88 AND REF(NOT(XA_88),1) AND CLOSE>REF(CLOSE,1) AND COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.095,15);共振:=COUNT(XA_81,2)>0 OR XA_83 OR (XA_85 AND XA_32) OR ((REF(XA_89,1) OR XA_85) AND ((REF(H<上轨,1) AND O>上轨)));选股:共振 AND REF(AD=AZ,1) AND 角度1 AND 角度2 AND 角度3 AND AD=AZ;
关键词:
上一篇: 通达信黑马启动参考指标公式
下一篇: 通达信趋势变买选股指标公式