通达信波段雄鹰信号公式

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

 通达信波段雄鹰信号公式

复制内容到剪贴板
  1. VAR1A:=3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);   
  2. VAR2A:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;   
  3. VAR3A:=SMA(SMA(VAR2A,3,1),3,1);   
  4. VAR4A:=EMA(VAR3A,5);   
  5. VAR5A:=LLV(LOW,26);   
  6. VAR6A:=HHV(HIGH,34);   
  7. VAR7A:=EMA((CLOSE-VAR5A)/(VAR6A-VAR5A)*4,4)*25;   
  8. VAR8A:=(2*C+H+L)/4;   
  9. VAR9A:=LLV(LOW,9);   
  10. VAR10A:=HHV(HIGH,9);   
  11. VAR2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));   
  12. MW:= EMA(VAR2W,3);   
  13. VAR3W:=EMA(VAR2W,7);   
  14. M1:= EMA(VAR3W,5);   
  15. MB1:=CROSS(MW,M1) AND M1<20;    
  16. MG1:=IF(CROSS(M1,MW) AND REF(MW,1)>80,80 ,0) ;   
  17. 波段:=EMA((VAR8A-VAR9A)/(VAR10A-VAR9A)*100,9),COLORRED;   
  18. B1:=EMA(0.667*REF(波段,1)+0.333*波段,2),COLOR00FF00;   
  19. STICKLINE(波段>B1,波段,B1,10,0),COLORRED;   
  20. STICKLINE(波段<=B1,波段,B1,10,0),COLOR00FF00;   
  21. 波段顶:IF((BARSLAST(MG1>0)<2),80,100),COLOR00FF00;   
  22. 波段底:IF((MB1),20,0),LINETHICK1,COLORYELLOW;   
  23. DRAWTEXT(波段底,25,'★'),COLORF00FF0;   
  24. DRAWTEXT(波段底,15,'波段底'),COLORF0F000;   
  25. DRAWICON((BARSLAST(MG1>0)<2),80,2);   
  26. DRAWTEXT((BARSLAST(MG1>0)<2),90,'波段顶');   
  27. V1:=EMA(CLOSE,5)-EMA(CLOSE,340);   
  28. V2:=EMA(V1,144);   
  29. V3:(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,COLORRED;   
  30. 卖出:-1*IF((CROSS(98.5,V3) AND V1>V2) AND COUNT(V3>97,3)=2,20,0)+90,COLORFF9900;   
  31. 每周10%买入:IF(CROSS(V3,5) AND V1<V2,20,0)+10,COLORRED;   
  32. DRAWTEXT(CROSS(V3,5) AND V1<V2,25,'买入'),COLORRED;   
  33. VARO5:=LLV(LOW,27);   
  34. VARO6:=HHV(HIGH,34);   
  35. VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;   
  36. 建仓区: IF((VARO7<10),40,0) ,COLOR00CCFF,LINETHICK1;   
  37. DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);   
  38. DEA:=EMA(DIFF,9);   
  39. MACD:=(2)*(DIFF-DEA);   
  40. A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));   
  41. VAR6:=4*SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1)-    
  42. 3*SMA(SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1),3,1);    
  43. VAR7:=8;    
  44. 买入信号: IF(CROSS(VAR6,VAR7),100,0),COLORRED;  

 

回复

使用道具 举报

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

本版积分规则