通达信J线共振 通达信版-源码

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

 通达信J线共振 通达信版-源码

{牛牛指标网提供:www.tdx001.com}复制内容到剪贴板
  1. RSV1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;   
  2. K1:=SMA(RSV1,5,1);   
  3. D1:=SMA(K1,5,1);   
  4. J1:=3*K1-2*D1;   
  5. AA1:=EMA(J1,5);   
  6. AA2:=REF(AA1,1);   
  7. STICKLINE(AA1>AA2,AA1,AA2,4,0),COLOR0055AA;{长J}   
  8. STICKLINE(AA1>AA2,AA1,AA2,4,0),COLOR0077CC;   
  9. STICKLINE(AA1>AA2,AA1,AA2,2,0),COLOR0099DD;   
  10. STICKLINE(AA1>AA2,AA1,AA2,1,0),COLOR01BEE7;   
  11. STICKLINE(AA1<=AA2,AA1,AA2,4,0),COLOR006600;   
  12. STICKLINE(AA1<=AA2,AA1,AA2,4,0),COLOR009900;   
  13. STICKLINE(AA1<=AA2,AA1,AA2,2,0),COLOR00BB00;   
  14. STICKLINE(AA1<=AA2,AA1,AA2,1,0),COLOR00CC00;   
  15. RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;   
  16. K2:=SMA(RSV2,3,1);   
  17. D2:=SMA(K2,3,1);   
  18. J2:=3*K2-2*D2;   
  19. BB1:=EMA(J2,5);   
  20. BB2:=REF(BB1,1);   
  21. STICKLINE(BB1>BB2,BB1,BB2,4,0),COLOR000045;{短J}   
  22. STICKLINE(BB1>BB2,BB1,BB2,3,0),COLOR000085;   
  23. STICKLINE(BB1>BB2,BB1,BB2,2,0),COLOR0000C5;   
  24. STICKLINE(BB1>BB2,BB1,BB2,1,0),COLOR0000E5;   
  25. STICKLINE(BB1<=BB2,BB1,BB2,4,0),COLOR353500;   
  26. STICKLINE(BB1<=BB2,BB1,BB2,3,0),COLOR555500;   
  27. STICKLINE(BB1<=BB2,BB1,BB2,2,0),COLOR757500;   
  28. STICKLINE(BB1<=BB2,BB1,BB2,1,0),COLOR858500;   
  29. DD:=AA1>AA2 AND BB1>BB2;   
  30. 注意买入:DD AND NOT(REF(DD,1)) AND (AA1<50 OR BB1<50) ,LINETHICK0;   
  31. DRAWICON(注意买入,-5,1);   
  32. 注意卖出:REF(DD,1)=1 AND NOT(DD),LINETHICK0;   
  33. DRAWICON(注意卖出,105,2);   

733188861.jpg

733188861.jpg

 

{牛牛指标网提供:www.tdx001.com}复制内容到剪贴板
  1. 飞狐原版。。。   
  2. 【J线共振】   
  3. DRAWGBK((CLOSE > 0),COLORRGB(0,0,0),COLORRGB(0,0,0),1);   
  4. DRAWTEXTEX(C,0,10,2,'黄绿相间为长J、红蓝相间是短线、低位共振同色买、变异减仓出手快。'),COLORMAGENTA;   
  5. RSV1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;   
  6. K1:=SMA(RSV1,5,1);   
  7. D1:=SMA(K1,5,1);   
  8. J1:=3*K1-2*D1;   
  9. AA1:=EMA(J1,5);   
  10. AA2:=REF(AA1,1);   
  11. STICKLINE(AA1>AA2,AA1,AA2,8,0),COLOR0055AA;//长J   
  12. STICKLINE(AA1>AA2,AA1,AA2,5,0),COLOR0077CC;   
  13. STICKLINE(AA1>AA2,AA1,AA2,3,0),COLOR0099DD;   
  14. STICKLINE(AA1>AA2,AA1,AA2,1,0),Color01BEE7;   
  15. STICKLINE(AA1<=AA2,AA1,AA2,8,0),COLOR006600;   
  16. STICKLINE(AA1<=AA2,AA1,AA2,5,0),COLOR009900;   
  17. STICKLINE(AA1<=AA2,AA1,AA2,3,0),COLOR00BB00;   
  18. STICKLINE(AA1<=AA2,AA1,AA2,1,0),COLOR00CC00;   
  19. RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;   
  20. K2:=SMA(RSV2,3,1);   
  21. D2:=SMA(K2,3,1);   
  22. J2:=3*K2-2*D2;   
  23. BB1:=EMA(J2,5);   
  24. BB2:=REF(BB1,1);   
  25. STICKLINE(BB1>BB2,BB1,BB2,7,0),COLOR000045;//短J   
  26. STICKLINE(BB1>BB2,BB1,BB2,5,0),COLOR000085;   
  27. STICKLINE(BB1>BB2,BB1,BB2,3,0),COLOR0000C5;   
  28. STICKLINE(BB1>BB2,BB1,BB2,1,0),COLOR0000E5;   
  29. STICKLINE(BB1<=BB2,BB1,BB2,7,0),COLOR353500;   
  30. STICKLINE(BB1<=BB2,BB1,BB2,5,0),COLOR555500;   
  31. STICKLINE(BB1<=BB2,BB1,BB2,3,0),COLOR757500;   
  32. STICKLINE(BB1<=BB2,BB1,BB2,1,0),COLOR858500;   
  33. DD:=AA1>AA2 AND BB1>BB2;   
  34. 注意买入:DD AND NOT(REF(DD,1)) AND (AA1<50 OR BB1<50) ,LINETHICK0;   
  35. DRAWICON(注意买入,-5,4),ALIGN0;   
  36. 注意卖出:REF(DD,1)=1 AND NOT(DD),LINETHICK0;   
  37. DRAWICON(注意卖出,105,5),ALIGN0;   

 

回复

使用道具 举报

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

本版积分规则