通达信飞龙+妖股+导弹三聚合一副图预警 源码 附图

X_1:=MA(CLOSE,5);
X_2:=IF(X_1>REF(X_1,1),X_1,DRAWNULL);
X_3:=IF(DATETODAY(DATE)<9872,1,DRAWNULL);
X_4:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
X_5:=8;
X_6:=2342.459961*500;
X_7:=IF(DATE<X_6,1,DRAWNULL);
X_8:=CROSS(X_4,X_5);
X_9:=CROSS(X_4,X_5) AND HIGH>REF(HIGH,1) AND CLOSE>REF(CLOSE,1);
X_10:=CROSS(X_5,X_4);
X_11:=LLV(LOW,21);
X_12:=HHV(HIGH,21);
X_13:=EMA((CLOSE-X_11)/(X_12-X_11)*100,5);
X_14:=EMA((CLOSE-X_11)/(X_12-X_11)*50,13);
X_15:=CROSS(X_13,X_14);
X_16:=IF(CLOSE>REF(CLOSE,1),88,0);
X_17:=IF(CLOSE/REF(CLOSE,1)>1.095 AND HIGH/CLOSE<1.035 AND X_16>0,91,0);
X_18:=DATE<1971230 AND FILTER(X_17>90,30)=1;
X_19:=X_2 AND X_18;
X_20:=CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,5),0.3*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
X_21:=FILTER(X_20,60);
X_22:=X_2 AND X_21;
导弹:X_22 AND X_19,NODRAW,COLORYELLOW;
STICKLINE(导弹,49,26,8,0),COLORYELLOW;
X_23:=MA(CLOSE,10);
X_24:=MA(CLOSE,20);
X_25:=MA(CLOSE,30);
X_26:=MA(CLOSE,54);
X_27:=MA(CLOSE,60);
X_28:=MA(CLOSE,120);
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-X_26)/X_26<0.1;
X_47:=(CLOSE-X_23)/X_23<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:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
X_53:=DYNAINFO(7)/REF(CLOSE,1)>1.05 AND DYNAINFO(7)/OPEN>1.05;
X_54:=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_51 AND CLOSE/REF(CLOSE,1)>1.095 AND X_54 AND X_53,NODRAW,COLORFFCC00;
STICKLINE(妖股,26,3,8,0),COLORFFCC00;
X_55:=0.24;
X_56:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_57:=EMA(X_56,9);
X_58:=(X_56-X_57)*2;
X_59:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_60:=SMA(X_59,3,1);
X_61:=SMA(X_60,3,1);
X_62:=3*X_60-2*X_61;
X_63:=VOL>REF(VOL,1)*1.9 AND CLOSE>REF(CLOSE,1) AND CLOSE/REF(CLOSE,1)-1>=0.049 AND (HIGH-CLOSE)/(CLOSE-OPEN)<0.33 OR (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 (HIGH-CLOSE)/(CLOSE-OPEN)<0.33);
X_64:=IF(FILTER(X_63 OR (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)) OR CLOSE/REF(CLOSE,1)-1>=0.08 AND EMA(2.055*EMA(EMA(HIGH,34),34)-EMA(EMA(LOW,34),34),5)>CLOSE,34),1,0) AND IF(CLOSE/REF(CLOSE,1)>1+0.01*9+EXIST(CLOSE/REF(CLOSE,1)>1+0.01*9,10)+CLOSE/REF(CLOSE,1)>1+0.01*9=3,1,0);
X_65:=FILTER(CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12)),28)*100 AND LOW>REF(CLOSE,1)*0.93;
X_66:=SMA(20*(DMA(CLOSE,2.5*MAX(VOL/700000000,1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1)))/REF(DMA(CLOSE,2.5*MAX(VOL/700000000,1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1))),1)-1),2,1)>X_55;
X_67:=CROSS(IF(X_66 AND EMA(SMA(20*(DMA(CLOSE,2.5*MAX(VOL/700000000,1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1)))/REF(DMA(CLOSE,2.5*MAX(VOL/700000000,1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1))),1)-1),2,1),2)>=0.005 AND CLOSE>=REF(CLOSE,1),1,0),0.5);
X_68:=SMA(20*(DMA(CLOSE,2.5*MAX(VOL/700000000,1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1)))/REF(DMA(CLOSE,2.5*MAX(VOL/700000000,1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1))),1)-1),2,1)>0.24;
X_69:=COUNT(IF(X_68 AND EMA(SMA(20*(DMA(CLOSE,2.5*MAX(VOL/700000000,1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1)))/REF(DMA(CLOSE,2.5*MAX(VOL/700000000,1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1))),1)-1),2,1),2)>=0.005 AND CLOSE>=REF(CLOSE,1),1,0)>0.5,10);
X_70:=LOW<HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND HIGH>HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND CLOSE>REF(CLOSE,1) AND CLOSE>OPEN AND COUNT(MA((LOW+HIGH+CLOSE)/3,5)>REF(MA((LOW+HIGH+CLOSE)/3,5),1) AND REF(MA((LOW+HIGH+CLOSE)/3,5),1)<REF(MA((LOW+HIGH+CLOSE)/3,5),2),2);
龙飞:X_65 OR (X_62-REF(X_62,1)>30 AND CLOSE/REF(CLOSE,1)>1.043 AND X_58>0 AND X_57>0) AND X_67 AND X_69=1 OR X_64,NODRAW,COLORMAGENTA;
STICKLINE(龙飞,3,(-20),8,0),COLORMAGENTA;



