通达信简单共振系统指标公式
通达信起动点指标公式
通达信简单共振系统指标公式:
XA_1:=INDEXC>0.98*REF(INDEXC,2) AND INDEXC>0.98*REF(INDEXC,1) AND CLOSE<=1.47*LLV(CLOSE,58);
XA_2:=IF(NAMELIKE(1),0,1);
XA_3:=IF(NAMELIKE(2),0,1);
XA_4:=EMA(CLOSE,12)-EMA(CLOSE,26);
XA_5:=EMA(XA_4,9);
XA_6:=(XA_4-XA_5)*2;
XA_7:=XA_4>REF(XA_4,1) AND XA_5>REF(XA_5,1) AND XA_6>REF(XA_6,1);
XA_8:=XA_1 AND XA_2 AND XA_3 AND XA_7;
XA_9:=EMA(CLOSE,3)-EMA(CLOSE,6);
XA_10:=EMA(XA_9,3);
XA_11:=XA_9>XA_10 AND XA_9>0;
XA_12:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
XA_13:=SMA(XA_12,3,1);
XA_14:=SMA(XA_13,3,1);
XA_15:=XA_13>XA_14 AND XA_14<80;
XA_16:=REF(CLOSE,1);
XA_17:=SMA(MAX(CLOSE-XA_16,0),6,1)/SMA(Abs(CLOSE-XA_16),6,1)*100;
XA_18:=SMA(MAX(CLOSE-XA_16,0),12,1)/SMA(ABS(CLOSE-XA_16),12,1)*100;
XA_19:=REF(CLOSE,1);
XA_20:=SMA(MAX(CLOSE-XA_19,0),3,1)/SMA(ABS(CLOSE-XA_19),3,1)*100;
XA_21:=SMA(MAX(CLOSE-XA_19,0),6,1)/SMA(ABS(CLOSE-XA_19),6,1)*100;
XA_22:=XA_20>XA_21 AND XA_20>50;
XA_23:=XA_11 OR XA_15 OR XA_22;
XA_24:=1350901;
XA_25:=1351001;
XA_26:=IF(DATE>XA_24,IF(CLOSE<80,1,0),0);
XA_27:=IF(DATE>XA_25,1,XA_26);
XA_28:=macd.DIF#DAY;
XA_29:=MacD.DEA#DAY;
XA_30:=MACD.DIF#WEEK;
XA_31:=MACD.DEA#WEEK;
XA_32:=MACD.MACD#MONTH;
XA_33:=BArslAst(REF(XA_28,1)<REF(XA_29,1) AND XA_28>XA_29)<=2 AND BARSLAST(crOSS(XA_30,XA_31))<=5 AND XA_27!=1;
XA_34:=BARSLAST(REF(XA_28,1)<REF(XA_29,1) AND XA_28>XA_29)<=2 AND BARSLAST(CROSS(XA_30,XA_31))<=5 AND BARSLAST(XA_32>REF(XA_32,1))<=20 AND XA_27!=1;
XA_35:=kdj.K#DAY;
XA_36:=kdJ.D#DAY;
XA_37:=KDJ.K#WEEK;
XA_38:=KDJ.D#WEEK;
XA_39:=KDJ.J#MONTH;
XA_40:=BARSLAST(REF(XA_35,1)<=REF(XA_36,1) AND XA_35>=XA_36)<=2 AND XA_27!=1 AND BARSLAST(CROSS(XA_37,XA_38))<=5;
XA_41:=BARSLAST(REF(XA_35,1)<REF(XA_36,1) AND XA_35>XA_36)<=2 AND BARSLAST(CROSS(XA_37,XA_38))<=5 AND BARSLAST(XA_32>REF(XA_32,1))<=20;
XA_42:=rsi.RSI1#DAY;
XA_43:=RSI.RSI2#DAY;
XA_44:=RSI.RSI1#WEEK;
XA_45:=RSI.RSI2#WEEK;
XA_46:=RSI.RSI1#MONTH;
XA_47:=BARSLAST(REF(XA_42,1)<=REF(XA_43,1) AND XA_42>=XA_43)<=2 AND BARSLAST(CROSS(XA_44,XA_45))<=5;
XA_48:=BARSLAST(REF(XA_42,1)<REF(XA_43,1) AND XA_42>XA_43)<=2 AND XA_27!=1 AND BARSLAST(CROSS(XA_44,XA_45))<=5 AND BARSLAST(XA_32>REF(XA_32,1))<=20;
XA_49:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
XA_50:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
XA_51:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
XA_52:=SMA(XA_49,3,1);
XA_53:=SMA(XA_52,3,1);
XA_54:=SMA(XA_50,3,1);
XA_55:=SMA(XA_54,3,1);
XA_56:=EMA(SMA(XA_51,3,1),2);
XA_57:=SMA(XA_56,3,1);
XA_58:=CROSS(XA_52,XA_53) AND CROSS(XA_54,XA_55) AND CROSS(XA_56,XA_57);
XA_59:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
XA_60:=SMA(SMA(XA_59,3,1),3,1)/28.57;
XA_61:=EMA(XA_60,5);
XA_62:=3*XA_60-2*XA_61;
XA_63:=CROSS(XA_62,XA_60) AND XA_60<2.1 AND CLOSE>OPEN;
XA_64:=XA_63;
XA_65:=XA_58 AND XA_64;
XA_66:=BARSLAST(XA_65)<=2 AND BARSLAST(XA_33)<=2 OR (BARSLAST(XA_65)<=2 AND BARSLAST(XA_47)<=2) OR (BARSLAST(XA_65)<=2 AND BARSLAST(XA_40)<=2);
XA_67:=BARSLAST(XA_33)<=2 AND BARSLAST(XA_47)<=2 OR (BARSLAST(XA_33)<=2 AND BARSLAST(XA_40)<=2);
XA_68:=BARSLAST(XA_47)<=2 AND BARSLAST(XA_40)<=2;
周共振:XA_8 AND PERIOD<=5 AND XA_26!=1 AND FILTER(XA_23 AND (XA_66 OR XA_67 OR XA_68),5),NODRAW,COLORMAGENTA;
XA_69:=BARSLAST(XA_65)<=2 AND BARSLAST(XA_34)<=2 OR (BARSLAST(XA_65)<=2 AND BARSLAST(XA_48)<=2) OR (BARSLAST(XA_65)<=2 AND BARSLAST(XA_41)<=2);
XA_70:=BARSLAST(XA_34)<=2 AND BARSLAST(XA_48)<=2 OR (BARSLAST(XA_34)<=2 AND BARSLAST(XA_41)<=2);
XA_71:=BARSLAST(XA_48)<=2 AND BARSLAST(XA_41)<=2;
月共振:XA_8 AND PERIOD<=5 AND XA_26!=1 AND FILTER(XA_23 AND (XA_69 OR XA_70 OR XA_71),5),NODRAW,COLORCYAN;
XA_72:=CLOSE-REF(CLOSE,1);
XA_73:=100*EMA(EMA(XA_72,6),6)/EMA(EMA(ABS(XA_72),6),6);
XA_74:=LLV(XA_73,2)=LLV(XA_73,7) AND COUNT(XA_73<0,2) AND CROSS(XA_73,MA(XA_73,2));
XA_75:=(2*CLOSE+HIGH+LOW)/4;
XA_76:=WMA((XA_75-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,2);
XA_77:=WMA(0.618*REF(XA_76,1)+0.382*XA_76,3);
XA_78:=CROSS(XA_76,XA_77) AND XA_76<30;
XA_79:=SMA(MAX(CLOSE-REF(CLOSE,1),0),3,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),3,1)*100;
XA_80:=CROSS(XA_79,12);
XA_81:=IF(XA_26=1,0,XA_74 OR XA_78 OR XA_80);
XA_82:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
XA_83:=SMA(XA_82,3,1);
XA_84:=SMA(XA_83,3,1);
XA_85:=3*XA_83-2*XA_84;
XA_86:=BARSLAST(REF(CROSS(XA_9,XA_10),1));
XA_87:=CLOSE>0 AND REF(XA_9,XA_63+1)<XA_9 AND CROSS(XA_9,XA_10);
XA_88:=BARSLAST(XA_81);
XA_89:=REF(HIGH,XA_88);
XA_90:=(2*CLOSE+HIGH+LOW+OPEN)/5;
XA_91:=EMA(EMA(EMA(XA_90,4),4),4);
XA_92:=(XA_91-REF(XA_91,1))/REF(XA_91,1)*100;
XA_93:=MA(XA_92,2);
XA_94:=MA(XA_92,1);
XA_95:=(LOW+HIGH+CLOSE)/3;
XA_96:=MA(XA_95,5);
XA_97:=HHV(XA_96,30);
XA_98:=LLV(XA_96,13);
XA_99:=XA_98+0.0001;
XA_100:=CROSS(XA_96,XA_99);
XA_101:=COUNT(XA_100,10)>0 AND LOW<XA_98 AND XA_98=REF(XA_98,5);
XA_102:=周共振 AND REF(CLOSE,1)<=XA_89 AND REF(XA_85,1)<50 AND BARSLAST(XA_87)<=5 AND BARSLAST(XA_81)<=5 AND (CLOSE-LLV(LOW,5))/LLV(LOW,5)*100<15;
XA_103:=周共振 AND CLOSE<=XA_89 AND (BARSLAST(XA_87)<=2 OR LLV(XA_85,2)<50);
XA_104:=周共振 AND BARSLAST(XA_101)<=4;
优选买点:IF(XA_27=1,0,XA_8 AND (XA_102 OR XA_103 OR XA_104)),NODRAW,COLORYELLOW;
XA_105:=周共振;
XG:XA_105;
通达信牛股基因指标公式