通达信周日KDJ共振副图指标 源码

[复制链接]
查看158 | 回复0 | 2022-7-24 08:58:55 | 显示全部楼层 |阅读模式

指标源码:

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

复制内容到剪贴板
  1. 超买预警:20,POINTDOT;   
  2. 超卖预警:80,POINTDOT;   
  3.   
  4. RSV2:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;   
  5. K周:=SMA(RSV2,15,1),COLORWHITE;   
  6. D周:=SMA(K周,3,1),COLORYELLOW;   
  7. J周:=3*K周-2*D周,COLORRED;   
  8. DRAWBAND(J周,RGB(200,0,0),D周,RGB(0,150,150));   
  9. DRAWICON(CROSS(K周, D周), D周-5,13);   
  10. DRAWICON(CROSS(D周, K周), K周+5,14);   
  11. STICKLINE(K周>= D周,-10,-18,4,0),COLORRED;   
  12. STICKLINE(K周< D周,-10,-18,4,0),COLOR00FFFF;   
  13. STICKLINE(K周>= D周,-10,-18,4,0),COLORRED;   
  14. STICKLINE(K周< D周,-10,-18,4,0),COLOR00FFFF;   
  15. A1:="KD.K"(9,3,3);   
  16. A2:="KD.D"(9,3,3);   
  17. RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;   
  18. K:=SMA(RSV,3,1);   
  19. D:=SMA(K,3,1);   
  20. J:=3*K-2*D;   
  21. STICKLINE(K>=D,K,D,2,1)COLORFF00FF;   
  22. STICKLINE(K<D,K,D,2,1)COLOR00FF00;   
  23. DRAWICON(CROSS(K,D),D-5,1);   
  24. DRAWICON(CROSS(D,K),K+5,2);   
  25. STICKLINE(K>=80,92,97,2,1),COLOR00FFFF;   
  26. STICKLINE(K<20,3,8,2,1),COLOR00FFFF;   
  27. STICKLINE(C>0,-8,0,4,0),COLOR00FF00;   
  28. STICKLINE(K>=D,-8,0,4,0),COLORFF00FF;   
  29. IF(K>=D AND K周>= D周,100,110),COLOR00FFFF;   
  30. DRAWICON(K>=D AND K周>= D周,110,1);   
  31. DRAWTEXT(CURRBARSCOUNT=3,104,'共振'),COLOR00FFFF;   
  32. DRAWTEXT(CURRBARSCOUNT=4,-14,'周KDJ'),COLORFF0000;   
  33. DRAWTEXT(CURRBARSCOUNT=4,-5,'日KDJ'),COLORFF0000;   
  34.   

066384724.png

066384724.png

回复

使用道具 举报

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

本版积分规则