通达信拉线观察区公式

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

 通达信拉线观察区公式

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

复制内容到剪贴板
  1. VAR0:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;   
  2. VAR3:=SMA(VAR0,3,1);   
  3. VAR1:SMA(VAR3,4,1)-10;   
  4. VAR4:=(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100;   
  5. VAR5:=SMA(VAR4,3,1);   
  6. VAR2:=SMA(VAR5,4,1)-90;   
  7. STICKLINE(REF(VAR1,1)<VAR1,VAR1,REF(VAR1,1),10,0),COLOR0000FF;   
  8. STICKLINE(REF(VAR1,1)>VAR1,VAR1,REF(VAR1,1),5,0),COLOR00FF00;   
  9. STICKLINE(REF(VAR2,1)>VAR2,VAR2,REF(VAR2,1),10,0),COLOR0000FF;   
  10. STICKLINE(REF(VAR2,1)<VAR2,VAR2,REF(VAR2,1),5,0),COLOR00FF00;   
  11. 0,COLOR0000FF;   
  12. M:=IF(REF(VAR1,1)<VAR1,10,0),COLORYELLOW;   
  13. 买:IF(M=10 AND REF(M,1)=0 AND VAR1<10,48,0),,COLORFFFF00,STICK ;   
  14. 买2:IF(M=10 AND REF(M,1)=0 AND VAR1>10  AND VAR1<55,88,0),,COLORYELLOW,STICK ;   
  15. {选股:IF(VAR1>0 AND VAR1-REF(VAR1,1)>=0 AND VAR1<45,8,0),,COLORYELLOW ;}   
  16. RSV:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;   
  17. K:=SMA(RSV,3,1);   
  18. D:=SMA(K,3,1);   
  19. J:=3*K-2*D;   
  20. 起动:=EMA(J,6),COLORRED;   
  21. {五星级注意:IF(起动>90 AND 起动<=REF(起动,1),-28,0),,COLORFFFF00,STICK ;}   
  22. VAR11:=REF(CLOSE,2);   
  23. 专用:=SMA(MAX(CLOSE-VAR11,0),7,1)/SMA(ABS(CLOSE-VAR11),7,1)*100,COLORFFAA66;   
  24. VAR12:=REF(CLOSE,1);   
  25. VAR13:=SMA(MAX(CLOSE-VAR12,0),7,1)/SMA(ABS(CLOSE-VAR12),7,1)*100;   
  26. 专用逃: IF(专用< REF(专用,1) AND 专用>79,-48,0),STICK,LINETHICK1,COLOR00FF00;   
  27. DRAWTEXT(专用逃 ,70 ,'逃'),COLORYELLOW,LINETHICK1;   
  28. VAR111:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);   
  29. VAR112:=SMA(VAR11,9,1);   
  30. A:=SMA(VAR112,5,1),COLOR00FFFF;   
  31. B:=SMA(A,3,1),COLORFF00FF;   
  32. F:=(3)*(A)-(2)*(B),COLOR00FF00;   
  33. 观察区:=IF(F>=A AND A>=B,16,0),COLOR00FF00;   
  34. V1:=(C*2+H+L)/4*10;   
  35. V2:=EMA(V1,13)-EMA(V1,34);   
  36. V3:=EMA(V2,5);   
  37. V4:=2*(V2-V3)*5.5;   
  38. 庄撤:=IF(V4<=0,V4,0);   
  39. 庄进:=IF(V4>=0,V4,0);   
  40. V8:=(INDEXC*2+INDEXH+INDEXL)/4;   
  41. V9:=EMA(V8,13)-EMA(V8,34);   
  42. VA:=EMA(V9,3);   
  43. VB:=(V9-VA)/2;   
  44. 大筹金进:=IF(VB>=0,VB,0);   
  45. 观察区1:=IF(庄进>0 ,6,0),COLORFFFF00;   
  46. Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;    
  47. Q3:=SMA(Q2, 9, 1);    
  48. Q4:=SMA(Q3, 3, 1);    
  49. 长趋势:=3*Q3-2*Q4;   
  50. 趋势线:=EMA(Q3, 3);   
  51. 观察区2:=IF(长趋势>趋势线 ,-8,0),COLORFFFF00;   
  52. {综合观察区:IF(观察区=16 AND 观察区1=6 AND 观察区2=-8,16,0);}   
  53. VAR1D:=EMA(CLOSE,2)-EMA(CLOSE,89);    
  54. VAR1E:=EMA(VAR1D,30);    
  55. VAR1F:=2*(VAR1D-VAR1E)*10;    
  56. VAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2);    
  57. VAR25:=IF(VAR1F>0.015,VAR20,0)/45;   
  58. 拉线:=VAR25,COLORYELLOW ;   
  59. 拉线区:IF(拉线>0, 38,0), COLOR00FF00;   
  60. 拉线买点:IF(拉线>0 AND REF(拉线,1)=0,28,0), COLORFFFF00,STICK ;   
  61. 注意:IF(REF(拉线,1)>120 AND 拉线<=REF(拉线,1)*0.85,-17,0), COLORRED;    
  62. VAR1P:=(CLOSE-LLV(LOW,60.135))/(HHV(HIGH,60.135)-LLV(LOW,60))*80;    
  63. VAR2P:=SMA(VAR1P,7,1);    
  64. VAR3P:=SMA(VAR2P,5,1);    
  65. 预警:IF(CROSS(VAR2P,VAR3P) AND VAR2P<20,85,0),LINETHICK1, COLOR000999;    
  66. VAR6:=4*SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1)-    
  67. 3*SMA(SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1),3,1);    
  68. VAR7:=8;    
  69. 准备: IF(VAR6<=8,30,0),STICK,COLORWHITE,LINETHICK2;    
  70. 买入: IF(CROSS(VAR6,VAR7),80,0),STICK,COLORGREEN,LINETHICK2;   
  71. DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));   
  72. DEA:=EMA(DIFF,9),COLORFF00FF,LINETHICK1;   
  73. CD:=2*(DIFF-DEA),COLORSTICK,LINETHICK1;   
  74. 低位起涨:IF(DIFF<0,30,0),COLORFFFF00,LINETHICK1;   
  75. VARV:=(2*C+H+L)/4;   
  76. VARU:=LLV(LOW,30);   
  77. VARA1:=HHV(HIGH,30);   
  78. B1:=EMA(B,5);   
  79. LC:=REF(CLOSE,1);   
  80. RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;    
  81. 低吸:IF(CROSS(RSI,11),70,0),COLORWHITE,POINTDOT;   
  82. STICKLINE(低吸,30,0,4,0),COLORWHITE;   
  83. 趋势:=(5)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(3)*(SMA(SMA(((CLOSE-LLV(LOW,27))   
  84. /(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1))-SMA(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1),2,1);   
  85. DRAWTEXT(CROSS((趋势),5),15,'★'),COLOR00FFFF;   
  86. DRAWTEXT(CROSS(趋势,5),2,'★'),COLORRED;   
  87. DRAWTEXT(CROSS(趋势,5),20,'★'),COLORGREEN;   
  88. 趋势1:=(3)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(2)   
  89. *(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1));   
  90. 探底:IF((趋势<=5),50,0),COLORFF00FF;  

 

D48719288.jpg

D48719288.jpg

回复

使用道具 举报

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

本版积分规则