股票公式指标网-网站导航


网站搜索:  

公式在线 发表于2009/9/27 22:57:52

瀑布趋势

瀑布趋势

 

C/C++ Code复制内容到剪贴板
  1. 源码如下:   
  2. JJ:=(HIGH+LOW+3*CLOSE)/5;   
  3. VAR1:=EMA(JJ,5);   
  4. VAR2:=EMA(JJ,8);   
  5. VAR3:=EMA(JJ,13);   
  6. VAR4:=EMA(JJ,21);   
  7. H1A:=(VAR1+VAR2+VAR3+VAR4)/4;   
  8. 头线:MA(H1A,5.425),COLORYELLOW,LINETHICK2;   
  9. 中线:MA(H1A,13.5625),COLORff00ff,POINTDOT,LINETHICK4;   
  10. 尾线:MA(H1A,20),COLOR3311FF,LINETHICK2;   
  11. MA5:MA(CLOSE,5);   
  12. E60:EMA(CLOSE,60),LINETHICK0,COLORGREEN;   
  13. STICKLINE(EMA(CLOSE,60)>=REF(EMA(CLOSE,60),12),EMA(CLOSE,60),EMA(CLOSE,60),6,4),COLORGREEN,LINETHICK2;   
  14. STICKLINE(EMA(CLOSE,60)<REF(EMA(CLOSE,62),12),EMA(CLOSE,60),EMA(CLOSE,60),6,4),colorwhite,LINETHICK2;   
  15. DRAWTEXT(CROSS(MA(H1A,11),MA(H1A,5.425)),MA(H1A,11),'▼\n突\n破'),COLOR00ffff,ALIGN0,PXDN16;   
  16. DRAWTEXT(CROSS(MA(H1A,5.425),MA(H1A,11)),MA(H1A,11),'▲\n突\n破'),COLORff00ff,ALIGN0,PXDN20;   
  17.   
  18. MA(H1A,6),COLORGREEN;   
  19. MA(H1A,7),COLORGREEN;   
  20. MA(H1A,8.68),COLORGREEN;   
  21. MA(H1A,9),COLORGREEN;   
  22. MA(H1A,10.85),COLORGREEN;   
  23. MA(H1A,11),COLORGREEN;   
  24.   
  25. MA(H1A,15),COLOR33bbff,LINETHICK0;   
  26. MA(H1A,16),COLOR3399FF,LINETHICK0;   
  27. MA(H1A,17.36),COLOR3377FF,LINETHICK0;   
  28. MA(H1A,18),COLOR3355FF,LINETHICK0;   
  29. MA(H1A,19),COLOR3333FF,LINETHICK0;   
  30. MA(H1A,20),COLORff00ff,LINETHICK0;   
  31.   
  32. K10:=MA(CLOSE,10),COLORWHITE,LINETHICK0;   
  33. STICKLINE(CLOSE>=K10 AND CLOSE>=OPEN,CLOSE,OPEN,4,0),COLORRED;   
  34. STICKLINE(CLOSE>=K10 AND CLOSE>=OPEN,HIGH,LOW,0,0),COLORRED;   
  35. STICKLINE(CLOSE>=K10 AND CLOSE<OPEN,CLOSE,OPEN,4,1),COLORRED;   
  36. STICKLINE(CLOSE>=K10 AND CLOSE<OPEN,OPEN,HIGH,0,0),COLORRED;   
  37. STICKLINE(CLOSE>=K10 AND CLOSE<OPEN,CLOSE,LOW,0,0),COLORRED;   
  38. STICKLINE(CLOSE<K10 AND CLOSE>OPEN,CLOSE,OPEN,4,1),COLORFFFF00;   
  39. STICKLINE(CLOSE<K10 AND CLOSE<=OPEN,CLOSE,OPEN,4,1),COLORFFFF00;   
  40. STICKLINE(CLOSE<K10 AND CLOSE<=OPEN,HIGH,LOW,0,1),COLORFFFF00;   
  41. STICKLINE(CLOSE<K10 AND CLOSE>OPEN,CLOSE,HIGH,0,1),COLORFFFF00;   
  42. STICKLINE(CLOSE<K10 AND CLOSE>OPEN,OPEN,LOW,0,1),COLORFFFF00;   

 



网站搜索:  



Copyright © 2009-2010 gszb.com ™,All Rights Reserved. 
股票公式指标网-www.gszx.com.cn-股票指标公式网