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

 找回密码
 立即/注册

扫一扫,访问微社区

QQ登录

只需一步,快速开始

搜索
上证指数 2890.16 +2.54 +0.09% 香港恒生 27498.771 +271.609 +1.00% 日经225 20967.09 -156.91 -0.74% 韩国综合 2098.71 +7.98 +0.38%
道琼斯 26112.53 +22.92 +0.09% 纳斯达克 7845.02 +48.36 +0.62% 英国富时 7416.15 +58.84 +0.80% 德国DAX 12227.73 +141.91 +1.17%
人民币 6.9248 -0.0010 -0.01% 原油 51.80 -0.25% NYMEX原油 黄金 1352.1 +0.69% 黄金全球股市行情 2019年06月18日19时26分
查看: 22573|回复: 0

[通达信] 通达信神秘短买指标公式

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

  1. MTM:=C-REF(C,1);
  2. DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
  3. YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DXREF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
  4. VAR2:=(REF(VAR1,1) AND CLOSE=REF(CLOSE,2));
  5. VAR3:=(REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
  6. VAR5:=(REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
  7. VAR7:=(REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
  8. VAR9:=(REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
  9. VARB:=(REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
  10. VARD:=(CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
  11. VAR10:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
  12. VAR12:=(REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
  13. VAR14:=(REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
  14. VAR16:=(REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
  15. VAR18:=(REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE=1 AND BB>REF(BB,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)REF(SM05,1)&&REF(SM05,1)REF(SM06,1);
  16. STICKLINE(SM07,0,0.5,2,0),COLORYELLOW;
  17. 神秘买点:SM07,COLORLICYAN,LINETHICK2;
  18. BIAS0:= (C-MA(C,2))/MA(C,2)*100;
  19. BIAS1 := (C-MA(C,12))/MA(C,12)*100;
  20. BIAS2 := (C-MA(C,26))/MA(C,26)*100;
  21. BIAS3 := (C-MA(C,48))/MA(C,48)*100;
  22. HXL:=V/CAPITAL*100;
  23. D1:=INDEXC;
  24. D2:=MA(D1,13);
  25. DR2:=D2>1.050*D1;
  26. E1:=(C-HHV(C,12))/HHV(C,12)*10;
  27. E2:=(C-REF(C,26))/REF(C,26)*10;
  28. E3:=MA(C,3);
  29. SJ1:=DR2;
  30. SJ2:=E2B5 AND B5>B4 AND B4>B3 AND B3>B2 AND B2>B1;
  31. A1:=(((2 * CLOSE) + HIGH) + LOW) / 4;A2:=LLV(LOW,34);A3:=HHV(HIGH,34);
  32. A4:=EMA((((A1 - A2) / (A3 - A2)) * 100),13);A5:=EMA(((0.667 * (REF(A4,1))) + (0.333 * A4)),2);
  33. A6:=(HHV(HIGH,9)) - (LLV(LOW,9));A7:=(HHV(HIGH,9)) - CLOSE;A8:=CLOSE - (LLV(LOW,9));
  34. A9:=((A7 / A6) * 100) - 70;A10:=((CLOSE - (LLV(LOW,60))) / ((HHV(HIGH,60)) - (LLV(LOW,60)))) * 100;
  35. A11:=SMA(((A8 / A6) * 100),3,1);A12:=(SMA(A11,3,1)) - (SMA(A9,9,1));
  36. ZZ2:=REF(C>O OR O>C,2) AND REF(C>O OR O>C,1) AND REF(C>O OR O>C,6);
  37. A13:=IF((A12 > 100),(A12 - 100),0);GG:=EMA((((A1 - A2) / (A3 - A2)) * 100),5);
  38. HH:=EMA(GG,13);AS:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
  39. AD:=SMA(AS,9,1)+100;AF:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
  40. AG:=SMA(AF,3,1);AH:=SMA(AG,3,1)+100;AJ:=AH-AD;KK:=IF(AJ>45,AJ-45,0);
  41. T3:=KK>REF(KK,1) AND REF(KK,1)=0 AND MACD>REF(MACD,1);
  42. 潜龙出海:CROSS(GG,HH) AND T3 AND B7 AND ZZ1 AND ZZ2 COLORBLUE;
  43. MA5 := MA(CLOSE,5);
  44. MA10 := MA(CLOSE,10);
  45. MA60 := MA(CLOSE,60);
  46. PDAY1 := BARSLAST(CROSS(MA5,MA60));
  47. PDAY2 := BARSLAST(CROSS(MA10,MA60));
  48. PDAY3 := BARSLAST(HIGH=HHV(HIGH,PDAY2));
  49. PDAY4 := BARSLAST(CROSS(MA10,MA5));
  50. PDAY5 := BARSLAST(CROSS(MA5,MA10));
  51. A1S:= PDAY1>PDAY2 AND PDAY2>PDAY3 AND PDAY3>PDAY4 AND PDAY4>PDAY5 AND
  52. PDAY5MA60 AND MA10>MA60 AND C>MA5;
  53. 老鸭头:A1S AND A2S AND A3S,COLORMAGENTA;
  54. VAR10L:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
  55. VAR11L:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
  56. VAR15L:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
  57. VAR17L:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)REF(上,1) AND REF(上,1)=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)=REF(C,1);
  58. 金叉L:=CROSS(JL,DL);
  59. 买1:=(VAR14 OR VAR15) AND VAR11;
  60. 买2:=(VAR14 OR VAR15) AND VAR04;
  61. 买3:=(VAR14 OR VAR15) AND VAR02;
  62. 买4:=(VAR02 AND VAR11) OR (VAR04 AND VAR11);
  63. 买5:=(金叉L AND VAR04) OR (金叉L AND VAR02) OR (金叉L AND VAR11);
  64. TTJ0:=VAR16;
  65. TTJ1:=买1 OR 买2 OR 买3 OR 买4 OR 买5 AND MML;
  66. XG0:=TTJ AND TTJ0;
  67. XG1L:=TTJ AND TTJ1;
  68. XG11:=XG0 OR XG1L;
  69. EN1:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)REF(PL20,1));
  70. ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);
  71. ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);
  72. DTJZ10:=IF(PL20REF(PL10,1) AND ZTJZ5=2;
  73. TJ33:=EN2 AND DTJZ10=1;
  74. TJ44:=EN3 AND ZTJZ10=1;
  75. TJ55:=EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2;
  76. XG22:=TJ11 OR TJ22 OR TJ33 OR TJ44 OR TJ55;
  77. 放心买:=XG11 OR XG22 COLORCYAN;
  78. DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
  79. DEA1:=EMA(DIF1,9);
  80. 黑马线:=16;
  81. DDL:=CROSS(DIF1,DEA1);
  82. 陶金上:=DDL AND 黑马线 COLORRED;
  83. 陶金1:=(DIF1-DEA1)*2*60;
  84. 主力L:=陶金1-REF(陶金1,1);
  85. 主力信号:=主力L>5 AND 主力L>REF(主力L,1)COLORRED;
  86. VAR20:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
  87. VAR22L:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
  88. VAR24L:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
  89. VAR26L:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
  90. 买点二:=(VAR20+VAR22L+VAR24L+VAR26L);
  91. 卖点一:=(VAR21L+VAR23L+VAR25L+VAR27);
  92. 买待涨:=(VAR20+VAR22L+VAR24L+VAR26L)COLOR00FFFF;
  93. 快卖欲跌:=(VAR21L+VAR23L+VAR25L+VAR27) COLOR00FF00;
  94. ZDZ:=买待涨 AND 放心买 AND 陶金上 AND 主力信号 COLOR00FFFF;
  95. 真涨:ZDZ,STICK,COLORCYAN;
  96. DRAWTEXT(真涨>0,1.2,'真涨'),COLORCYAN;
  97. DRAWICON(真涨>0,真涨,24);
复制代码
回复

使用道具 举报

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

本版积分规则



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

GMT+8, 2019-6-18 19:27

Powered by 今日股市

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

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