通达信防空警报涨停板证券系统公式

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

 通达信防空警报涨停板证券系统公式

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

复制内容到剪贴板
  1. 80,COLOR888888,;   
  2. QW1:=(HIGH+LOW+CLOSE*2)/4;    
  3. QW3:=EMA(QW1,10);    
  4. QW4:=STD(QW1,10);    
  5. QW5:=(QW1-QW3)*100/QW4;    
  6. QW6:=EMA(QW5,5);    
  7. RK7:=EMA(QW6,10);    
  8. 涨:EMA(QW6,10)+100/2-5,LINETHICK1,COLORRED,;   
  9. 跌:=EMA(涨,4),LINETHICK1,COLORFFFF34,;   
  10. 多线:IF(CROSS(涨,跌) AND 跌<-10,30,0),LINETHICK1,COLORFF00FF,;   
  11. 空线:IF(CROSS(跌,80),70,100),COLORFF9900,;   
  12. 买1:=EMA(跌,4),COLORWHITE,;   
  13. 买2:=EMA(买1,4),COLORGREEN,;   
  14. 买M3:=EMA(买2,4);    
  15. 买M4:=EMA(买M3,4);    
  16. STICKLINE(涨<REF(涨,1),涨,MA(涨,3),0,0 ),COLORWHITE,;   
  17. STICKLINE(涨<REF(涨,1),涨,MA(涨,3),8,0 ),COLOR008800,;   
  18. STICKLINE(涨<REF(涨,1),涨,MA(涨,3),7,0 ),COLOR009900,;   
  19. STICKLINE(涨<REF(涨,1),涨,MA(涨,3),6,0 ),COLOR00AA00,;   
  20. STICKLINE(涨<REF(涨,1),涨,MA(涨,3),5,0 ),COLOR00BB00,;   
  21. STICKLINE(涨<REF(涨,1),涨,MA(涨,3),4,0 ),COLOR00CC00,;   
  22. STICKLINE(涨<REF(涨,1),涨,MA(涨,3),3,0 ),COLOR00DD00,;   
  23. STICKLINE(涨<REF(涨,1),涨,MA(涨,3),2,0 ),COLOR00EE00,;   
  24. STICKLINE(涨<REF(涨,1),涨,MA(涨,3),1,0 ),COLOR00FF00,;   
  25.   
  26. STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),0,0) ,COLOR00BBFF,;   
  27. STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),8,0) ,COLOR0011FF,;   
  28. STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),7,0) ,COLOR0022FF,;   
  29. STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),6,0) ,COLOR0044FF,;   
  30. STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),5,0) ,COLOR0066FF,;   
  31. STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),4,0) ,COLOR0088FF,;   
  32. STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),3,0) ,COLOR0099FF,;   
  33. STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),2,0) ,COLOR00AAFF,;   
  34. STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),1,0) ,COLOR00BBFF,;  DRAWICON(多线,30,1);   DRAWICON(CROSS(跌,80),70,2);  VAR7B:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);DRAWTEXT(VAR7B>0,60,'★探底'),COLORYELLOW;  DRAWTEXT(CROSS(涨,跌) AND 跌<20 AND 跌>-10,40,'买入'),COLORCCFF99;    
  35. DRAWTEXT(多线>0,-20,'看涨'),COLOR0000FF;    
  36. VAR811:=SUMBARS(VOL,(7)*100);   
  37. VAR822:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);    
  38. VAR883:=(CLOSE-VAR822)/VAR822*100;    
  39. VAR884:=HHV(VAR883,VAR811);    
  40. VAR885:=LLV(VAR883,VAR811);    
  41. VAR886:=(VAR883-VAR885)/(VAR884-VAR885)*100;    
  42. K:=SMA(VAR886,3,1);    
  43. D:=SMA(K,3,1);    
  44. J:=3*K-2*D;    
  45. MA1:=MA(J,3);    
  46. STICKLINE(FILTER(J>MA1 AND J<=3,5)=1 AND 跌<0,涨,涨+20,6,0),COLORYELLOW,;   
  47. DRAWTEXT(FILTER(J>MA1 AND J<=3,5)=1 AND 跌<0,60,'考虑买进'),COLORFFFFFF;  VAR2:=MA(CLOSE,194);VAR44:=REF(CLOSE,1);   
  48. VAR45:=SMA(MAX(CLOSE-VAR44,0),6,1)/SMA(ABS(CLOSE-VAR44),6,1)*100;   
  49. STICKLINE(CROSS(84,VAR45),0,VAR2*15+3,3,1),COLORGREEN;   
  50. DRAWTEXT(CROSS(84,VAR45),80,'防空警报'),COLORGREEN;   

E68047629.png

E68047629.png

回复

使用道具 举报

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

本版积分规则