未来函数检测结果如下:
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO

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

X_1赋值:收盘价的5日简单移动平均
X_2赋值:IF(X_1>1日前的X_1,X_1,DRAWNULL)
X_3赋值:IF(日期TODAY(日期)<9872,1,DRAWNULL)
X_4赋值:4*SMA((收盘价-5日内最低价最低值)/(5日内最高价最高值-5日内最低价最低值)*100,5,1)-3*SMA(SMA((收盘价-5日内最低价最低值)/(5日内最高价最高值-5日内最低价最低值)*100,5,1),3.2,1)
X_5赋值:8
X_6赋值:2342.459961*500
如果日期 X_8赋值:X_4上穿X_5
X_9赋值:X_4上穿X_5 AND 最高价>1日前的最高价 AND 收盘价>1日前的收盘价
X_10:=X_5上穿X_4
X_11:=21日内最低价最低值
X_12:=21日内最高价最高值
X_13:=EMA((收盘价-X_11)/(X_12-X_11)*100,5)
X_14:=EMA((收盘价-X_11)/(X_12-X_11)*50,13)
X_15:=X_13上穿X_14
X_16:=IF(收盘价>1日前的收盘价,88,0)
X_17:=IF(收盘价/1日前的收盘价>1.095 AND 最高价/收盘价<1.035 AND X_16>0,91,0)
X_18:=日期<1971230 AND X_17>90的30过滤=1
X_19:=X_2 AND X_18
X_20:=收盘价/1日前的收盘价>1.048 AND 收盘价=最高价 AND BETWEEN(成交量的5日线性回归预测值,0.3*成交量的12日线性回归预测值,2.1*成交量的12日线性回归预测值)
X_21:=X_20的60过滤
X_22:=X_2 AND X_21
输出导弹:X_22 AND X_19,NODRAW,画黄色
当满足条件导弹时,在49和26之间画柱状线
X_23:=收盘价的10日简单移动平均
X_24:=收盘价的20日简单移动平均
X_25:=收盘价的30日简单移动平均
X_26:=收盘价的54日简单移动平均
X_27:=收盘价的60日简单移动平均
X_28:=收盘价的120日简单移动平均
X_29:=(3日前的收盘价-收盘价)/3日前的收盘价*100>5
X_30:=X_29的10过滤
X_31:=上次X_30距今天数
X_32:=X_31+2日前的最高价
X_33:=X_31+1日前的最高价
X_34:=X_31日前的最高价
X_35:=X_32和X_33较大值
X_36:=X_35和X_34较大值
X_37:=(收盘价-1日前的收盘价)/1日前的收盘价*100>5
X_38:=X_31<150
X_39:=(开盘价-X_36)/X_36*100<30
X_40:=(收盘价-X_31日内最低价最低值)/X_31日内最低价最低值*100<50
X_41:=(收盘价-5日前的开盘价)/5日前的开盘价*100<30
X_42:=成交量/成交量的5日简单移动平均<3.5
X_43:=(收盘价-89日前的收盘价)/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:=X_44的15过滤
X_46:=(收盘价-X_26)/X_26<0.1
X_47:=(收盘价-X_23)/X_23<0.3
X_48:=(X_46=1 AND X_47=1)*0.2
X_49:=(X_48=0 AND 1日前的X_48=0.2 AND 1日前的统计10日满足X_48=0.2的天数=10=1)*(-0.1)
X_50:=X_49=(-0.1)
X_51:=X_45 OR X_50
X_52:=D成交额/成交量/100的成交量/当前流通股本日简单移动平均
X_53:=现价/1日前的收盘价>1.05 AND 现价/开盘价>1.05
X_54:=成交量/1日前的成交量>1.2 AND 统计1日满足收盘价>开盘价的天数 OR (最低价>1日前的最高价 AND 统计1日满足开盘价>收盘价的天数 AND 成交量/1日前的成交量>1.2)
输出妖股:X_51 AND 收盘价/1日前的收盘价>1.095 AND X_54 AND X_53,NODRAW,COLORFFCC00
当满足条件妖股时,在26和3之间画柱状线
X_55:=0.24
X_56:=收盘价的12日指数移动平均-收盘价的26日指数移动平均
X_57:=X_56的9日指数移动平均
X_58:=(X_56-X_57)*2
X_59:=(收盘价-9日内最低价最低值)/(9日内最高价最高值-9日内最低价最低值)*100
X_59的3日[1日权重]移动平均
X_60的3日[1日权重]移动平均
X_62:=3*X_60-2*X_61
X_63:=成交量>1日前的成交量*1.9 AND 收盘价>1日前的收盘价 AND 收盘价/1日前的收盘价-1>=0.049 AND (最高价-收盘价)/(收盘价-开盘价)<0.33 OR (收盘价/1日前的收盘价-1>=0.0502 AND 收盘价>1日前的收盘价 AND 成交量>1日前的成交量 AND 成交量>1日前的成交量*2.5 AND (最高价-收盘价)/(收盘价-开盘价)<0.33)
X_64:=IF(FILTER(X_63 OR (收盘价/1日前的收盘价-1>=0.0502 AND 收盘价>1日前的收盘价 AND (开盘价-最低价)/(收盘价-开盘价)>=1.48 AND 最低价<1日前的最低价 AND 最低价<2日前的最低价) OR 收盘价/1日前的收盘价-1>=0.08 AND 2.055*最高价的34日指数移动平均,34)-最低价的34日指数移动平均,34),5)>收盘价,34),1,0) AND IF(收盘价/1日前的收盘价>1+0.01*9+EXIST(收盘价/1日前的收盘价>1+0.01*9,10)+收盘价/1日前的收盘价>1+0.01*9=3,1,0)
X_65:=FILTER(收盘价/1日前的收盘价>1.048 AND 收盘价=最高价 AND BETWEEN(成交量的4日线性回归预测值,0.2*成交量的12日线性回归预测值,2.1*成交量的12日线性回归预测值),28)*100 AND 最低价>1日前的收盘价*0.93
X_66:=SMA(20*(DMA(收盘价,2.5*MAX(成交量/700000000,1.1*(MAX(最高价,1日前的收盘价)/最低价和1日前的收盘价的较小值-1)))/REF(DMA(收盘价,2.5*MAX(成交量/700000000,1.1*(MAX(最高价,1日前的收盘价)/最低价和1日前的收盘价的较小值-1))),1)-1),2,1)>X_55
X_67:=CROSS(IF(X_66 AND EMA(SMA(20*(DMA(收盘价,2.5*MAX(成交量/700000000,1.1*(MAX(最高价,1日前的收盘价)/最低价和1日前的收盘价的较小值-1)))/REF(DMA(收盘价,2.5*MAX(成交量/700000000,1.1*(MAX(最高价,1日前的收盘价)/最低价和1日前的收盘价的较小值-1))),1)-1),2,1),2)>=0.005 AND 收盘价>=1日前的收盘价,1,0),0.5)
X_68:=SMA(20*(DMA(收盘价,2.5*MAX(成交量/700000000,1.1*(MAX(最高价,1日前的收盘价)/最低价和1日前的收盘价的较小值-1)))/REF(DMA(收盘价,2.5*MAX(成交量/700000000,1.1*(MAX(最高价,1日前的收盘价)/最低价和1日前的收盘价的较小值-1))),1)-1),2,1)>0.24
X_69:=COUNT(IF(X_68 AND EMA(SMA(20*(DMA(收盘价,2.5*MAX(成交量/700000000,1.1*(MAX(最高价,1日前的收盘价)/最低价和1日前的收盘价的较小值-1)))/REF(DMA(收盘价,2.5*MAX(成交量/700000000,1.1*(MAX(最高价,1日前的收盘价)/最低价和1日前的收盘价的较小值-1))),1)-1),2,1),2)>=0.005 AND 收盘价>=1日前的收盘价,1,0)>0.5,10)
X_70:=最低价HHV(MA((最低价+最高价+收盘价)/3,5),13) AND 收盘价>1日前的收盘价 AND 收盘价>开盘价 AND COUNT(MA((最低价+最高价+收盘价)/3,5)>REF(MA((最低价+最高价+收盘价)/3,5),1) AND REF(MA((最低价+最高价+收盘价)/3,5),1) 输出龙飞:X_65 OR (X_62-1日前的X_62>30 AND 收盘价/1日前的收盘价>1.043 AND X_58>0 AND X_57>0) AND X_67 AND X_69=1 OR X_64,NODRAW,画洋红色
STICKLINE(龙飞,3,(-20),8,0),画洋红色

联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

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