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

 找回密码
 立即/注册

扫一扫,访问微社区

QQ登录

只需一步,快速开始

搜索
上证指数 3090.98 -5.44 -0.18% 香港恒生 29466.279 +57.267 +0.19% 日经225 21551.14 -33.36 -0.15% 韩国综合 2177.62 -1.87 -0.09%
道琼斯 25887.38 -26.72 -0.10% 纳斯达克 7723.95 +9.47 +0.12% 英国富时 7330.54 +31.35 +0.43% 德国DAX 11790.71 +133.65 +1.15%
人民币 6.7117 -0.0014 -0.02% 原油 59.08 -0.0169% NYMEX原油 黄金 1306.3 +0.3688% 黄金全球股市行情 2019年03月20日05时36分
查看: 23777|回复: 0

[通达信] 通达信庄家轨迹指标公式

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

  1. LC:=REF(CLOSE,1);
  2. VID:=SUM(VOL,2)/((HHV(HIGH,2)-LLV(LOW,2))*100);
  3. RC:=(CLOSE-LC)*VID;
  4. LONG:=SUM(RC,0);
  5. DIFF:=SMA(LONG,10,1);
  6. DEA:=SMA(LONG,20,1);
  7. LON:=DIFF-DEA;
  8. LLL:=MA(LON,10);
  9. TDXSTEP134:IF(LLL>=REF(LLL,1),LLL,DRAWNULL),COLORRED;
  10. V2:EMA(LON,1),COLORGREEN;
  11. V3:EMA(V2,3),COLORGREEN;
  12. V4:EMA(V3,3),COLORGREEN;
  13. V5:EMA(V4,3),COLORGREEN;
  14. V6:EMA(V5,3),COLORGREEN;
  15. TDXSTEP135:IF(V2>=REF(V2,1),V2,DRAWNULL),COLORRED;
  16. TDXSTEP136:IF(V3>=REF(V3,1),V3,DRAWNULL),COLORRED;
  17. TDXSTEP137:IF(V4>=REF(V4,1),V4,DRAWNULL),COLORRED;
  18. TDXSTEP138:IF(V5>=REF(V5,1),V5,DRAWNULL),COLORRED;
  19. TDXSTEP139:IF(V6>=REF(V6,1),V6,DRAWNULL),COLORRED;
  20. TDXSTEP140:0,COLORWHITE;
  21. TDXSTEP141:STICKLINE(V2>REF(V2,1),V2,REF(V2,1),3,0),COLORRED;
  22. TDXSTEP142:STICKLINE(V2100,100,VAR8Q);
  23. TDXSTEP143:STICKLINE(火焰山>0 AND 火焰山>REF(火焰山,1),0,火焰山*1.2,3.5,0),COLOR4444FF;
  24. TDXSTEP144:STICKLINE(火焰山>0 AND 火焰山>REF(火焰山,1),0,火焰山*1.2,2.5,0),COLOR5555FF;
  25. TDXSTEP145:STICKLINE(火焰山>0 AND 火焰山>REF(火焰山,1),0,火焰山*1.2,1.5,0),COLOR7777FF;
  26. TDXSTEP146:STICKLINE(火焰山>0 AND 火焰山>REF(火焰山,1),0,火焰山*1.2,0.5,0),COLOR9999FF;
  27. 逃顶:=CROSS(82,RSI.RSI1);
  28. TDXSTEP147:STICKLINE(逃顶,逃顶,10,3.5,0),COLORFF5500;
  29. TDXSTEP148:STICKLINE(逃顶,逃顶,15,2.5,0),COLORFF8800;
  30. TDXSTEP149:STICKLINE(逃顶,逃顶,20,1.5,0),COLORFFAA00;
  31. TDXSTEP150:STICKLINE(逃顶,逃顶,25,0.5,0),COLORFFCC00;
  32. TDXSTEP151:STICKLINE(逃顶,逃顶,30,0.1,0),COLORCYAN;
  33. 强弱线:50,POINTDOT,COLORGREEN;
  34. VARR1:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
  35. TDXSTEP152:DRAWICON(CROSS(82,VARR1),10,15);
  36. TDXSTEP153:DRAWTEXT(CROSS(82,VARR1),35,7),COLORYELLOW;
  37. VAR6:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
  38. VAR7:=SMA(ABS(VAR6-HIGH),13,1)/SMA(MAX(VAR6-HIGH,0),10,1);
  39. VAR8:=EMA(VAR7,10);
  40. VAR9:=HHV(HIGH,33);
  41. VAR0:=EMA(IF(HIGH>=VAR9,VAR8,0),3);
  42. 主力出场:IF(VAR0>REF(VAR0,1),(-VAR0)+100,100),COLORGREEN;
  43. VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
  44. VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
  45. VAR3:=EMA(VAR2,10);
  46. VAR4:=LLV(LOW,33);
  47. VAR5:=EMA(IF(LOWREF(VAR5,1),VAR5,0),COLORRED;
  48. 地量:DRAWTEXT(CROSS(0.9,1/VOL*1000>0.01 AND KDJ.J0,0,30,2,0),COLOR008888;
  49. TDXSTEP155:STICKLINE(地量>0,0,30,1.5,0),COLOR00AAAA;
  50. TDXSTEP156:STICKLINE(地量>0,0,30,0.8,0),COLOR00DDDD;
  51. TDXSTEP157:STICKLINE(地量>0,0,30,0.3,0),COLORYELLOW;
  52. TDXSTEP158:DRAWICON(CROSS(82,VARR1),10,15);
  53. VAR10:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
  54. VAR11:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
  55. VAR12:=VAR10REF(VOL,1) AND CLOSE>REF(CLOSE,1);
  56. TDXSTEP159:DRAWTEXT(VAR12 AND COUNT(VAR12,30)=1,40,9),COLORRED;
  57. A2:=5;
  58. A3:=(2*CLOSE+HIGH+LOW)/4;
  59. A4:=LLV(LOW,34);
  60. A5:=HHV(HIGH,34);
  61. A6:=EMA((A3-A4)/(A5-A4)*100,13);
  62. A7:=EMA(0.667*REF(A6,1)+0.333*A6,2);
  63. 庄家轨迹:EMA(A7,A2),COLORRED;
  64. A8:=HHV(HIGH,9)-LLV(LOW,9);
  65. A9:=HHV(HIGH,9)-CLOSE;
  66. A10:=CLOSE-LLV(LOW,9);
  67. A11:=A9/A8*100-70;
  68. A12:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
  69. A13:=SMA(A10/A8*100,3,1);
  70. A14:=SMA(A13,3,1)-SMA(A11,9,1);
  71. A15:=IF(A14>100,A14-100,0);
  72. A16:=EMA((A3-A4)/(A5-A4)*100,8);
  73. A17:=EMA(A16,5);
  74. A18:=EMA(CLOSE,2);
  75. A19:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
  76. A20:=HHV(MA(HIGH,13),13);
  77. A21:=LLV(MA(HIGH,13),1);
  78. A22:=EMA(CLOSE,4);
  79. A23:=A18>=A19 AND A21=A20 AND A18>A22 AND CLOSE>A21 AND REF(A21,1)=A19 AND A21=A20 AND CLOSE/REF(CLOSE,1)>=1.07 AND A24=A19 AND A21=A20 AND CLOSE/REF(CLOSE,1)>=1.035 AND A24<=30 AND CLOSE<=A25 AND CLOSE<=A26;
  80. A31:=A30 AND FILTER(A30,20);
  81. TDXSTEP160:DRAWICON(A28 OR A31,庄家轨迹,26);
  82. TDXSTEP161:DRAWTEXT(A28 OR A31,庄家轨迹,11),COLORRED;
复制代码
回复

使用道具 举报

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

本版积分规则



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

GMT+8, 2019-3-20 05:39

Powered by 今日股市

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

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