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

 找回密码
 立即/注册

扫一扫,访问微社区

QQ登录

只需一步,快速开始

专业股票配资 扩大收益 权威配资官网 广告位广告位广告位广告位广告位 广告位广告位广告位广告位广告位
搜索
上证指数 2755.65 +1.29 +0.05% 香港恒生 28228.131 -118.881 -0.42% 日经225 21319.14 +37.29 +0.18% 韩国综合 2205.63 -5.26 -0.24%
道琼斯 25883.25 +443.86 +1.74% 纳斯达克 7472.41 +45.46 +0.61% 英国富时 7176.78 -42.69 -0.59% 德国DAX 11263.34 -35.86 -0.32%
人民币 6.7639 -0.0028 -0.04% 原油 55.40 -0.3418% NYMEX原油 黄金 1336.8 +1.1119% 黄金全球股市行情 2019年02月19日22时27分
查看: 14884|回复: 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备15023833号-1)点击这里给我发消息 鄂公网安备 42062502000040号

GMT+8, 2019-2-19 22:29

Powered by 今日股市

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

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