通达信强势起涨捕获【擒妖降魔】副图 源码 测试图

X_AA1:=HHV(CLOSE,2);
X_AA2:=LLV(CLOSE,2);
X_AA3:=MA(CLOSE,3);
X_AA4:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_AA5:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
X_AA6:=REF(X_AA5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_AA7:=REF(X_AA6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_AA8:=REF(X_AA7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_AA9:=REF(X_AA8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_AA10:=REF(X_AA9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_AA11:=REF(X_AA10,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_AA12:=REF(X_AA11,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_AA13:=REF(X_AA12,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_AA14:=REF(X_AA13,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_AA15:=REF(X_AA14,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_AA16:=REF(X_AA15,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_AA17:=CLOSE< REF(CLOSE,1) AND CLOSE< REF(CLOSE,2);
X_AA18:=REF(X_AA17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_AA19:=REF(X_AA18,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_AA20:=REF(X_AA19,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_AA21:=REF(X_AA20,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_AA22:=REF(X_AA21,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_AA23:=REF(X_AA22,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_AA24:=REF(X_AA23,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_AA25:=REF(X_AA24,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_AA26:=REF(X_AA25,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_AA27:=REF(X_AA26,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_AA28:=REF(X_AA27,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_AA29:=REF(X_AA17 OR X_AA18 OR X_AA19 OR X_AA20 OR X_AA21 OR X_AA22 OR X_AA23 OR X_AA24 OR X_AA25 OR X_AA26 OR X_AA27 OR X_AA28,1) AND X_AA5;
X_AA30:=REF(X_AA5 OR X_AA6 OR X_AA7 OR X_AA8 OR X_AA9 OR X_AA10 OR X_AA11 OR X_AA12 OR X_AA13 OR X_AA14 OR X_AA15 OR X_AA16,1) AND X_AA17;
X_AA31:=X_AA5 OR X_AA6 OR X_AA7 OR X_AA8 OR X_AA9 OR X_AA10 OR X_AA11 OR X_AA12 OR X_AA13 OR X_AA14 OR X_AA15 OR X_AA16;
X_AA32:=IF(X_AA31,X_AA2,DRAWNULL);
X_AA33:=X_AA32;
X_AA34:=REF(X_AA32,1);
X_AA35:=X_AA17 OR X_AA18 OR X_AA19 OR X_AA20 OR X_AA21 OR X_AA22 OR X_AA23 OR X_AA24 OR X_AA25 OR X_AA26 OR X_AA27 OR X_AA28;
X_AA36:=IF(X_AA35,X_AA1,DRAWNULL);
X_AA37:=X_AA36;
X_AA38:=REF(CLOSE AND X_AA36,1);
X_AA39:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_AA40:=EMA(X_AA39,9);
X_AA41:=(X_AA39-X_AA40)*2;
X_AA42:=IF(CURRBARSCOUNT<=60,CONST(IF(ISLASTBAR=1,LLV(LOW,BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL);
X_AA43:=BARSLAST(CLOSE>REF(CLOSE,1)*1.095 AND CLOSE=HIGH);
X_AA44:=BARSLAST(CLOSE< REF(CLOSE,1)*1.095 AND CLOSE>REF(CLOSE,1)*1.08);
X_AA45:=BARSLAST(CLOSE< REF(CLOSE,1)*1.08 AND CLOSE>REF(CLOSE,1)*1.07);
X_AA46:=BARSLAST(CLOSE< REF(CLOSE,1)*1.07 AND CLOSE>REF(CLOSE,1)*1.06);
X_AA47:=BARSLAST(CLOSE< REF(CLOSE,1)*1.06 AND CLOSE>REF(CLOSE,1)*1.05);
X_AA48:=COUNT(X_AA43=0,100)=0;
X_AA49:=COUNT(X_AA44=0,100)=0;
X_AA50:=COUNT(X_AA45=0,100)=0;
X_AA51:=COUNT(X_AA46=0,100)=0;
X_AA52:=COUNT(X_AA47=0,100)=0;
X_AA53:=CLOSE>REF(CLOSE,1)*1.05;
X_AA54:=REF(X_AA43,1)>100 AND REF(X_AA44,1)>100 AND REF(X_AA45,1)>100 AND REF(X_AA46,1)>100 AND REF(X_AA47,1)>80 AND X_AA53;
X_AA55:=HHV(MACD.MACD*100,200);
X_AA56:=LLV(MACD.MACD*100,200);
X_AA57:=MA(CLOSE,5);
X_AA58:=MA(CLOSE,10);
X_AA59:=MA(CLOSE,20);
X_AA60:=MA(CLOSE,60);
X_AA61:=MIN(MIN(X_AA57,X_AA58),X_AA59)>X_AA60;
X_AA62:=BARSLAST(X_AA54 AND X_AA55< 60 AND X_AA56>(-55));
X_AA63:=BARSSINCEN(MIN(MIN(X_AA57,X_AA58),X_AA59)>X_AA60,X_AA62+1);
X_AA64:=CROSS(X_AA62=0 AND X_AA61 OR X_AA63=0,0.5);
X_AA65:=COUNT(X_AA64,30)=2 AND X_AA64;
X_AA66:=FILTER(10,10);
X_AA67:=REF(HIGH,BARSLAST(X_AA66));
X_AA68:=VOL/REF(VOL,1)>=1.9;
X_AA69:=CROSS(CLOSE,X_AA67);
X_AA70:=X_AA68 AND X_AA69;
X_AA71:=BARSLAST(X_AA70);
X_AA72:=HHVBARS(X_AA39,300);
X_AA73:=BOLL.UB;
X_AA74:=BARSLAST(CROSS(X_AA73>=REF(X_AA73,1),0.5));
X_AA75:=EXPMA(CLOSE,25);
X_AA76:=EVERY(RANGE(CLOSE/REF(CLOSE,1),0.97,1.05),X_AA74+1);
X_AA77:=(HHV(HIGH,X_AA74+1)-LLV(LOW,X_AA74+1))/LLV(LOW,X_AA74+1)*100;
X_AA78:=EVERY(MAX(CLOSE,OPEN)/X_AA73< 1.02,X_AA74+1);
X_AA79:=ATAN((X_AA75/REF(X_AA75,X_AA74)-1)*100)*180/3.141593;
X_AA80:=CROSS(X_AA39>=REF(X_AA39,X_AA72),0.5) AND X_AA77< 17 AND X_AA76 AND X_AA78;
X_AA81:=X_AA80 AND X_AA79>75;
X_AA82:=REF(CLOSE,1);
X_AA83:=(CLOSE-X_AA82)/X_AA82*100;
X_AA84:=X_AA83-REF(X_AA83,1);
X_AA85:=CROSS(X_AA84,9.8);
X_AA86:=REF(VOL,1);
X_AA87:=VOL/X_AA86;
X_AA88:=X_AA87-REF(X_AA87,1);
X_AA89:=CROSS(X_AA88,500);
X_AA90:=X_AA85 AND X_AA89;
X_AA91:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_AA92:=CROSS(X_AA91,20);
X_AA93:=REF(CROSS(MA(CLOSE,5),CLOSE),1) AND CROSS(CLOSE,MA(CLOSE,5));
X_AA94:=REF(CROSS(MA(CLOSE,10),CLOSE),1) AND CROSS(CLOSE,MA(CLOSE,10));
X_AA95:=REF(CROSS(MA(CLOSE,20),CLOSE),1) AND CROSS(CLOSE,MA(CLOSE,20));
X_AA96:=X_AA93 OR X_AA94 OR X_AA95;
X_AA97:=REF(CLOSE,2)/REF(CLOSE,1)>=1.045 AND REF(CLOSE,1)< REF(OPEN,1) AND CLOSE/REF(CLOSE,1)>1.09 AND CLOSE=HIGH AND X_AA96;
X_AA98:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_AA99:=(20*X_AA98+19*REF(X_AA98,1)+18*REF(X_AA98,2)+17*REF(X_AA98,3)+16*REF(X_AA98,4)+15*REF(X_AA98,5)+14*REF(X_AA98,6)+13*REF(X_AA98,7)+12*REF(X_AA98,8)+11*REF(X_AA98,9)+10*REF(X_AA98,10)+9*REF(X_AA98,11)+8*REF(X_AA98,12)+7*REF(X_AA98,13)+6*REF(X_AA98,14)+5*REF(X_AA98,15)+4*REF(X_AA98,16)+3*REF(X_AA98,17)+2*REF(X_AA98,18)+REF(X_AA98,20))/210;
X_AA100:=EMA(X_AA99,13);
X_AA101:=EMA(CLOSE,5);
X_AA102:=EMA(X_AA101,8);
X_AA103:=EMA(X_AA102,13);
X_AA104:=EMA(X_AA103,50);
X_AA105:=REF(CLOSE,1)< REF(X_AA100,1) AND CLOSE>X_AA100;
X_AA106:=CLOSE/REF(CLOSE,1)>1+0.01*9;
X_AA107:=X_AA100/X_AA104< 1+0.01*20;
X_AA108:=X_AA105 AND X_AA106 AND X_AA107 AND X_AA97;
X_AA109:=LLV(LOW,5);
X_AA110:=HHV(HIGH,5);
X_AA111:=EMA((CLOSE-X_AA109)/(X_AA110-X_AA109)*100,4);
X_AA112:=IF(X_AA111>REF(X_AA111,1) AND X_AA39>X_AA40 AND (X_AA108 OR X_AA92 OR X_AA90 OR X_AA81 OR CURRBARSCOUNT=CONST(X_AA71)+2 OR X_AA65 OR (CCI<=100 AND LOW<=X_AA42)),100,0);
起涨:X_AA112 AND (X_AA38 OR X_AA37);



来函数检测结果如下:
该公式没有未来函数


解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

X_AA1赋值:2日内收盘价最高值
X_AA2赋值:2日内收盘价最低值
X_AA3赋值:收盘价的3日简单移动平均
X_AA4赋值:(3*收盘价+最低价+开盘价+最高价)/6
X_AA5赋值:收盘价>1日前的收盘价 AND 收盘价>2日前的收盘价
X_AA6赋值:1日前的X_AA5 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价
X_AA7赋值:1日前的X_AA6 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价
X_AA8赋值:1日前的X_AA7 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价
X_AA9赋值:1日前的X_AA8 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价
X_AA10:=1日前的X_AA9 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价
X_AA11:=1日前的X_AA10 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价
X_AA12:=1日前的X_AA11 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价
X_AA13:=1日前的X_AA12 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价
X_AA14:=1日前的X_AA13 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价
X_AA15:=1日前的X_AA14 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价
X_AA16:=1日前的X_AA15 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价
X_AA17:=收盘价< 1日前的收盘价 AND 收盘价< 2日前的收盘价
X_AA18:=1日前的X_AA17 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价
X_AA19:=1日前的X_AA18 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价
X_AA20:=1日前的X_AA19 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价
X_AA21:=1日前的X_AA20 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价
X_AA22:=1日前的X_AA21 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价
X_AA23:=1日前的X_AA22 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价
X_AA24:=1日前的X_AA23 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价
X_AA25:=1日前的X_AA24 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价
X_AA26:=1日前的X_AA25 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价
X_AA27:=1日前的X_AA26 AND 收盘价<=1日前的收盘价 AND 收盘价>=2日前的收盘价
X_AA28:=1日前的X_AA27 AND 收盘价>=1日前的收盘价 AND 收盘价<=2日前的收盘价
X_AA29:=1日前的X_AA17 OR X_AA18 OR X_AA19 OR X_AA20 OR X_AA21 OR X_AA22 OR X_AA23 OR X_AA24 OR X_AA25 OR X_AA26 OR X_AA27 OR X_AA28 AND X_AA5
X_AA30:=1日前的X_AA5 OR X_AA6 OR X_AA7 OR X_AA8 OR X_AA9 OR X_AA10 OR X_AA11 OR X_AA12 OR X_AA13 OR X_AA14 OR X_AA15 OR X_AA16 AND X_AA17
X_AA31:=X_AA5 OR X_AA6 OR X_AA7 OR X_AA8 OR X_AA9 OR X_AA10 OR X_AA11 OR X_AA12 OR X_AA13 OR X_AA14 OR X_AA15 OR X_AA16
如果X_AA31返回X_AA2否则返回DRAWNULL
X_AA33:=X_AA32
X_AA34:=1日前的X_AA32
X_AA35:=X_AA17 OR X_AA18 OR X_AA19 OR X_AA20 OR X_AA21 OR X_AA22 OR X_AA23 OR X_AA24 OR X_AA25 OR X_AA26 OR X_AA27 OR X_AA28
如果X_AA35返回X_AA1否则返回DRAWNULL
X_AA37:=X_AA36
X_AA38:=1日前的收盘价 AND X_AA36
X_AA39:=收盘价的12日指数移动平均-收盘价的26日指数移动平均
X_AA40:=X_AA39的9日指数移动平均
X_AA41:=(X_AA39-X_AA40)*2
X_AA42:=IF( 到最后交易的周期<=60,CONST(IF(ISLASTBAR=1,LLV(最低价,上次 到最后交易的周期=60距今天数),1)),DRAWNULL)
X_AA43:=上次收盘价>1日前的收盘价*1.095 AND 收盘价=最高价距今天数
X_AA44:=上次收盘价< 1日前的收盘价*1.095 AND 收盘价>1日前的收盘价*1.08距今天数
X_AA45:=上次收盘价< 1日前的收盘价*1.08 AND 收盘价>1日前的收盘价*1.07距今天数
X_AA46:=上次收盘价< 1日前的收盘价*1.07 AND 收盘价>1日前的收盘价*1.06距今天数
X_AA47:=上次收盘价< 1日前的收盘价*1.06 AND 收盘价>1日前的收盘价*1.05距今天数
X_AA48:=统计100日满足X_AA43=0的天数=0
X_AA49:=统计100日满足X_AA44=0的天数=0
X_AA50:=统计100日满足X_AA45=0的天数=0
X_AA51:=统计100日满足X_AA46=0的天数=0
X_AA52:=统计100日满足X_AA47=0的天数=0
X_AA53:=收盘价>1日前的收盘价*1.05
X_AA54:=1日前的X_AA43>100 AND 1日前的X_AA44>100 AND 1日前的X_AA45>100 AND 1日前的X_AA46>100 AND 1日前的X_AA47>80 AND X_AA53
X_AA55:=200日内MACD.MACD*100最高值
X_AA56:=200日内MACD.MACD*100最低值
X_AA57:=收盘价的5日简单移动平均
X_AA58:=收盘价的10日简单移动平均
X_AA59:=收盘价的20日简单移动平均
X_AA60:=收盘价的60日简单移动平均
X_AA61:=X_AA57和X_AA58的较小值,X_AA59)>X_AA60
X_AA62:=上次X_AA54 AND X_AA55< 60 AND X_AA56>(-55距今天数)
X_AA63:=BARSSINCEN(X_AA57和X_AA58的较小值,X_AA59)>X_AA60,X_AA62+1)
X_AA64:=X_AA62=0 AND X_AA61 OR X_AA63=0上穿0.5
X_AA65:=统计30日满足X_AA64的天数=2 AND X_AA64
X_AA66:=10的10过滤
X_AA67:=REF(最高价,上次X_AA66距今天数)
X_AA68:=成交量/1日前的成交量>=1.9
X_AA69:=收盘价上穿X_AA67
X_AA70:=X_AA68 AND X_AA69
X_AA71:=上次X_AA70距今天数
X_AA72:=HHVBARS(X_AA39,300)
X_AA73:=BOLL.UB
X_AA74:=上次CROSS(X_AA73>=1日前的X_AA73,0.5距今天数)
X_AA75:=收盘价的25日指数移动平均
X_AA76:=EVERY(RANGE(收盘价/1日前的收盘价,0.97,1.05),X_AA74+1)
X_AA77:=(X_AA74+1日内最高价最高值-X_AA74+1日内最低价最低值)/X_AA74+1日内最低价最低值*100
X_AA78:=EVERY(收盘价和开盘价较大值/X_AA73< 1.02,X_AA74+1)
X_AA79:=ATAN((X_AA75/X_AA74日前的X_AA75-1)*100)*180/3.141593
X_AA80:=CROSS(X_AA39>=X_AA72日前的X_AA39,0.5) AND X_AA77< 17 AND X_AA76 AND X_AA78
X_AA81:=X_AA80 AND X_AA79>75
X_AA82:=1日前的收盘价
X_AA83:=(收盘价-X_AA82)/X_AA82*100
X_AA84:=X_AA83-1日前的X_AA83
X_AA85:=X_AA84上穿9.8
X_AA86:=1日前的成交量
X_AA87:=成交量/X_AA86
X_AA88:=X_AA87-1日前的X_AA87
X_AA89:=X_AA88上穿500
X_AA90:=X_AA85 AND X_AA89
X_AA91:=(收盘价-1日前的收盘价)/1日前的收盘价*100
X_AA92:=X_AA91上穿20
X_AA93:=REF(CROSS(收盘价的5日简单移动平均,收盘价),1) AND CROSS(收盘价,收盘价的5日简单移动平均)
X_AA94:=REF(CROSS(收盘价的10日简单移动平均,收盘价),1) AND CROSS(收盘价,收盘价的10日简单移动平均)
X_AA95:=REF(CROSS(收盘价的20日简单移动平均,收盘价),1) AND CROSS(收盘价,收盘价的20日简单移动平均)
X_AA96:=X_AA93 OR X_AA94 OR X_AA95
X_AA97:=2日前的收盘价/1日前的收盘价>=1.045 AND 1日前的收盘价< 1日前的开盘价 AND 收盘价/1日前的收盘价>1.09 AND 收盘价=最高价 AND X_AA96
X_AA98:=(3*收盘价+最低价+开盘价+最高价)/6
X_AA99:=(20*X_AA98+19*1日前的X_AA98+18*2日前的X_AA98+17*3日前的X_AA98+16*4日前的X_AA98+15*5日前的X_AA98+14*6日前的X_AA98+13*7日前的X_AA98+12*8日前的X_AA98+11*9日前的X_AA98+10*10日前的X_AA98+9*11日前的X_AA98+8*12日前的X_AA98+7*13日前的X_AA98+6*14日前的X_AA98+5*15日前的X_AA98+4*16日前的X_AA98+3*17日前的X_AA98+2*18日前的X_AA98+20日前的X_AA98)/210
X_AA100:=X_AA99的13日指数移动平均
X_AA101:=收盘价的5日指数移动平均
X_AA102:=X_AA101的8日指数移动平均
X_AA103:=X_AA102的13日指数移动平均
X_AA104:=X_AA103的50日指数移动平均
X_AA105:=1日前的收盘价< 1日前的X_AA100 AND 收盘价>X_AA100
X_AA106:=收盘价/1日前的收盘价>1+0.01*9
X_AA107:=X_AA100/X_AA104< 1+0.01*20
X_AA108:=X_AA105 AND X_AA106 AND X_AA107 AND X_AA97
X_AA109:=5日内最低价最低值
X_AA110:=5日内最高价最高值
X_AA111:=EMA((收盘价-X_AA109)/(X_AA110-X_AA109)*100,4)
X_AA112:=IF(X_AA111>1日前的X_AA111 AND X_AA39>X_AA40 AND (X_AA108 OR X_AA92 OR X_AA90 OR X_AA81 OR 到最后交易的周期=CONST(X_AA71)+2 OR X_AA65 OR (CCI<=100 AND 最低价<=X_AA42)),100,0)
输出起涨:X_AA112 AND (X_AA38 OR X_AA37)

指标安装下载帮助  |   联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:指标公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图