通达信极品波段 品种强弱源码

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

极品波段 品种强弱(附图源码)

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

 品种强弱

复制内容到剪贴板
  1. 个股:EMA(100*(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)),3),COLOR1010FF,LINETHICK2;   
  2. 大盘:EMA(100*(INDEXC-LLV(INDEXL,9))/(HHV(INDEXH,9)-LLV(INDEXL,9)),3),COLORE67010,LINETHICK2;   
  3. STICKLINE(CROSS(个股,大盘),0,50,2,0),COLOR0000FF;   
  4. DRAWTEXT(CROSS(个股,大盘),70,'准黑马'),COLOR0000FF;   
  5. HM:=大盘<40;   
  6. STICKLINE(((CROSS(个股,大盘)) AND HM ),0,30,3,0),COLORFFFFFF;   
  7. DRAWBAND(个股,RGB(255,50,250),大盘,RGB(100,250,0));   
  8. 50;   
  9. 97;   
  10. 90;   
  11. 20;   

B272039243.png

B272039243.png

 

C/C++ www.zegu.cn 择股网提供 Code复制内容到剪贴板
  1. 极品波段   
  2.   
  3. 底部:10;   
  4. 卖出线: 99;   
  5. 趋势1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))   
  6. *100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))   
  7. /(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLOR0000FF,LINETHICK2;     
  8. 买入警戒:IF(趋势1<=10,20,0),COLOR00FFFF;   
  9. 卖出警戒: IF(趋势1>=90,80,100),COLOR00FF00;   
  10. RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);    
  11. VARA:=REF(LOW,1);    
  12. VARB:=SMA(ABS(LOW-VARA),3,1)/SMA(MAX(LOW-VARA,0),3,1)*100;    
  13. VARC:=EMA(IF(CLOSE*1.3,VARB*10,VARB/10),3);    
  14. K:=SMA(RSV,3,1),COLOR00FFFF,LINETHICK2;     
  15. D:=SMA(K,3,1),COLOR00FFFF,LINETHICK2;    
  16. J:=3*K-2*D,LINETHICK2,COLORFFFFFF;   
  17. VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;   
  18. 高抛: 80;   
  19. VAR2:=LLV(LOW,34);   
  20. VAR3:=HHV(HIGH,34);   
  21. SK: EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13),LINETHICK2,COLORFFFFFF;   
  22. SD: EMA(SK,3),LINETHICK2,COLOR00FF00;   
  23. DRAWBAND(SK,RGB(250,0,10),SD,RGB(20,200,0));   
  24. STICKLINE(CROSS(J,3),20,1,2,0),COLOR000FFF,LINETHICK3;   
  25. DRAWTEXT(CROSS(J,3),55,'跟庄');   
  26. VAR1N:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;   
  27. VAR2N:=EMA(VAR1N,30);   
  28. VAR3N:=EMA(VAR2N,30);   
  29. VAR4N:=3*VAR2N-2*VAR3N;   
  30. 势:EMA(VAR4N,5),COLORBLUE,LINETHICK3;   
  31. VAR5:=LLV(LOW,10);   
  32. VAR6:=HHV(HIGH,25);   
  33. 决策线:EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4),COLORRED,LINETHICK2;   
  34. DRAWTEXT(CROSS(80,决策线),105,'闪'),COLOR00FF00;   
  35. DRAWICON(CROSS(80,决策线),110,2);   
  36. STICKLINE(势>80,势,80,1,0),COLORGREEN;   
  37. STICKLINE(势<10,势,10,1,0),COLOR00FFFF;   
  38. DRAWTEXT(CROSS(10,势),35,'进'),COLOR000FFF;   
  39. DRAWICON(CROSS(10,势),0,1);   

C672039403.png

C672039403.png

回复

使用道具 举报

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

本版积分规则