决策主力股票论坛|今日股市行情大盘分析查询

 找回密码
 立即/注册

扫一扫,访问微社区

QQ登录

只需一步,快速开始

搜索
上证指数 2897.43 +13.99 +0.49% 香港恒生 26179.330 +130.609 +0.50% 日经225 20713.23 +85.22 +0.41% 韩国综合 1948.30 -2.71 -0.14%
道琼斯 25628.90 -623.34 -2.37% 纳斯达克 7751.77 -239.62 -3.00% 英国富时 7109.74 -18.44 -0.26% 德国DAX 11637.22 -109.82 -0.93%
人民币 7.0961 +0.0124 +0.18% 原油 53.897 -2.63% NYMEX原油 黄金 1537.240 +1.91% 黄金全球股市行情 2019年08月26日03时49分
查看: 21655|回复: 0

[通达信] 通达信神奇趋势波段及选股指标公式

[复制链接]
发表于 2019-1-25 14:02:58 | 显示全部楼层 |阅读模式

  1. A1:=EMA(HHV(HIGH,500),21);
  2. A2:=EMA(HHV(HIGH,250),21);
  3. A3:=EMA(HHV(HIGH,90),21);
  4. A4:=EMA(LLV(LOW,500),21);
  5. A5:=EMA(LLV(LOW,250),21);
  6. A6:=EMA(LLV(LOW,90),21);
  7. A7:=EMA((A4*0.96+A5*0.96+A6*0.96+A1*0.558+A2*0.558+A3*0.558)/6,21);
  8. A8:=EMA((A4*1.25+A5*1.23+A6*1.2+A1*0.55+A2*0.55+A3*0.65)/6,21);
  9. A9:=EMA((A4*1.3+A5*1.3+A6*1.3+A1*0.68+A2*0.68+A3*0.68)/6,21);
  10. A10:=EMA((A7*3+A8*2+A9)/6*1.738,21);
  11. A11:=REF(LOW,1);
  12. A12:=SMA(ABS(LOW-A11),3,1)/SMA(MAX(LOW-A11,0),3,1)*100;
  13. A13:=EMA(IF(CLOSE*1.35REF(A17,1))*A17;
  14. A20:=CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
  15. A21:=FILTER(A20,28);
  16. A22:=REF(A18,1)>0 AND A18=0 AND A21;
  17. STICKLINE(A22,0,(-1.5),1,0),COLORMAGENTA;
  18. DRAWTEXT(A22,(-1.3),2),COLORMAGENTA;
  19. A23:=CLOSE>4 AND CLOSE10;
  20. A26:=A23 AND A25 AND NOT(A24);
  21. A27:=BETWEEN(HHVBARS(HIGH,29),4,9);
  22. A28:=A26 AND A27;
  23. A29:=BARSLAST(A28=1);
  24. A30:=CROSS(MA(CLOSE,5),REF(HIGH,A29)) AND A29REF(OPEN,1) AND LOW>REF(LOW,1) AND CLOSE>OPEN AND MA(CLOSE,10)>REF(MA(CLOSE,10),1) AND OPENA32 AND CLOSE>=A33 AND A28;
  25. STICKLINE(A34,0,1.5,0.9,0),COLORLICYAN;
  26. DRAWTEXT(A34,1.3,6),COLORLICYAN;
  27. A35:=(CLOSE+HIGH+LOW)/3;
  28. A36:=EMA(A35,10);
  29. A37:=REF(A36,1);
  30. A38:=HHV(REF(HIGH,1),5);
  31. A39:=LLV(REF(LOW,1),5);
  32. A40:=HHV(REF(CLOSE,1),5);
  33. A41:=LLV(REF(CLOSE,1),5);
  34. A42:=HHV(REF(OPEN,1),5);
  35. A43:=LLV(REF(OPEN,1),5);
  36. A44:=(A38/A39-1)*100MAX(A36,A37) AND OPEN>MAX(A36,A37),5)=5 AND CLOSE>A38;
  37. STICKLINE(A50,0,1.5,3,1),COLORRED;
  38. DRAWTEXT(A50,1,7),COLORRED;
  39. A51:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
  40. A52:=SMA(A51,3,1);
  41. A53:=SMA(A52,3,1);
  42. A54:=3*A52-2*A53;
  43. A55:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
  44. A56:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
  45. A57:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
  46. A58:=(A55+2*A56+3*A57)/6;
  47. A59:=MA(A58,3);
  48. A60:=IF(A59,20,0);
  49. A61:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
  50. A62:=A61=20 AND A62;
  51. STICKLINE(A63,0,1,3,1),COLORYELLOW;
  52. DRAWTEXT(A63,0.9,8),COLORYELLOW;
  53. A64:=EMA(CLOSE,5);
  54. A65:=EMA(CLOSE,29);
  55. A66:=EXIST(CROSS(A64,A65),4) AND A64>REF(A64,1) AND A65>REF(A65,1);
  56. A67:=MA(VOL,8);
  57. A68:=MA(VOL,89);
  58. A69:=EXIST(CROSS(A67,A68),3);
  59. A70:=REF(HIGH+LOW,1)/2;
  60. A71:=SUM(MAX(0,HIGH-A70),26)/SUM(MAX(0,A70-LOW),26)*100;
  61. A72:=REF(MA(CR,11),11/2.5+1);
  62. A73:=REF(MA(CR,21),21/2.5+1);
  63. A74:=REF(MA(CR,35),35/2.5+1);
  64. A75:=REF(MA(CR,53),53/2.5+1);
  65. A76:=A71>A72 AND A71>A73 AND A71>A74 AND A71>A75;
  66. A77:=A66 AND A69 AND A76;
  67. STICKLINE(A77,0,1.5,0.5,0),COLORYELLOW;
  68. DRAWTEXT(A77,1.2,9),COLORYELLOW;
  69. A78:=EMA(CLOSE,5);
  70. A79:=EMA(CLOSE,13);
  71. A80:=LLV(LOW,BARSLAST(CROSS(A79,A78))+1);
  72. A81:=HHV(HIGH,BARSLAST(CROSS(A78,A79))+1);
  73. A82:=LLV(LOW,BARSLAST(CROSS(A79,A78))+1);
  74. A83:=EVERY(RANGE(MA(A81,5)/MA(A80,5),0.93,1.2),5);
  75. A84:=EVERY(RANGE(MA(A81,13)/MA(A80,13),0.93,1.2),13);
  76. A85:=EVERY(RANGE(MA(A82,5)/MA(A81,5),0.93,1.2),5);
  77. A86:=EVERY(RANGE(MA(A82,13)/MA(A81,13),0.93,1.2),13);
  78. A87:=CLOSE-REF(CLOSE,1);
  79. A88:=100*EMA(EMA(A87,6),6)/EMA(EMA(ABS(A87),6),6);
  80. A89:=LLV(A88,2)=LLV(A88,7) AND COUNT(A880,0,A98,2,1),COLORLIGRAY;
  81. STICKLINE(A980,0,A95,0,1),COLORYELLOW;
  82. STICKLINE(A950.25,2,0);
  83. ★大盘指数:EMA(A99,5)*5,COLORMAGENTA,LINETHICK2;
  84. A100:=STRCAT(11,CON2STR(INDEXADV,0));
  85. A101:=STRCAT(12,CON2STR(INDEXDEC,0));
  86. DRAWTEXT_FIX(1,0,0.5,0,STRCAT(A100,A101)),COLORWHITE;
  87. STICKLINE(MA(INDEXC,5)>MA(INDEXC,10),0,0,5,0),COLORRED;
  88. STICKLINE(MA(INDEXC,5)0 AND ISLASTBAR,0,0.07,0,20),COLORRED;
  89. DRAWTEXT_FIX(A102>0 AND ISLASTBAR,0,0.07,0,A106),COLORYELLOW;
  90. {http://jue-ce.com}
复制代码
回复

使用道具 举报

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

本版积分规则



手机版|今日股市行情|联系我们|决策主力股票论坛 ( 鄂ICP备15024813号-1)点击这里给我发消息

GMT+8, 2019-8-26 03:53

Powered by 今日股市

© 2001-2017 http://jue-ce.com/

快速回复 返回顶部 返回列表