开启左侧

价值选股副图指标 源码 通达信

[复制链接]
价值选股副图指标 源码 通达信 贴图
  1. {公式名称:熟年网采价值}
  2. {显示小数固定2位}
  3. {画个大框}
  4. DRAWRECTREL(0,0,999,980,0);
  5. {画第一、二个表格}
  6. DRAWRECTREL(50,1,250,200,0);
  7. DRAWRECTREL(50,1,250,980,0);
  8. DRAWRECTREL(50,1,90,980,0);
  9. DRAWRECTREL(0,1,450,980,0);
  10. {画第三个格}
  11. DRAWRECTREL(0,1,500,980,0);
  12. DRAWRECTREL(0,1,700,980,0);

  13. DRAWTEXT_FIX(1,0.015,0.2,0,'成'),COLORRED;
  14. DRAWTEXT_FIX(1,0.015,0.4,0,'长'),COLORRED;
  15. DRAWTEXT_FIX(1,0.015,0.6,0,'性'),COLORRED;

  16. DRAWTEXT_FIX(1,0.465,0.15,0,'财'),COLORRED;
  17. DRAWTEXT_FIX(1,0.465,0.35,0,'务'),COLORRED;
  18. DRAWTEXT_FIX(1,0.465,0.55,0,'风'),COLORRED;
  19. DRAWTEXT_FIX(1,0.465,0.75,0,'险'),COLORRED;

  20. {营收}
  21. YS20181231:=FINONE(74,2018,1231)/100000000;
  22. YS20171231:=FINONE(74,2017,1231)/100000000;
  23. YS20161231:=FINONE(74,2016,1231)/100000000;
  24. YS20151231:=FINONE(74,2015,1231)/100000000;

  25. DRAWTEXT_FIX(1,0.05+0,0.05,0,'年度'),COLOR00FF80;
  26. DRAWTEXT_FIX(1,0.05+0,0.25,0,'2018'),COLOR00FF80;
  27. DRAWTEXT_FIX(1,0.05+0,0.42,0,'2017'),COLOR00FF80;
  28. DRAWTEXT_FIX(1,0.05+0,0.59,0,'2016'),COLOR00FF80;
  29. DRAWTEXT_FIX(1,0.05+0,0.76,0,'2015'),COLOR00FF80;

  30. DRAWTEXT_FIX(1,0.05+0.05,0.05,0,'营收(亿元):'),COLORWHITE;
  31. DRAWNUMBER_FIX(1,0.05+0.09,0.25,1,YS20181231),COLORWHITE;
  32. DRAWNUMBER_FIX(1,0.05+0.09,0.42,1,YS20171231),COLORWHITE;
  33. DRAWNUMBER_FIX(1,0.05+0.09,0.59,1,YS20161231),COLORWHITE;
  34. DRAWNUMBER_FIX(1,0.05+0.09,0.76,1,YS20151231),COLORWHITE;
  35. {毛利率}
  36. DRAWTEXT_FIX(1,0.05+0.14,0.05,0,'毛利率%:'),COLORYELLOW;
  37. DRAWNUMBER_FIX(1,0.05+0.145,0.25,0,FINONE(202,2018,1231)),COLORYELLOW;
  38. DRAWNUMBER_FIX(1,0.05+0.145,0.42,0,FINONE(202,2017,1231)),COLORYELLOW;
  39. DRAWNUMBER_FIX(1,0.05+0.145,0.59,0,FINONE(202,2016,1231)),COLORYELLOW;
  40. DRAWNUMBER_FIX(1,0.05+0.145,0.76,0,FINONE(202,2015,1231)),COLORYELLOW;

  41. 净资产收益率:=FINANCE(30)/FINANCE(19),NODRAW;
  42. DRAWTEXT_FIX(1,-0.04+0.3,0.4,0,'净资产收益率:'),COLORFF00FF;
  43. DRAWNUMBER_FIX(1,-0.04+0.47,0.4,1,净资产收益率),COLORYELLOW;

  44. 利润TTM:=FINVALUE(276);
  45. 市盈率TTM:IF(FINVALUE(238)*100*REF(C,1)/利润TTM>=0,FINVALUE(238)*100*REF(C,1)/利润TTM/100,0),NODRAW;
  46. DRAWTEXT_FIX(1,-0.04+0.3,0.6,0,'今日市盈率TTM:'),COLORFF00FF;
  47. DRAWNUMBER_FIX(1,-0.04+0.47,0.6,1,CONST(市盈率TTM)),COLORYELLOW;
  48. 今日市盈率:=CONST(市盈率TTM),NODRAW;

  49. 负债率:=FINANCE(9),NODRAW;
  50. 总现金流亿:=FINANCE(26)/100000000,NODRAW;
  51. 经营现金流亿:=FINANCE(25)/100000000,NODRAW;
  52. 现金流通市值比:=FINANCE(26)/FINANCE(40)*100,NODRAW;{现金流占流通市值的比率};
  53. 每股经营现金流:=FINANCE(25)/FINANCE(1),NODRAW;

  54. 商誉数值:=FINVALUE(35)/100000000;{亿}
  55. 净资产:=FINANCE(19)/100000000,NODRAW;{亿}
  56. 商誉雷区:商誉数值/净资产*100,COLORWHITE,NODRAW;{大于30为高风险,低于30为低风险}

  57. AD1:=FINANCE(42);
  58. AD2:=DATETODAY(CONST(DATE));
  59. AD3:=AD2-AD1;
  60. XDATE:=DAYTODATE(AD3)+19000000;
  61. 上市日期:=STRCAT('',CON2STR(XDATE,0));

  62. DRAWTEXT_FIX(1,0.52,0.15,0,'负债率%:'),COLORFF00FF;
  63. DRAWTEXT_FIX(1,0.52,0.35,0,'总现金流(亿):'),COLORFF00FF;
  64. DRAWTEXT_FIX(1,0.52,0.55,0,'经营现金流(亿):'),COLORFF00FF;
  65. DRAWTEXT_FIX(1,0.52,0.75,0,'商誉净资产比:'),COLORFF00FF;

  66. DRAWNUMBER_FIX(1,0.67,0.15,1,负债率),COLORYELLOW;
  67. DRAWNUMBER_FIX(1,0.67,0.35,1,总现金流亿),COLORYELLOW;
  68. DRAWNUMBER_FIX(1,0.67,0.55,1,经营现金流亿),COLORYELLOW;
  69. DRAWNUMBER_FIX(1,0.67,0.75,1,商誉雷区),COLORYELLOW;

  70. DRAWTEXT_FIX(1,0.72,0.35,0,'上市日期:'),COLORFF00FF;
  71. DRAWTEXT_FIX(ISLASTBAR,0.82,0.35,0,上市日期),COLORYELLOW;
  72. 最新财报:=CON2STR(FINONE(0,0,0),0),NODRAW;
  73. DRAWTEXT_FIX(1,0.72,0.55,0,'最新财报:'),COLORFF00FF;
  74. DRAWTEXT_FIX(ISLASTBAR,0.831,0.55,0,最新财报),COLORYELLOW;
复制代码

价值选股副图指标 源码 通达信

价值选股副图指标 源码 通达信

回复
0

使用道具 举报

精彩评论1

乡下人雨田 发表于 2020-5-1 10:27:14 | 显示全部楼层
感谢分享精品资源
回复

使用道具 举报

懒得打字嘛,点击快捷回复 【回复乱码 永久禁言】
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关注0

粉丝2

帖子1235

发布主题
推荐素材更多+
广告位


QQ- Archiver-手机版-小黑屋- 与你共享  

Powered by YNJIE.COM X3.3© 2001-2013 与你共享街.  滇ICP备19007624号-1