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

 找回密码
 立即/注册

扫一扫,访问微社区

QQ登录

只需一步,快速开始

搜索
上证指数 2561.61 +15.28 +0.60% 香港恒生 25462.260 +17.201 +0.07% 日经225 22833.94 +284.70 +1.26% 韩国综合 2169.83 +24.71 +1.15%
道琼斯 25783.41 -15.01 -0.06% 纳斯达克 7649.40 +3.91 +0.05% 英国富时 7044.55 -14.85 -0.21% 德国DAX 11722.74 -53.81 -0.46%
人民币 6.9275 +0.0155 +0.22% 原油 69.92 -2.7809% NYMEX原油 黄金 1227.2 -0.3087% COMEX黄金全球股市行情 2018年10月18日01时44分
查看: 3966|回复: 0

[通达信] 通达信天使眼跟踪主图指标公式

[复制链接]
发表于 2018-9-27 14:03:02 | 显示全部楼层 |阅读模式

  1. DRAWGBK(C>0, RGB(0,0,00),RGB(0,0,0),0,'11',0);
  2. MA10:MA(C,10);
  3. MA60:MA(C,60);
  4. VAR6:=(( ABS((OPEN-CLOSE))/(HIGH-LOW))*VOL);
  5. VAR7:=(( (HIGH-IF((CLOSE>OPEN),CLOSE,OPEN))/(HIGH-LOW))*VOL);
  6. VAR8:=(( (IF((CLOSE>OPEN),OPEN,CLOSE)-LOW)/(HIGH-LOW))*VOL);
  7. VAR9:=IF(((VOL/CAPITAL)>0.001),1,EXP(ABS(LOG(((VOL/CAPITAL)*100)))));
  8. 加仓:VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSE>OPEN,NODRAW,COLORRED;
  9. 减仓:VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSEVAR6 AND VAR8>VAR7,NODRAW,COLORWHITE;
  10. 高抛:VAR7>VAR6 AND VAR7>VAR8,NODRAW,COLORMAGENTA;
  11. 地量:VAR9>2 AND VOL2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);
  12. LJL:=FILTER(TJ1,5);
  13. STICKLINE(CLOSE,REF(LOW,BARSLAST(LJL)),REF(LOW,BARSLAST(LJL)),1,0),COLORRED;
  14. STICKLINE(CLOSE,REF(CLOSE,BARSLAST(LJL)),REF(CLOSE,BARSLAST(LJL)),1,0),COLORYELLOW;
  15. STICKLINE(LJL,OPEN,CLOSE,1,0),COLORYELLOW;
  16. DRAWTEXT_FIX(1,0.0,0.0,0,'蓝芯-主力低位深度洗盘或高位出货坚决'),COLORBLUE,LINETHICK1;
  17. DRAWTEXT_FIX(1,0.00,0.06,0,'白芯-主力轻度洗盘'),COLORWHITE,LINETHICK1;
  18. DRAWTEXT_FIX(1,0.00,0.12,0,'棕芯-出现了近期相对地量'),COLORGREEN,LINETHICK1;
  19. DRAWTEXT_FIX(1,0.00,0.18,0,'粉芯-主力在做高抛低吸或低吸高抛'),COLORFF00FF,LINETHICK1;
  20. DRAWTEXT_FIX(1,0.00,0.24,0,'红芯-主力吸筹进货积极主动'),COLORRED,LINETHICK1;
  21. DRAWTEXT_FIX(1,0.00,0.3,0,'黄芯-主力吸筹进货强并且成交量出现黄金柱'),COLORYELLOW,LINETHICK1;
  22. DRAWTEXT_FIX(C>0,0.004,1,0,DYBLOCK),COLORYELLOW,LINETHICK2;
  23. DRAWTEXT_FIX(C>0,0.06,1,0,HYBLOCK),COLORRED,LINETHICK2;
  24. DRAWTEXT_FIX(C>0,0.12,1,0,EXTERNSTR(0,1)),COLORWHITE,LINETHICK2;
  25. EN1:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)REF(PL10,1),COUNT(EN1,走强2),0);
  26. 追2:=EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2;
  27. 追4:=EN1 AND PL10>REF(PL10,1) AND ZTJZ5=3;
  28. DRAWTEXT(追2 OR 追4,LOW*0.978,'追'),COLORYELLOW;
  29. PL5:=ZIG(3,5);
  30. EX1:=ZIG(3,5)=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)>=REF(ZIG(3,5),3);
  31. EN2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)>=REF(ZIG(3,10),3);
  32. PL20:=ZIG(3,20);
  33. EN3:=ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)>=REF(ZIG(3,20),3);
  34. PL40:=ZIG(3,40);
  35. 走强1:=BARSLAST(PL5REF(PL5,1));
  36. 走弱2:=BARSLAST(PL10>REF(PL10,1));
  37. 走强3:=BARSLAST(PL20REF(PL20,1));
  38. {ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);}
  39. ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0);
  40. DTJZ5:=IF(PL10REF(PL20,1),COUNT(EN2,走强3),0);
  41. ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);
  42. DTJZ10:=IF(PL20REF(PL10,1) AND ZTJD5=1,H*1.02,'减仓'),COLORFFFF00;
  43. DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2,L*0.98,'----买'),COLOR0000FF;
  44. DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJZ5=2,H*1.02,'短卖'),COLORGREEN;
  45. DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=3,L*0.98,'----短买'),COLOR0000FF;
  46. DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,H*1.02,'短卖'),COLORGREEN;
  47. DRAWTEXT(EN2 AND DTJZ10=1,L*0.96,'Ⅰ'),COLORFF00FF;
  48. DRAWTEXT(EX2 AND DTJD10=2,H*1.03,'Ⅱ'),COLORFF6000;
  49. DRAWTEXT(EN3 AND ZTJZ10=1,L*0.95,'Ⅲ'),COLORYELLOW;
  50. DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,H*1.06,'①'),LINETHICK3,COLORFFFF00;
  51. DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2,L*0.96,'②'),LINETHICK3,COLORYELLOW;
  52. DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=2 OR (ZTJD10=0 OR ZTJD10=2) AND EX2,H*1.02,'清仓!'),LINETHICK3,COLORWHITE;
  53. DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=3,L*0.96,'④'),LINETHICK3,COLORYELLOW;
  54. DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=3,L*0.95,'⑷'),COLORYELLOW;
  55. EMA13:=EMA(C,13);
  56. EMA34:=EMA(C,34);
  57. EMA55:=EMA(C,55);
  58. EMA120:=EMA(C,120);
  59. CR1:=(C-REF(C,1))/REF(C,1)*100>0.5;
  60. CR2:=V>MA(V,5)*0.6;
  61. CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;
  62. CR4:=ABS(EMA34-EMA55)/EMA55=REF(EMA55,1);
  63. CR6:=FILTER(CR1 AND CR2 AND CR3 AND CR4 AND CR5,2);
  64. DRAWTEXT(CR6,C*0.98,'风险'),COLORWHITE;
复制代码
回复

使用道具 举报

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

本版积分规则




手机版|今日股市行情|决策主力股票论坛 ( 鄂ICP备15023833号-1)点击这里给我发消息 鄂公网安备 42062502000040号

GMT+8, 2018-10-18 01:50

Powered by 今日股市

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

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