您现在的位置:程序化交易>> 股票公式>> 通达信>> 通达信公式>>正文内容

短线爆发指标 公式 源码[通达信公式]

指标公式代码分析及使用参考建议:

该公式名称为"短线五色爆发",它是根据一系列条件进行判断的技术指标。根据这些条件的组合,可以得出一个布尔值作为判断结果。

简要总结思路:
1. 该指标结合了多个均线交叉条件、价格区间条件、涨幅条件和形态条件等,综合考虑市场趋势、波动性和股票的交易情况。
2. 主要关注短期的价格突破和上涨趋势。

操作建议:
1. 当满足指标条件时,可以认为股票处于短期上涨趋势中,可以考虑买入。
2. 注意确认其他指标,如量能是否配合,以及市场整体状况等。
3. 同时,及时设置止损位和盈利目标,风险控制至关重要。

需要注意的是,在实际操作中,该指标仅作为辅助工具参考,与其他分析方法和市场情况综合考虑使用,不应作为单一的买卖依据,投资有风险,需要谨慎对待。

 

源码:

 

{公式名称: 短线五色爆发}cxh1:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,20));cxh2:=BETWEEN(LOW,MA(CLOSE,60)*0.99,MA(CLOSE,60)*1.07) AND CLOSE>MA(CLOSE,60);cxh3:=CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.025 AND CLOSE/REF(CLOSE,1)<1.098;cxh4:=HIGH-MAX(CLOSE,OPEN)>0.03 AND HIGH-MAX(CLOSE,OPEN)<1;cxh6:=(HIGH-MAX(CLOSE,OPEN))/ABS(CLOSE-OPEN)<0.7;cxh7:=COUNT(EVERY(CLOSE<REF(CLOSE,1),3),3)=1 OR COUNT(EVERY(CLOSE<REF(CLOSE,1),2),2)=1;cxh8:=NOT(REF(CLOSE,1)>REF(OPEN,1) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,3)>REF(OPEN,3));cxh9:=NOT(REF(CLOSE,1)>REF(OPEN,1) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,3)>REF(OPEN,3) AND REF(CLOSE,4)>REF(OPEN,4));cxh10:=REF(CLOSE,1)/REF(CLOSE,4)<1.05;cxh11:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(LOW,MA(CLOSE,10)) AND CROSS(LOW,MA(CLOSE,60)) AND CLOSE>MA(CLOSE,20);cxh12:=CLOSE>MA(CLOSE,5) OR CROSS(CLOSE,MA(CLOSE,5)) AND OPEN>MA(CLOSE,10) AND OPEN>MA(CLOSE,20);cxh13:=REF(CLOSE,1)/REF(CLOSE,7)<1.05;cxh14:=OPEN/REF(CLOSE,1)<1.03;cxh15:=cxh1 AND cxh2 AND cxh3 AND cxh4 AND cxh6;cxh16:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,60)) AND OPEN>=MA(CLOSE,10) AND OPEN>=MA(CLOSE,20) AND cxh6 AND cxh3 AND cxh4;cxh17:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) OR CROSS(CLOSE,MA(CLOSE,5));cxh18:=MA(CLOSE,5)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,60) AND OPEN>MA(CLOSE,20);cxh19:=BETWEEN(LOW,MA(CLOSE,60)*0.99,MA(CLOSE,60)*1.095) AND OPEN>MA(CLOSE,60);cxh20:=BETWEEN(LOW,MA(CLOSE,20)*0.99,MA(CLOSE,20)*1.01) AND OPEN>MA(CLOSE,20);cxh21:=CLOSE/REF(CLOSE,1)>1.04;cxh22:=cxh17 AND cxh18 AND cxh7 AND cxh19 AND cxh6 AND cxh20 AND cxh21 AND CLOSE>OPEN;cxh23:=BETWEEN(LOW,MA(CLOSE,60)*0.99,MA(CLOSE,60)*1.2) AND OPEN>MA(CLOSE,60);cxh24:=REF(CLOSE/REF(CLOSE,1)<1 AND CLOSE/REF(CLOSE,1)>0.93,1);cxh25:=BETWEEN(LOW,MA(CLOSE,20)*0.99,MA(CLOSE,20)*1.04) AND OPEN>MA(CLOSE,20);cxh26:=CLOSE/REF(CLOSE,1)>=1.097 AND cxh7 AND cxh23 AND cxh24;cxh27:=REF(CLOSE,1)/REF(CLOSE,2)<=0.9 AND CLOSE/REF(CLOSE,1)>=1.097 AND cxh25;cxh28:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,20)) AND CROSS(CLOSE,MA(CLOSE,60));cxh29:=CLOSE/REF(CLOSE,1)>1.097;cxh30:=cxh28 AND cxh29;cxh31:=cxh26 AND cxh14 OR (cxh27 AND cxh14) OR (cxh30 AND cxh14);cxh32:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,20)) AND CROSS(CLOSE,MA(CLOSE,60));cxh33:=(HIGH-MAX(CLOSE,OPEN))/ABS(CLOSE-OPEN)<0.7 AND (HIGH-MAX(CLOSE,OPEN))/ABS(CLOSE-OPEN)>0.1 AND (MIN(CLOSE,OPEN)-LOW)/ABS(CLOSE-OPEN)<0.07 AND CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.04;cxh34:=REF(CLOSE,1)<MA(CLOSE,60) AND REF(CLOSE,2)<MA(CLOSE,60) AND REF(CLOSE,3)<MA(CLOSE,60);cxh35:=cxh32 AND cxh33 AND cxh34 AND CLOSE/REF(CLOSE,1)<1.097;cxh36:=cxh11 OR cxh12;cxh37:=HIGH-MAX(CLOSE,OPEN)>0.1 AND HIGH-MAX(CLOSE,OPEN)<3;cxh39:=BETWEEN(LOW,MA(CLOSE,60)*0.99,MA(CLOSE,60)*1.1);cxh40:=BETWEEN(LOW,MA(CLOSE,20)*0.99,MA(CLOSE,20)*1.03);cxh41:=REF(CLOSE,1)/REF(CLOSE,2)<1.04;cxh42:=NOT(LOW>REF(HIGH,1));cxh43:=CLOSE/REF(CLOSE,1)>1.03;cxh44:=cxh36 AND cxh37 AND cxh39 AND cxh40 AND cxh41 AND cxh42 AND cxh43 AND cxh9 AND cxh10 AND cxh13 AND cxh14;cxh45:=BETWEEN(LOW,MA(CLOSE,60)*1,MA(CLOSE,60)*1.1) AND OPEN>MA(CLOSE,60);cxh46:=LOW>REF(HIGH,1) AND CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.024 AND cxh45 AND cxh8 AND cxh14;cxh47:=LOW>REF(HIGH,1) AND CROSS(CLOSE,MA(CLOSE,60)) AND CLOSE/REF(CLOSE,1)>1.024 AND CLOSE>OPEN AND cxh8 AND cxh14;cxh48:=cxh46 OR cxh47;cxh49:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CLOSE>MA(CLOSE,20) AND CLOSE>MA(CLOSE,60);cxh50:=(HIGH-MAX(CLOSE,OPEN))/ABS(CLOSE-OPEN)<0.7 AND (HIGH-MAX(CLOSE,OPEN))/ABS(CLOSE-OPEN)>=0.01 AND (MIN(CLOSE,OPEN)-LOW)/ABS(CLOSE-OPEN)<0.15;cxh52:=COUNT(CLOSE<OPEN,5)>=3;cxh53:=CLOSE/REF(CLOSE,1)>=1.027;cxh54:=cxh49 AND cxh50 AND cxh52 AND cxh53 AND cxh2;cxh55:=COUNT(CLOSE<OPEN,7)>=4 OR EVERY(CLOSE<REF(CLOSE,1),3);cxh56:=(MIN(CLOSE,OPEN)-LOW)/ABS(CLOSE-OPEN)<0.15 AND BETWEEN((HIGH-LOW)/(MAX(OPEN,CLOSE)-LOW),1.5,9) AND CLOSE>OPEN;cxh57:=CLOSE/REF(CLOSE,1)>1.03;cxh58:=CLOSE>MA(CLOSE,60);cxh59:=BETWEEN(LOW,MA(CLOSE,60)*0.99,MA(CLOSE,60)*1.2) OR CROSS(CLOSE,MA(CLOSE,60));cxh60:=cxh55 AND cxh56 AND cxh57 AND cxh58 AND cxh59;cxh61:=CLOSE<MA(CLOSE,60);cxh62:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,20));cxh63:=(MIN(CLOSE,OPEN)-LOW)/ABS(CLOSE-OPEN)<0.1 AND BETWEEN((HIGH-LOW)/(MAX(OPEN,CLOSE)-LOW),1.5,9) AND CLOSE>OPEN;cxh64:=CLOSE/REF(CLOSE,1)>1.05;程序化久久公式网:=cxh61 AND cxh62 AND cxh63 AND cxh64;cxh65:=cxh61 AND cxh62 AND cxh63 AND cxh64;cxh66:=(REF(CLOSE,7)-REF(CLOSE,1))/REF(CLOSE,1)>=0.05;cxh67:=COUNT(CLOSE<OPEN,7)>=3;cxh68:=CLOSE/REF(CLOSE,1)>1.05;cxh69:=REF(CLOSE,1)/REF(CLOSE,4)<1.05;cxh70:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CLOSE>MA(CLOSE,20) AND CLOSE>MA(CLOSE,60);cxh71:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,20)) AND CROSS(CLOSE,MA(CLOSE,60));cxh72:=CLOSE<MA(CLOSE,10) AND CLOSE<MA(CLOSE,20) AND CLOSE<MA(CLOSE,60);cxh73:=CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,20)) AND OPEN>MA(CLOSE,5) AND OPEN>MA(CLOSE,60);cxh74:=CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,20)) AND CLOSE>MA(CLOSE,60);cxh75:=cxh70 OR cxh71 OR cxh72 OR cxh73 OR cxh74;cxh76:=OPEN=CLOSE AND CLOSE=HIGH AND LOW<CLOSE;cxh77:=REF(CLOSE,1);cxh78:=IF(NAMELIKE(1) OR NAMELIKE(2),CLOSE>=cxh77*1.049,CLOSE>=cxh77*1.094) AND LOW=HIGH;cxh79:=cxh66 AND cxh67 AND cxh68 AND cxh69 AND cxh75 AND NOT(cxh76) AND NOT(cxh78) AND cxh14;短线爆发:cxh15 OR cxh16 OR cxh22 OR cxh31 OR cxh35 OR cxh44 OR cxh48 OR cxh54 OR cxh60 OR cxh65 OR cxh79,COLORRED,LINETHICK2;cxh123:=REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN AND COUNT(CLOSE>MA(CLOSE,10),4)>=3 AND COUNT(CLOSE/REF(CLOSE,1)>1.05,5)>0 AND VOL>REF(VOL,1)*1 AND HIGH>REF(HIGH,1)*1;cxh124:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,60);cxh125:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND CROSS(CLOSE,MA(CLOSE,60)) AND CROSS(CLOSE,MA(CLOSE,5)) AND CROSS(CLOSE,MA(CLOSE,10));cxh126:=BETWEEN(LOW,MA(CLOSE,60)*0.99,MA(CLOSE,60)*1.07) AND CLOSE>MA(CLOSE,60);cxh127:=cxh123 AND cxh124 AND cxh126;cxh128:=cxh123 AND cxh125;突破:cxh127 OR cxh128,COLORYELLOW;DRAWTEXT_FIX(CLOSE>OPEN,0.05,0.05,0,'程序化久久公式网整理WWW.cxh99.com'),COLOR666666;

 

公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程

 

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

怎么收费,代编流程等详情请点击查阅!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容