当前位置:→ 公式网 > 大智慧公式 > 正文  公式解密、改选股等业务 联系点击查看详情...

以下是分时买点决策系统(无源码的请下载附件导入)

 

C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
  1. input:N(60,1,111);   
  2. a1:=INDEXC;   
  3. a2:=INDEXO;   
  4. a3:=DISPSTATUS=1;   
  5. a4:=BARSLAST(a3);   
  6. a5:=(REF(a1,a4))/(REF(CLOSE,a4));   
  7. a6:=IF(a3,CLOSE,(REF(CLOSE,a4)));   
  8. a7:=IF(a3,(a1/a5),(REF((a1/a5),a4)));   
  9. a8:=a6-a7;   
  10. a9:=a2/a5;   
  11. a10:=INDEXH/a5;   
  12. a11:=INDEXL/a5;   
  13. a12:=(CLOSE>OPEN)OR((CLOSE=OPEN)AND(CLOSE>(REF(CLOSE,1))));   
  14. a13:=(a1>a2)OR((a1=a2)AND(a1>(REF(a1,1))));   
  15. 大盘:STICKLINE(a13,(a10 +a8),(a11 +a8),0,0),colorRed;   
  16. STICKLINE(a13,((a1/a5) +a8),(a9 +a8),5,0),colorRed;   
  17. STICKLINE(NOT(a13),(a11+a8),(a10+a8),0,0),colorGreen;   
  18. STICKLINE(NOT(a13),((a1/a5)+a8),(a9+a8),5,0),colorGreen;   
  19. PARTLINE(CLOSE,CLOSE>(a1/a5),RGB(255,0,0)),linethick2,colorRed;   
  20. PARTLINE(CLOSE,CLOSE>(a1/a5)AND(CLOSE<(REF(CLOSE,1))),RGB(255,0,255)),linethick2,colorMagenta;   
  21. PARTLINE(CLOSE,(CLOSE>(a1/a5)AND((MA(CLOSE,30))>(REF((MA(CLOSE,30)),1))))AND((MA((a1/a5),30))<(REF((MA((a1/a5),30)),1))),RGB(255,255,0)),linethick2,colorYellow;   
  22. STICKLINE((((REF(a1,1))<(REF(a2,1))) AND(a1>(REF(a1,1)))),((a1/a5)+a8),CLOSE,1,1),Color606060;   
  23. STICKLINE((((REF(a1,1))>(REF(a2,1)))AND(a1<(REF(a1,1)))),((a1/a5)+a8),CLOSE,1,1),Color606060;   
  24. a14:=MA(CLOSE,10);   
  25. a15:=(((EMA(CLOSE,5))*7)+((EMA(CLOSE,10))* 3))/10;   
  26. a16:=((SMA((MAX((CLOSE-(REF(CLOSE,1))),0)),6,1))/(SMA(ABS((CLOSE-(REF(CLOSE,1)))),6,1)))* 100;   
  27. DRAWTEXT(((DATE >700101)AND(CROSS(84,a16))),HIGH,'▼'),colorGreen;   
  28. a17:=(((2*CLOSE)+HIGH)+LOW)/4;   
  29. a18:=LLV(LOW,34);   
  30. a19:=HHV(HIGH,34);   
  31. a20:=EMA((((a17-a18)/(a19-a18))*100),6);   
  32. a21:=EMA(((0.667*(REF(a20,1)))+(0.333*a20)),4);   
  33. a22:=LLV(LOW,120);   
  34. a23:=HHV(HIGH,120);   
  35. a24:=a23-a22;   
  36. a25:=HHVBARS(CLOSE,N);   
  37. REF(CLOSE,a25),POINTDOT,ColorFF0000;   
  38. 突破:FILTER(((CROSS(CLOSE,((REF(REF(CLOSE,a25),1))*1.001)))AND(REF((a25>= 5),1))),10),POINTDOT,linethick0;   
  39. STICKLINE(突破,(CLOSE*0.99),CLOSE,5,0),ColorF600A9;   
  40. DRAWTEXT((((SUM((突破>0),0))=1)AND 突破),(CLOSE*0.99),'最佳买点'),colorWhite;   
  41. DRAWTEXT((((SUM((突破>0),0))=2)AND 突破),(CLOSE*0.99),'次佳买点'),colorWhite;   
  42. DRAWTEXT((((SUM((突破>0),0))=3)AND 突破),(CLOSE*0.99),'理想买点'),colorWhite;   
  43. DRAWTEXT((((SUM((突破> 0),0))=4)AND 突破),(CLOSE * 0.99),'及格买点'),colorWhite;   
  44. DRAWTEXT((((SUM((突破> 0),0))>=5) AND 突破),(CLOSE * 0.99),'突破'),colorWhite;   
  45. a26:=(CLOSE<(a1/a5))AND(CROSS(80,a16));   
  46. DRAWICON(a26,CLOSE,8);   
  47. DRAWICON((CLOSE>(a1/a5)AND(CROSS(a16,17))),CLOSE,7);   
  48. DRAWICON((CROSS(a16,10)),CLOSE,7);   
  49. DRAWICON((CROSS(90,a16)),CLOSE,8);   
  50. DRAWICON((CROSS(CLOSE,(a1/a5))),CLOSE,11);   
  51. DRAWTEXT(((IF(((((((COUNT((CLOSE<(REF(CLOSE,1))),8))/8)>0.3) AND(COUNT((a20>a21),3)))AND((REF(LOW,1))=a22))AND(CLOSE>OPEN)),1,0))AND(CROSS(a16,15))),LOW,'★小底'),ColorFF8080;   
  52. a27:=DYNAINFO(3);   
  53. a28:=SMA(CLOSE,2,1);   
  54. a29:=SMA(CLOSE,6,1);   
  55. a30:=2*(a28-a29);   
  56.   
  57. DRAWTEXTABS(10,200,'■所属板块:'+BKNAME),ColorYELLOW,linethick1;   
  58. 流通盘大小:=FINANCE2(37)/1000000*100;   
  59. DRAWTEXTABS(280,220,'流通盘大小:'+NUMTOSTRN(流通盘大小,2)+'亿'),LINETHICK1,ColorYELLOW;     
  60. 每股收益:=FINANCE2(3);   
  61. 每股市盈率:=DYNAINFO(39);   
  62. 每股净资产:=FINANCE2(4);   
  63. 销售毛利率:=FINANCE2(12);   
  64. 主营收入同比:=FINANCE2(11);     
  65. 净利润同比增长:=FINANCE2(10);   
  66. DRAWTEXTABS(170,220,'每股收益:'+NUMTOSTRN(每股收益,2)+'元'),COLOR00FF00;   
  67. DRAWTEXTABS(170,240,'每股市盈率:'+NUMTOSTRN(每股市盈率,1)+'倍'),COLORRED;   
  68. DRAWTEXTABS(170,260,'每股净资产:'+NUMTOSTRN(每股净资产,2)+'元'),COLORRED;   
  69. DRAWTEXTABS(20,220,'销售毛利率:'+NUMTOSTRN(销售毛利率,2)+'%'),LINETHICK1,COLOR00FF00;   
  70. DRAWTEXTABS(20,240,'主营收入同比增长:'+NUMTOSTRN(主营收入同比,2)+'%'),LINETHICK1,COLOR00FF00;    
  71. DRAWTEXTABS(20,260,'净利润同比增长:'+NUMTOSTRN(净利润同比增长,2)+'%'),LINETHICK1,COLOR00FF00;  



关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - RSS订阅 - TOP
湘ICP备09016573号-3 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © 铭网科技,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识