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

 找回密码
 立即/注册

扫一扫,访问微社区

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时43分
查看: 20725|回复: 0

[通达信] 通达信和平鸽指标公式

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

  1. DIF1:=EMA(CLOSE,12)-EMA(CLOSE,26),COLOR00FF00,LINETHICK1;
  2. DEA1:=EMA(DIF1,9),COLOR00FF00,LINETHICK1;
  3. DI:=EMA(CLOSE,4)-EMA(CLOSE,13),COLORMAGENTA,LINETHICK2;
  4. D1:=EMA(DI,5),COLORGRAY;
  5. D2:=EMA(DI,10),COLORGRAY;
  6. D3:=EMA(DI,20),COLORGRAY;
  7. D4:=EMA(DI,30),COLORGRAY;
  8. D5:=EMA(DI,60),COLORGRAY;
  9. D6:=EMA(DI,90),COLORGRAY;
  10. D7:=EMA(DI,120),COLORGRAY;
  11. D8:=EMA(DI,250),COLORGRAY;
  12. AA:=STICKLINE(DI>=REF(DI,1) AND D1>=REF(D1,1) AND D2>=REF(D2,1) AND D3>=REF(D3,1) AND
  13. D4>=REF(D4,1) AND D5>=REF(D5,1) AND D6>=REF(D6,1) AND D7>=REF(D7,1) AND
  14. D8>=REF(D8,1) AND C>EMA(C,11) AND DI>-0.8,DI,0,2,0),COLORRED;
  15. MACD1:=(DIF1-DEA1)*2;
  16. STICKLINE(MACD1>REF(MACD1,1),0,MACD1,2,0),COLOR0000FF;
  17. STICKLINE(MACD1>REF(MACD1,1),0,MACD1,1.8,0),,COLOR0000FF;
  18. STICKLINE(MACD1>REF(MACD1,1),0,MACD1,1.6,0),COLOR0000FF;
  19. STICKLINE(MACD1>REF(MACD1,1),0,MACD1,1.4,0),COLOR0000FF;
  20. STICKLINE(MACD1>REF(MACD1,1),0,MACD1,1.2,0),COLOR0000FF;
  21. STICKLINE(MACD1>REF(MACD1,1),0,MACD1,0.8,0),COLORCC66FF;
  22. STICKLINE(MACD1=0 OR MACD1SI,X,SI,1,0),COLOR0080EF;
  23. STICKLINE(XREF(MACD,1),DIF1,DRAWNULL),COLORRED,LINETHICK1;
  24. DEA2:IF(DEA1VAR1 AND DEA=VAR1,MAX(LLV(VAR1,10),VAR3),VAR1),COLORCYAN,LINETHICK2;
  25. XX:IF(DIFREF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
  26. VARR2:=REF(VARR1,1) AND CLOSEREF(CLOSE,2);
  27. VARR3:=REF(VARR2,1) AND CLOSE>REF(CLOSE,1) AND CLOSEREF(CLOSE,2);
  28. VARR5:=REF(VARR4,1) AND CLOSE>REF(CLOSE,1) AND CLOSEREF(CLOSE,2);
  29. VARR7:=REF(VARR6,1) AND CLOSE>REF(CLOSE,1) AND CLOSEREF(CLOSE,2);
  30. VARR9:=REF(VARR8,1) AND CLOSE>REF(CLOSE,1) AND CLOSEREF(CLOSE,2);
  31. VARRB:=REF(VARRA,1) AND CLOSE>REF(CLOSE,1) AND CLOSEREF(CLOSE,2);
  32. VARRD:=CLOSEREF(CLOSE,1) AND CLOSEREF(CLOSE,2);
  33. VARR10:=REF(VARRF,1) AND CLOSE>REF(CLOSE,1) AND CLOSEREF(CLOSE,2);
  34. VARR12:=REF(VARR11,1) AND CLOSE>REF(CLOSE,1) AND CLOSEREF(CLOSE,2);
  35. VARR14:=REF(VARR13,1) AND CLOSE>REF(CLOSE,1) AND CLOSEREF(CLOSE,2);
  36. VARR16:=REF(VARR15,1) AND CLOSE>REF(CLOSE,1) AND CLOSEREF(CLOSE,2);
  37. VARR18:=REF(VARR17,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
  38. VARR19:=REF(VARRD OR VARRE OR VARRF OR VARR10 OR VARR11 OR VARR12 OR VARR13 OR VARR14 OR VARR15 OR VARR16 OR VARR17 OR VARR18,1) AND VARR1;
  39. DRAWICON(VARR19=1,SI-0.08,1);
  40. VARR1A:=REF(VARR1 OR VARR2 OR VARR3 OR VARR4 OR VARR5 OR VARR6 OR VARR7 OR
  41. VARR8 OR VARR9 OR VARRA OR VARRB OR VARRC,1) AND VARRD;
  42. DRAWICON(VARR1A=1,X+0.08,2);
  43. 选股:VARR19,COLORRED,NODRAW;
复制代码
回复

使用道具 举报

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

本版积分规则



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

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

Powered by 今日股市

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

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