k线图叠加macd主图源码下载:
stickline(c>=o,c,o,3,0),color000045;
stickline(c>=o,c,o,2.5,0),color000065;
stickline(c>=o,c,o,2,0),color000085;
stickline(c>=o,c,o,1.5,0),color0000a5;
stickline(c>=o,c,o,1,0),color0000c5;
stickline(c>=o,c,o,0.5,0),color0000e5;
stickline(c>=o,h,l,0,0),color0000f5;
stickline(c<o,c,o,3,0),color353500;
stickline(c<o,c,o,2.5,0),color454500;
stickline(c<o,c,o,2,0),color555500;
stickline(c<o,c,o,1.5,0),color656500;
stickline(c<o,c,o,1,0),color757500;
stickline(c<o,c,o,0.5,0),color858500;
stickline(c<o,h,l,0,0),color959500;
ddif:ema(close,12)-ema(close,26),nodraw;
ddea:ema(ddif,9),nodraw;
dmacd:(ddif-ddea)*2,nodraw;
上市天数:=barscount(c); n:=if(上市天数<90,上市天数-1,90);
基点:=const(llv(l,n)); 基:=const(hhv(h,n))-基点;
分:=const(llv(ddif,n)); 百:=const(hhv(ddif,n))-分;
cc比:=(ddif-分)/百; xcx:=cc比*基+基点;
dif:=xcx; notextddif:dif,colorwhite;
dea:=ema(dif,9); notextddea:dea,coloryellow;
基准零线:=(0-分)/百*基+基点; notext基准零线:基准零线,pointdot,colorlired;
macd:=(dif-dea)*2;
stickline(macd>=0,基准零线,基准零线+macd,0,0),colorlired;
stickline(macd<0,基准零线,基准零线+macd,0,0),colorlicyan;
a1:=barslast(ref(cross(dif,dea),1));
底部结构:=ref(c,a1+1)>c and dif>ref(dif,a1+1) and cross(dif,dea);
drawline(a1=0,ref(dea,1),底部结构,ref(dea,a1+1),0),colormagenta,linethick1;
stickline(底部结构,dea,ref(dea,a1+1),0,0),colormagenta,linethick1;
drawtext(底部结构>0,ref(dea,a1+1),'底背离'),colormagenta;
a2:=barslast(ref(cross(dea,dif),1));
顶部结构:=ref(c,a2+1)<c and ref(dif,a2+1)>dif and cross(dea,dif);
drawline(a2=0,ref(dea,1),顶部结构,ref(dea,a2+1),0),colorgreen,linethick1;
stickline(顶部结构,dea,ref(dea,a2+1),0,0),colorgreen,linethick1;
drawtext(顶部结构>0,ref(dea,a2+1),'顶背离'),colorgreen;
市盈率1:=dynainfo(39);
营业收入:=finance(20)/10000;
销售毛利率:=((finance(20)-finance(21))/finance(20)*100);
净利润:=finance(30)/10000;
净利润比率:=(finance(30)/finance(20)*100);
主营利润率1:=(finance(23)/finance(20)*100);
优质资产率:=((finance(19)-finance(22)-finance(27))/finance(19));{理论上越大越好但不同行业有不同标准};{好公式网www.goodgongshi.com}
现金负债比:=(finance(25)/finance(15));{缺长期负债或负债总额,理论上越大越好但不同行业有不同标准};
净利同增率:=finance(43);
drawtext_fix(1,0.42,0.10,1,'市盈率:'),coloryellow;
drawtext_fix(1,0.42,0.15,1,'收入 万元:'),coloryellow;
drawtext_fix(1,0.42,0.20,1,'销售毛利率:'),coloryellow;
drawtext_fix(1,0.42,0.25,1,'净利 万元:'),coloryellow;
drawtext_fix(1,0.42,0.30,1,'净利润率 :'),coloryellow;
drawtext_fix(1,0.42,0.35,1,'主营利润率:'),coloryellow;
drawtext_fix(1,0.42,0.40,1,'优质资产率:'),coloryellow;
drawtext_fix(1,0.42,0.45,1,'现金负债比:'),coloryellow;
drawnumber_fix(1,0.47,0.10,1,市盈率1),colorwhite;
drawnumber_fix(1,0.47,0.15,1,营业收入),colorwhite;
drawnumber_fix(1,0.47,0.20,1,销售毛利率),colorwhite;
drawnumber_fix(1,0.47,0.25,1,净利润),colorwhite;
drawnumber_fix(1,0.47,0.30,1,净利润比率),colorwhite;
drawnumber_fix(1,0.47,0.35,1,主营利润率1),colorwhite;
drawnumber_fix(1,0.47,0.40,1,优质资产率),colorwhite;
drawnumber_fix(1,0.47,0.45,1,现金负债比),colorwhite;
市净率:=const(dynainfo(7) / finance(34));
营收同比增:=finance(44);
每股净资产:=finance(34);
每股收益季:=const(finance(33)/(5-finance(37)));
每股现金流:=const((finance(25)/finance(1)));
每股未分配:=const(finance(32));
每股公积金:=const(finance(18));
drawtext_fix(1,0.54,0.10,1,'市净率 :'),coloryellow;
drawtext_fix(1,0.54,0.15,1,'收入同比增 :'),coloryellow;
drawtext_fix(1,0.54,0.20,1,'每股净资产:'),coloryellow;
drawtext_fix(1,0.54,0.25,1,'净利同比增:'),coloryellow;
drawtext_fix(1,0.54,0.30,1,'每股收益季:'),coloryellow;
drawtext_fix(1,0.54,0.35,1,'每股现金流:'),coloryellow;
drawtext_fix(1,0.54,0.40,1,'每股未分配:'),coloryellow;
drawtext_fix(1,0.54,0.45,1,'每股公积金:'),coloryellow;
drawnumber_fix(1,0.57,0.10,1,市净率),colorwhite;
drawnumber_fix(1,0.57,0.15,1,营收同比增),colorwhite;
drawnumber_fix(1,0.57,0.20,1,每股净资产),colorwhite;
drawnumber_fix(1,0.57,0.25,1,净利同增率),colorwhite;
drawnumber_fix(1,0.57,0.30,1,每股收益季),colorwhite;
drawnumber_fix(1,0.57,0.35,1,每股现金流),colorwhite;
drawnumber_fix(1,0.57,0.40,1,每股未分配),colorwhite;
drawnumber_fix(1,0.57,0.45,1,每股公积金),colorwhite;
const(c),colorcyan,dotline;
上一指标公式:量堆主力准备副图下载
下一指标公式:游龙戏凤副图下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文K线图叠加MACD主图下载仅供学习研究。