公式网-网站导航


网站搜索:  

股票公式指标网 发表于2010/6/1 7:20:51

有庄则灵(源码)

 

C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
  1. ma5:MA(CLOSE,5),colorf00ff0;   
  2. ma13:MA(CLOSE,13),colorwhite;   
  3. ma60:MA(CLOSE,60),linethick1,colorred;   
  4. ma90:ma(c,90),linethick2,colorf0f000;   
  5. ma120:MA(CLOSE,120),color00ff00;   
  6. aa:=cross(ma(c,5),ma(c,20)) and  cross(ma(c,5),ma(c,30)) and cross(ma(c,5),ma(c,60));   
  7. bb:=ma(c,60)>ma(c,10) and cross(ma(c,10),ma(c,30)) and ma(c,30)>ma(c,20) and abs(ma(c,60)-ma(c,20))/ma(c,20)<0.05;   
  8. cc:=ma(c,30)>ma(c,5) and cross(ma(c,5),ma(c,20)) and ma(c,20)>ma(c,10), coloryellow;   
  9. dd:=abs((ma(c,5)-ma(c,10))+(ma(c,10)-ma(c,20))+(ma(c,20)-ma(c,30)))<0.02 and ma(c,5)>ref(ma(c,5),1) and ma(c,10)>ref(ma(c,10),1);   
  10. ee:=ma(c,20)>ma(c,5) and cross(ma(c,5),ma(c,10)) and ma(c,10)>ma(c,60) and abs(ma(c,20)-ma(c,60))/ma(c,60)<0.05;   
  11. ff:=aa or bb or cc or dd or ee ;   
  12. 天堂星雷达:=ff and FILTER( ff,8);   
  13. drawicon(天堂星雷达,l,1);   
  14. drawtext(天堂星雷达,l*0.958,'庄现'),colorwhite;   
  15. stickline(天堂星雷达,h,l,0.5,0),colorred;   
  16. stickline(天堂星雷达,o,c,6,0),linethick2,colorred;   
  17. aa1:=AMOUNT/vol;   
  18. bb1:=l<aa1*0.9;   
  19. cc1:=(c-ref(c,1))/ref(c,1)*100>1.2;   
  20. dd1:=l<ma(c,5)*0.921;   
  21. ee1:=vol<ma(v,5)*1.5;   
  22. ff1:bb1 and cc1 and dd1 and ee1;   
  23. drawtext(ff1,l*0.99,'庄影'),COLORyellow;   
  24. stickline(ff1,h,l,0.5,0),COLORyellow;   
  25. stickline(ff1,o,c,6,0),linethick2,COLORyellow;   
  26.    



网站搜索:  



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