基础来自各位老师,根据自己需要稍作改变,方便需要的朋友,
有同学说文本里源码错误,直接上源码,
最简单的就是打开系统自带的均线里的ma公式,全覆盖粘贴,省去输入均线参数,起个名字另存为
说明:最小适合21的屏,老师原版在我屏上会压缩重叠看不清数值,我把数值坐标挨个调了又加了几项,版权属于老师
k柱黄色是倍量、红色涨停、蓝色跌停
ma1:ma(close,m1); ma2:ma(close,m2); ma3:ma(close,m3); ma4:ma(close,m4); 五日换手:sum(hsl,5),nodraw; 十日换手:sum(hsl,10),nodraw; 二十日换手:sum(hsl,20),nodraw; 三十日换手:sum(hsl,30),nodraw; stickline(v>=ref(v,1)*2,o,c,3,0)coloryellow; stickline(v>=ref(v,1)*2,h,l,0,0)coloryellow; stickline(c/ref(c,1)>=1.098,o,c,3,0)colorred; stickline(c/ref(c,1)>=1.098,h,l,0,0)colorred; stickline(c/ref(c,1)<=0.901,o,c,3,0)colorblue; stickline(c/ref(c,1)<=0.901,h,l,0,0)colorblue; {-----------------------------------------------------------------------------------------------------} {-------------------------------------------------基本面----------------------------------------------} {距形} {drawrectrel(0,0,378,348,rgb(36,36,36))noframe;} {基本资料} 品种类型:=finance(3); 所属板块:=hyblock; 上市天数:=finance(42); 股总市值:=round(finance(41)/100000000); 流通市值:=round(finance(40)/100000000); 股东人数:=finance(8); 人均持股:=round(finance(7)/finance(8)); drawtext_fix(1,0.008,0.01,0,'基本资料:'),colorliblue; drawtext_fix(1,0.008,0.05,0,'上市天数:'),colorligreen; drawtext_fix(1,0.008,0.09,0,'股东人数:'),colorligreen; drawtext_fix(1,0.008,0.13,0,'人均持股:'),colorligreen; drawtext_fix(1,0.008,0.17,0,'品种类型:'),colorligreen; drawtext_fix(1,0.008,0.25,0,'行业板块:'),colorligreen; drawtext_fix(品种类型=1,0.066,0.17,0,'沪 深 a 股'),coloryellow; drawtext_fix(品种类型=2,0.066,0.17,0,' 中 小 板'),coloryellow; drawtext_fix(品种类型=3,0.066,0.17,0,' 创 业 板'),coloryellow; drawtext_fix(1,0.068,0.25,0,hyblock),coloryellow;{行业板块} drawtext_fix(1,0.068,0.05,0,con2str(上市天数,0)),colorwhite;{数值} drawtext_fix(1,0.068,0.09,0,con2str(股东人数,0)),colorwhite; drawtext_fix(1,0.068,0.13,0,con2str(人均持股,0)),colorwhite; drawtext_fix(1,0.110,0.05,0,'天'),colorwhite;{单位} drawtext_fix(1,0.110,0.09,0,'人'),colorwhite; drawtext_fix(1,0.110,0.13,0,'股'),colorwhite; drawtext_fix(1,0.008,0.21,0,'地区板块:')colorligreen;{所属板块} drawtext_fix(1,0.068,0.21,0,dyblock)colorcyan; drawtext_fix(1,0.136,0.25,0,'概念板块:')colorligreen; drawtext_fix(1,0.196,0.25,0,gnblock)colorcyan; drawtext_fix(1,0.008,0.29,0,'风格板块:')colorligreen; drawtext_fix(1,0.068,0.29,0,fgblock)colorcyan; {财务(1)} 净资收益率:=(finance(33)/finance(34)*100); 主营利润率:=(finance(23)/finance(20)*100); 现金负债比:=(finance(25)/finance(15)); 主营收入同比:=finance(44);{主营收入同比增长率} 净利润同比:=finance(43);{净利润同比增长率} drawtext_fix(1,0.133,0.01,0,'财务资料(1):'),colorliblue; drawtext_fix(1,0.133,0.05,0,'净资产收益率:'),colorligreen; drawtext_fix(1,0.133,0.09,0,'主营业务利润率:'),colorligreen; drawtext_fix(1,0.133,0.13,0,'现金流动负债比:'),colorligreen; drawtext_fix(1,0.133,0.17,0,'主营收入同比:'),colorligreen; drawtext_fix(1,0.133,0.21,0,'净利润同比:'),colorligreen; drawtext_fix(1,0.226,0.05,0,strcat(var2str(净资收益率,2),' %')),colorcyan; drawtext_fix(1,0.226,0.09,0,strcat(var2str(主营利润率,2),' %')),colorcyan; drawtext_fix(1,0.226,0.13,0,con2str(现金负债比,2)),colorcyan; drawtext_fix(1,0.226,0.17,0,strcat(var2str(主营收入同比,0),' %')),colorcyan; drawtext_fix(1,0.226,0.21,0,strcat(var2str(净利润同比,0),' %')),colorcyan; {财务(2)} 每股收益:=const(finance(38));{近期}{每股税后利润} 每股收益年:=const(finance(33)); 每股净资产:=const(finance(34)); 每股现金流:=const((finance(25)/finance(1))); 每股未分配:=const(finance(32)); 每股公积金:=const(finance(18)); drawtext_fix(1,0.285,0.01,0,'财务资料(2):'),colorliblue; drawtext_fix(1,0.285,0.05,0,'每股收益(近):'),colorligreen; drawtext_fix(1,0.285,0.09,0,'每股收益年:'),colorligreen; drawtext_fix(1,0.285,0.13,0,'每股净资产:'),colorligreen; drawtext_fix(1,0.285,0.17,0,'每股未分配:'),colorligreen; drawtext_fix(1,0.285,0.21,0,'每股公积金:'),colorligreen; drawtext_fix(1,0.386,0.05,1,con2str(每股收益,2)),colorcyan; drawtext_fix(1,0.386,0.09,1,con2str(每股收益年,2)),colorcyan; drawtext_fix(1,0.386,0.13,1,con2str(每股净资产,2)),colorcyan; drawtext_fix(1,0.386,0.17,1,con2str(每股未分配,2)),colorcyan; drawtext_fix(1,0.386,0.21,1,con2str(每股公积金,2)),colorcyan; {财务(3)} 市盈率:=dynainfo(39); 市销率:=const(finance(1)*dynainfo(7)/finance(20)); 市净率:=const(dynainfo(7) / finance(34)); 毛利率:=((finance(20)-finance(21))/finance(20)*100); 净利润率:=const(finance(30)/finance(20)); drawtext_fix(1,0.406,0.01,0,'财务资料(3):'),colorliblue; drawtext_fix(1,0.406,0.05,0,'市盈率:'),colorligreen; drawtext_fix(1,0.406,0.09,0,'市销率:'),colorligreen; drawtext_fix(1,0.406,0.13,0,'市净率:'),colorligreen; drawtext_fix(1,0.406,0.17,0,'毛利率:'),colorligreen; drawtext_fix(1,0.406,0.21,0,'净利润率:'),colorligreen; drawtext_fix(1,0.489,0.05,1,con2str(市盈率,2)),colorcyan; drawtext_fix(1,0.489,0.09,1,con2str(市销率,2)),colorcyan; drawtext_fix(1,0.489,0.13,1,con2str(市净率,2)),colorcyan; drawtext_fix(1,0.489,0.17,1,con2str(毛利率,2)),colorcyan; drawtext_fix(1,0.489,0.21,1,con2str(净利润率,2)),colorcyan; {{财务(4)} 经营现金流量:=finance(25)/10000; 资产负债率:=finance(9); 应收帐款:=finance(22)/10000; drawtext_fix(1,0.518,0.01,0,'财务资料(4):'),colorliblue; drawtext_fix(1,0.518,0.05,0,'资产负债率:'),colorligreen; drawtext_fix(1,0.636,0.05,1,strcat(con2str(资产负债率,2),' %')),colorcyan; drawtext_fix(1,0.518,0.09,0,strcat('经营现金流量:',strcat(var2str(经营现金流量,0),' 万元'))),colorwhite; drawtext_fix(1,0.518,0.13,0,strcat('应收帐款:',strcat(var2str(应收帐款,0),' 万元'))),colorwhite; 市值:=strcat(strcat(' 流通市值: ',con2str((capital/1000000)*c,2)),'亿元'); drawtext_fix(1,0.598,0.01,0,市值),color0080ff;{www.8-8-g-s.com} aaa5:=strcat('成交金额:',con2str(dynainfo(10)/100000000,2)); aaa6:=strcat('成交金额:',con2str(dynainfo(7)/100000000,2)),'亿元'; drawtext_fix(1,0.728,0.01,0,aaa5),coloryellow; drawtext_fix(1,0.818,0.01,0,aaa6),coloryellow; aaa7:=strcat('换手率:',con2str(dynainfo(37)*100,2)); aaa8:=strcat('成交金额:',con2str(dynainfo(7)/100000000,2)),'(%)'; drawtext_fix(1,0.868,0.01,0,aaa7),coloryellow; drawtext_fix(1,0.928,0.01,0,aaa8),coloryellow; {-----------------------------------------------------------------------------------------------------} {-----------------------------------------------------------------------------------------------------};
上一指标公式:牛股旋风斩 通达信旋风
下一指标公式:鬼财运 通达信财运
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文一目了然的K线主图 通达信了然仅供学习研究。