通达信发现庄迹指标公式

[复制链接]
查看293 | 回复0 | 2022-7-24 09:04:07 | 显示全部楼层 |阅读模式

 通达信发现庄迹指标公式

{牛牛指标网提供:www.tdx001.com}

复制内容到剪贴板
  1. N:=5; N1:=21;       
  2. VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-       
  3. 3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK1;       
  4. VAR2:=8,COLORGREEN,LINETHICK0;       
  5. 小试牛刀: IF(CROSS(VAR1,VAR2),8,0),STICK,COLORRED;       
  6. DRAWICON(小试牛刀>0,8,4);       
  7. 发现庄迹: IF(VAR1<=8,15,0),STICK,COLORCYAN,LINETHICK2;       
  8. VARO5:=LLV(LOW,27);       
  9. VARO6:=HHV(HIGH,34);       
  10. VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;       
  11. 建仓区: IF((VARO7<10),100,118) ,COLOR00CCFF,LINETHICK1;       
  12. CD1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))-0.7;       
  13. CD2:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9));       
  14. CD3:=SMA(SMA(CD2,3,1),3,1);       
  15. CD4:=(CD3-SMA(CD1,9,1))-0.5;       
  16. CD5:=IF(CD4>0.00,CD4,0.00);       
  17. CD6:=REF(CD5,1);       
  18. VAR81:=MA(C,9),COLORRED;       
  19. 空头1:=IF(CD6-CD5,CD6,CD5),LINETHICK3,COLORGREEN;       
  20. 减仓空仓:CROSS(CD6,CD5),COLORGREEN;       
  21. DRAWICON(减仓空仓>0,113,5);       
  22. VAR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;       
  23. VAR2A:=SMA(VAR1A,9,1)+100;       
  24. VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;       
  25. VAR4A:=SMA(VAR3A,3,1);       
  26. VAR5A:=SMA(VAR4A,3,1)+100;       
  27. VAR6A:=VAR5A-VAR2A;       
  28. 端庄窝:=IF(VAR6A>N1,VAR6A-N1,0),COLORLIRED;       
  29. 果断出击:IF(CROSS(端庄窝,0.01),18,0),STICK,COLOR0000CC,LINETHICK2;       
  30. DRAWICON(果断出击>0,18,4);       
  31. XG:=CROSS(端庄窝,0.01);       
  32. LC:=REF(CLOSE,1);        
  33. RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;       
  34. E:=CROSS(83,RSI);       
  35. STICKLINE(REF(端庄窝,1)<端庄窝,端庄窝,REF(端庄窝,1),3,0),COLORRED;       
  36. STICKLINE(REF(端庄窝,1)>端庄窝,端庄窝,REF(端庄窝,1),3,0),COLOR00FF00;       
  37. 红持绿空:0,COLORGREEN;   
  38.   
  39. DI:=EMA(CLOSE,5)-EMA(CLOSE,10);   
  40. DE:=EMA(DI,5);   
  41. MACD:=(DI-DE)*400,COLORSTICK;   
  42.   VL:=REF(L,1);   
  43.   VH:=REF(H,1);   
  44.   
  45.   
  46. VAR3:=MA(VAR1,13);    
  47. VAR4:=MA(VAR2,13);   
  48. VAR5:=LLV(L,34);   
  49. VAR6:=HHV(H,34);   
  50. VAR7:=EMA(IF(H>=VAR6,VAR3,0),3);   
  51. VAR8:=EMA(IF(L<=VAR5,VAR4,0),3);   
  52. VAR9:=(SMA(SMA((((C-LLV(L,54))/(HHV(H,54)-LLV(L,54)))*100),7,1),5,1));   
  53. VAR10:=((SMA(((C-LLV(L,54))/(HHV(H,54)-LLV(L,54))*100),7,1))*16.18)-(VAR9*10.9);   
  54. VAR11:=FILTER(IF(VAR10<=VAR9 AND VAR8>REF(VAR8,1),VAR8*8,0),55);   
  55. VAR21:=LLV(L,60);   
  56. VAR31:=HHV(H,60);   
  57. VAR41:=EMA((C-VAR21)/(VAR31-VAR21)*100,13);   
  58. VAR51:=EMA(0.667*REF(VAR41,1)+0.333*VAR41,21);   
  59. VARL2:=FILTER(CROSS(VAR51,VAR41) AND VAR41>84,13);   
  60. 持股线:=MA(C,20);   
  61. QJJ:=FILTER((CROSS(DI,DE) AND DE<0 AND CROSS(C,持股线)),90);   
  62. DRAWICON(HHV(VAR11,5)=1 AND (C=LLV(C,10) OR L=LLV(L,10)) AND C>REF(C,1)*0.905,   
  63.    C*0.98,5);   
  64. DRAWICON(QJJ,H*1.05,1);   
  65. 小放牛:IF(QJJ=QJJ,0,0),COLOR0099FF;   
  66. DRAWICON(VARL2,H*1.03,2);   
  67. STICKLINE(QJJ,MA(C,20)*0.7,MA(C,20)*0.9,12,0),COLOR0099FF;   
  68. STICKLINE(QJJ,MA(C,20)*0.7,MA(C,20)*0.6,18,0),COLOR0099FF;   
  69. STICKLINE(QJJ,MA(C,20)*0.9,MA(C,20)*0.8,12,0),COLOR0099FF;   
  70. STICKLINE(QJJ,MA(C,20)*0.9,MA(C,20)*0.7,8,0),COLOR000000;   
  71. STICKLINE(QJJ,MA(C,20)*0.6,MA(C,20)*0.4,10,0),COLOR0099FF;   
  72. STICKLINE(QJJ,MA(C,20)*0.25,MA(C,20)*0.4,7,0),COLOR0099FF;   
  73. 上升在即: IF(CROSS(VAR1,VAR2),80,0),STICK,COLOR0000CC,LINETHICK2;   
  74. 专吸庄血: IF(VAR1<=8,25,0),STICK,COLORWHITE,LINETHICK2;   
  75. DRAWTEXT(CROSS(VAR1,VAR2),80,'准备买入'),COLOR00FFFF;   
  76. 0,LINETHICK1 ,COLORFFCC00;  

 

回复

使用道具 举报

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

本版积分规则