未来函数检测结果如下:
该公式包含未来函数:#MONTH
该公式包含未来函数:#WEEK


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;






原理解析:
XA_1赋值:INDEXC>0.98*2日前的INDEXC AND INDEXC>0.98*1日前的INDEXC AND 收盘价<=1.47*58日内收盘价最低值
XA_2赋值:IF(NAMELIKE(1),0,1)
XA_3赋值:IF(NAMELIKE(2),0,1)
XA_4赋值:收盘价的12日指数移动平均-收盘价的26日指数移动平均
XA_5赋值:XA_4的9日指数移动平均
XA_6赋值:(XA_4-XA_5)*2
XA_7赋值:XA_4>1日前的XA_4 AND XA_5>1日前的XA_5 AND XA_6>1日前的XA_6
XA_8赋值:XA_1 AND XA_2 AND XA_3 AND XA_7
XA_9赋值:收盘价的3日指数移动平均-收盘价的6日指数移动平均
XA_10:=XA_9的3日指数移动平均
XA_11:=XA_9>XA_10 AND XA_9>0
XA_12:=(收盘价-5日内最低价最低值)/(5日内最高价最高值-5日内最低价最低值)*100
XA_12的3日[1日权重]移动平均
XA_13的3日[1日权重]移动平均
XA_15:=XA_13>XA_14 AND XA_14<80
XA_16:=1日前的收盘价
XA_17:=SMA(收盘价-XA_16和0较大值,6,1)/SMA(收盘价-XA_16的绝对值,6,1)*100
XA_18:=SMA(收盘价-XA_16和0较大值,12,1)/SMA(收盘价-XA_16的绝对值,12,1)*100
XA_19:=1日前的收盘价
XA_20:=SMA(收盘价-XA_19和0较大值,3,1)/SMA(收盘价-XA_19的绝对值,3,1)*100
XA_21:=SMA(收盘价-XA_19和0较大值,6,1)/SMA(收盘价-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(收盘价<80,1,0),0)
如果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:=上次1日前的XA_28<1日前的XA_29 AND XA_28>XA_29距今天数<=2 AND BARSLAST(XA_30上穿XA_31)<=5 AND XA_27!=1
XA_34:=上次1日前的XA_28<1日前的XA_29 AND XA_28>XA_29距今天数<=2 AND BARSLAST(XA_30上穿XA_31)<=5 AND BARSLAST(XA_32>1日前的XA_32)<=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:=上次1日前的XA_35<=1日前的XA_36 AND XA_35>=XA_36距今天数<=2 AND XA_27!=1 AND BARSLAST(XA_37上穿XA_38)<=5
XA_41:=上次1日前的XA_35<1日前的XA_36 AND XA_35>XA_36距今天数<=2 AND BARSLAST(XA_37上穿XA_38)<=5 AND BARSLAST(XA_32>1日前的XA_32)<=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:=上次1日前的XA_42<=1日前的XA_43 AND XA_42>=XA_43距今天数<=2 AND BARSLAST(XA_44上穿XA_45)<=5
XA_48:=上次1日前的XA_42<1日前的XA_43 AND XA_42>XA_43距今天数<=2 AND XA_27!=1 AND BARSLAST(XA_44上穿XA_45)<=5 AND BARSLAST(XA_32>1日前的XA_32)<=20
XA_49:=(收盘价-89日内最低价最低值)/(89日内最高价最高值-89日内最低价最低值)*100
XA_50:=(收盘价-34日内最低价最低值)/(34日内最高价最高值-34日内最低价最低值)*100
XA_51:=(收盘价-5日内最低价最低值)/(5日内最高价最高值-5日内最低价最低值)*100
XA_49的3日[1日权重]移动平均
XA_52的3日[1日权重]移动平均
XA_50的3日[1日权重]移动平均
XA_54的3日[1日权重]移动平均
XA_51的3日[1日权重]移动平均
XA_56的3日[1日权重]移动平均
XA_58:=XA_52上穿XA_53 AND XA_54上穿XA_55 AND XA_56上穿XA_57
XA_59:=(收盘价-20日内最低价最低值)/(20日内最高价最高值-20日内最低价最低值)*100
XA_59的3日[1日权重]移动平均
XA_61:=XA_60的5日指数移动平均
XA_62:=3*XA_60-2*XA_61
XA_63:=XA_62上穿XA_60 AND XA_60<2.1 AND 收盘价>开盘价
XA_64:=XA_63
XA_65:=XA_58 AND XA_64
XA_66:=上次XA_65距今天数<=2 AND BARSLAST(XA_33)<=2 OR (上次XA_65距今天数<=2 AND BARSLAST(XA_47)<=2) OR (上次XA_65距今天数<=2 AND BARSLAST(XA_40)<=2)
XA_67:=上次XA_33距今天数<=2 AND BARSLAST(XA_47)<=2 OR (上次XA_33距今天数<=2 AND BARSLAST(XA_40)<=2)
XA_68:=上次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,画洋红色
XA_69:=上次XA_65距今天数<=2 AND BARSLAST(XA_34)<=2 OR (上次XA_65距今天数<=2 AND BARSLAST(XA_48)<=2) OR (上次XA_65距今天数<=2 AND BARSLAST(XA_41)<=2)
XA_70:=上次XA_34距今天数<=2 AND BARSLAST(XA_48)<=2 OR (上次XA_34距今天数<=2 AND BARSLAST(XA_41)<=2)
XA_71:=上次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,画青色
XA_72:=收盘价-1日前的收盘价
XA_73:=100*XA_72的6日指数移动平均,6)/EMA(EMA(XA_72的绝对值,6),6)
XA_74:=2日内XA_73最低值=7日内XA_73最低值 AND 统计2日满足XA_73<0的天数 AND CROSS(XA_73,XA_73的2日简单移动平均)
XA_75:=(2*收盘价+最高价+最低价)/4
XA_76:=WMA((XA_75-5日内最低价最低值)/(5日内最高价最高值-5日内最低价最低值)*100,2)
XA_77:=W0.618*1日前的XA_76+0.382*XA_76的3日简单移动平均
XA_78:=XA_76上穿XA_77 AND XA_76<30
XA_79:=SMA(收盘价-1日前的收盘价和0较大值,3,1)/SMA(收盘价-1日前的收盘价的绝对值,3,1)*100
XA_80:=XA_79上穿12
如果XA_26=1返回0否则返回XA_74 OR XA_78 OR XA_80
XA_82:=(收盘价-9日内最低价最低值)/(9日内最高价最高值-9日内最低价最低值)*100
XA_82的3日[1日权重]移动平均
XA_83的3日[1日权重]移动平均
XA_85:=3*XA_83-2*XA_84
XA_86:=上次1日前的XA_9上穿XA_10距今天数
XA_87:=收盘价>0 AND XA_63+1日前的XA_9 XA_88:=上次XA_81距今天数
XA_89:=XA_88日前的最高价
XA_90:=(2*收盘价+最高价+最低价+开盘价)/5
XA_91:=XA_90的4日指数移动平均,4),4)
XA_92:=(XA_91-1日前的XA_91)/1日前的XA_91*100
XA_93:=XA_92的2日简单移动平均
XA_94:=XA_92的1日简单移动平均
XA_95:=(最低价+最高价+收盘价)/3
XA_96:=XA_95的5日简单移动平均
XA_97:=30日内XA_96最高值
XA_98:=13日内XA_96最低值
XA_99:=XA_98+0.0001
XA_100:=XA_96上穿XA_99
XA_101:=统计10日满足XA_100的天数>0 AND 最低价 XA_102:=周共振 AND 1日前的收盘价<=XA_89 AND 1日前的XA_85<50 AND 上次XA_87距今天数<=5 AND BARSLAST(XA_81)<=5 AND (收盘价-5日内最低价最低值)/5日内最低价最低值*100<15
XA_103:=周共振 AND 收盘价<=XA_89 AND (上次XA_87距今天数<=2 OR 2日内XA_85最低值<50)
XA_104:=周共振 AND 上次XA_101距今天数<=4
输出优选买点:IF(XA_27=1,0,XA_8 AND (XA_102 OR XA_103 OR XA_104)),NODRAW,画黄色
XA_105:=周共振
输出XG:XA_105




声明:本站所有资源,均为用户自主上传,仅作为学习交流之用,其版权归原作者或原出版社所有,本站不对所涉及的版权问题负法律责任。如有侵权,请联系我们删除!