专注股票、期货、外汇程序化交易开发
 企业微信
520量化编程
开启左侧

[综合指标] 通达信——见血封喉指标

[复制链接]
520量化编程 发表于 2024-11-4 23:49:58 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题
 




  1. 底部周期:=9;
  2. X_1:=CLOSE<=REF(LLV(CLOSE,底部周期),1) AND CLOSE<=OPEN;
  3. X_2:=REF(X_1,1) AND CLOSE>OPEN AND CLOSE<=REF(CLOSE,1);
  4. X_3:=X_1 OR X_2 AND FINANCE(42)>20;
  5. X_4:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.04 OR (CLOSE-OPEN)/OPEN>=0.04 AND (VOL<=MA(VOL,60) OR VOL/REF(VOL,1)<=1.2 OR VOL<HHV(VOL,5)) AND HIGH>LOW;
  6. X_5:=(OPEN-CLOSE)/OPEN>=0.04 OR (REF(CLOSE,1)/CLOSE>=1.04 AND CLOSE<OPEN) AND (VOL/MA(VOL,60)<=2/3 OR VOL/REF(VOL,1)<=1.15 OR VOL<HHV(VOL,5));
  7. X_6:=CLOSE<OPEN;
  8. X_7:=REF(VOL,2)>REF(VOL,1) AND REF(VOL,1)>VOL AND COUNT(X_6,3)>=2;
  9. X_8:=VOL<REF(LLV(VOL,20),1) AND HIGH>LOW;
  10. X_9:=REF(VOL,2)>REF(VOL,1) AND REF(VOL,1)>VOL;
  11. X_10:=VOL/REF(VOL,1)<0.67;
  12. X_11:=IF(DATE=1160107,REF(VOL,1),VOL);
  13. X_12:=X_11<REF(LLV(X_11,100),1) AND HIGH>LOW;
  14. X_13:=VOL/MA(VOL,60)<=1/3;
  15. X_14:=X_3 AND X_5 AND COUNT(X_9 OR X_10 OR X_12,3);
  16. 亮剑:X_14,NODRAW,COLORRED;
  17. STICKLINE(亮剑,0.75,0.6,0,0),COLORWHITE;
  18. STICKLINE(亮剑,0.6,0.175,0,0),COLORWHITE;
  19. STICKLINE(亮剑,0.175,0.155,3,0),COLORWHITE;
  20. STICKLINE(亮剑,0.155,0,0.3,0),COLORWHITE;
  21. X_15:=REF(X_14,1) AND CLOSE>OPEN AND VOL>REF(VOL,1) AND (CLOSE>REF((CLOSE+OPEN)/2,1) OR CLOSE/OPEN>1.008);
  22. X_16:=REF(X_14,1) OR (REF(X_14,2) AND REF(CLOSE,1)<REF(OPEN,1)) AND CLOSE>OPEN AND VOL>REF(VOL,1) AND CLOSE>REF(OPEN,1);
  23. X_17:=REF(X_14,1) AND X_4 OR (REF(X_14,2) AND REF(VOL,1)<VOL) AND X_4;
  24. X_18:=REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1);
  25. X_19:=REF(X_14,1) OR REF(X_14,2) AND X_18 AND CLOSE/OPEN>1.02;
  26. X_20:=100*(MIN(CLOSE,OPEN)-LOW)/LOW>3.5;
  27. X_21:=REF(X_14,1) OR REF(X_14,2) AND X_20 AND CLOSE>OPEN;
  28. X_22:=REF(X_14,1) AND REF(X_20,1) OR (REF(X_14,2) AND (REF(X_20,2) OR REF(X_20,1))) AND CLOSE/OPEN>1.02;
  29. X_23:=X_21 OR X_22;
  30. X_24:=REF(X_14,1) AND CLOSE/OPEN>1.01 AND VOL<REF(VOL,1);
  31. X_25:=X_15 OR X_16 OR X_17 OR X_19 OR X_23 OR X_24;
  32. 出击:FILTER(X_25,2),COLORYELLOW,LINETHICK2;
  33. DRAWTEXT_FIX(2>1,0,0,0,'520量化编程——编译通过'),COLOR80FFFF;
复制代码


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

 
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

热门图文
热门帖子
排行榜
作者专栏

关注我们:微信订阅号

公众号/p>

企业微信

全国服务热线:

18081412300

公司地址:四川省安岳县柠都大道226号

运营中心::四川省安岳县柠都大道226号

邮编:6243650 Email:525406187@qq.com

川公安网备案51202102000095

备案许可证:蜀ICP备20018290号-1

增值电信业务经营许可证:川B2-20220450

Copyright   ©2015-2016  520量化编程Powered by©Discuz!技术支持:迪恩网络    ( 蜀ICP备20018290号-1 )