{参数,,,,省略}
bs:1,nodraw;
ma1:ma(close,m1)colorwhite,linethick1;
ma2:ma(close,m2)coloryellow,linethick1;
ma3:ma(close,m3)colormagenta,linethick2;
ma4:ma(close,m4)colorgreen,linethick2;
cc:if(currbarscount<18,const(ref(c,1)),drawnull),colormagenta;
止赢:1.05*cc,color8000ff;
止损:0.97*cc,color00f000;
v1:=abs((2*close+high+low)/4-ma(close,20))/ma(close,20);
v2:=(1-7/100)*(dma(close,v1));
v3:=(1+7/100)*(dma(close,v1));
v5:=ma((low+high+close)/3,5);
支撑:refdate(v2,date),dotline,linethick1,colorff0080;
阻力:refdate(v3,date),dotline,linethick1,color676767;
aaa:=const(hhv(h*0.5,90));
aa:=(ref(close,1)+ref(close,2)+open)/3;
drawtext_fix(currbarscount=1,0.8,0.05,1,'今日保护价'),linethick2,color00ffff;
drawnumber_fix(currbarscount=1,0.84,0.05,1,aa);
drawtext_fix(currbarscount=1,0.86,0.05,1,'元');
pt:=ref(h,1)-ref(l,1);
cdp:=(ref(h,1)+ref(l,1)+ref(c,1)*2)/4;
ah:=cdp+pt;
al:=cdp-pt;
nh:=cdp*2-ref(l,1);
nl:=cdp*2-ref(h,1);
强:if(ah>ref(c,1)*1.1,ref(c,1)*1.1,ah)nodraw;
阻:if(nh>强,(强-cdp)*0.618+cdp,nh)nodraw,colorblue;
m:=if(al<ref(c,1)/1.1,ref(c,1)/1.1,al);
撑:if(nl<m,cdp-(cdp-m)*0.618,nl)nodraw;
底:if(al<ref(c,1)/1.1,ref(c,1)/1.1,al)nodraw;
总股本:=strcat(strcat('总股本: ',con2str(totalcapital/1000000,2)),'亿')*财务数据;
流通盘:=strcat(strcat(' 流通盘: ',con2str(capital/1000000,2)),'亿')*财务数据;
全流通:=strcat(' 全流通: ',con2str((capital/1000000)/(totalcapital/1000000),2))*财务数据;
市值:=strcat(strcat(' 流通市值: ',con2str((capital/1000000)*c,2)),'亿')*财务数据;
上市天数:=strcat(' 上市天数: ',con2str(finance(42),0))*财务数据;
股本市值:=strcat('股本市值: ',strcat(strcat(strcat(strcat(总股本,流通盘),全流通),市值),上市天数))*财务数据;
市盈率:=strcat('市盈率: ',con2str(c/finance(33),2))*财务数据;
市销率:=strcat(' 市销率: ',con2str(c/(finance(20)/finance(1)),2))*财务数据;
市净率:=strcat(' 市净率: ',con2str(c/finance(34),2))*财务数据;
净资收益率:=strcat(' 净资收益率: ',con2str(finance(33)/finance(34)*100,2))*财务数据;
毛利率:=strcat(' 毛利率: ',con2str((finance(20)-finance(21))/finance(20)*100,2))*财务数据;
净利润率:=strcat(' 净利润率 ',con2str(finance(30)/finance(20)*100,2))*财务数据;
主营利润率:=strcat(' 主营利润率 ',con2str(finance(23)/finance(20)*100,2))*财务数据;
当前业绩:=strcat('当前业绩: ',strcat(strcat(strcat(strcat(strcat(strcat(市盈率,市销率),市净率),净资收益率),毛利率),净利润率),主营利润率))*财务数据;
x1:=(finance(11)-finance(15))/finance(10)*1.2;
x2:=(finance(31)+finance(17))/finance(10)*1.4;
x3:=finance(23)/finance(10)*3.3;
x4:=finance(19)/finance(15)*0.6;
x5:=finance(20)/finance(15)*0.999;
z值:=x1+x2+x3+x4+x5;
预警:=if(z值<1.2,'重警',if(z值>=1.2 and z值<2.6,'轻警','无警'))*财务数据;
财务预警:=strcat('财务预警: ',strcat(预警,strcat('-z值: ',con2str(z值,3))))*财务数据;
优质资产率:=strcat(' 优质资产率: ',con2str((finance(19)-finance(22)-finance(27))/finance(19),2))*财务数据;
现金负债比:=strcat(' 现金负债比: ',con2str(finance(25)/finance(15),3))*财务数据;
财务系数:=strcat('风险系数: ',strcat(strcat(财务预警,优质资产率),现金负债比))*财务数据;
drawtext_fix(islastbar,0.00,0.12,0,股本市值),colorgreen;
drawtext_fix(islastbar,0.00,0.18,0,当前业绩),colorgreen;
drawtext_fix(islastbar,0.00,0.24,0,财务系数),colorgreen;
drawtext_fix(1,0.00,0,0,'所属地区:')color00ffff;
drawtext_fix(1,0.07,0,0,dyblock)color00ffff;
drawtext_fix(1,0.00,0.06,0,'所属行业:')colorff00ff;
drawtext_fix(1,0.07,0.06,0,hyblock)colorff00ff;
今日保护价:(ref(c,2)+ref(c,1)+o)/3 ,colorcc3299,nodraw;
顶点:if(currbarscount<=60, const(if(islastbar=1,hhv(h, barslast(currbarscount=60)),1)),drawnull),colorred,dotline;
低点:if(currbarscount<=60, const(if(islastbar=1,llv(l, barslast(currbarscount=60)),1)),drawnull),colormagenta,dotline;
drawtext(islastbar,顶点,'顶点'),colorred;
drawtext(islastbar,低点,'低点'),colormagenta;
ma7:=ma(close,bs);
转强:=(6*h+5*ref(h,1)+4*ref(h,2)+3*ref(h,3)+2*ref(h,4)+1*ref(h,5))/(6+5+4+3+2+1);
转弱:=(6*l+5*ref(l,1)+4*ref(l,2)+3*ref(l,3)+2*ref(l,4)+1*ref(l,5))/(6+5+4+3+2+1);
bb2:=if(c>ref(转强,1),1,if(c<ref(转弱,1),-1,0));
dd2:=barslast(not(bb2=0));
b:=if(bb2=0,ref(bb2,dd2),bb2);
中短:=if(b=-1,ma(high,6),ma(low,6));
stickline(ma7<中短,low,high,0,1),colorcyan;
stickline(ma7>中短,low,high,0,1),colorred;
stickline(((open>close)and(ma7<中短)),(close-0.003),open,3.1,0),colorliblue;
stickline(((open<close)and(ma7<中短)),close,open,3.1,1),colorcyan;
stickline(((open>close)and(ma7>中短)),open,(close-0.003),3.1,0),colorred;
stickline(((open<close)and(ma7>中短)),open,close,3.1,1),colorred;
b点:cross(ma7,中短),colorred,nodraw;
持股:ma7>中短,colorred,nodraw;
drawicon(cross(ma7,中短),l,7);
drawicon(cross(中短,ma7),h,8);
超b:=l2_amo(0,2)/10000.0;
大b:=l2_amo(1,2)/10000.0;
中b:=l2_amo(2,2)/10000.0;
小b:=l2_amo(3,2)/10000.0;
超s:=l2_amo(0,3)/10000.0;
大s:=l2_amo(1,3)/10000.0;
中s:=l2_amo(2,3)/10000.0;
小s:=l2_amo(3,3)/10000.0;
testskip(not(超b or 大b or 中b or 小b or 超s or 大s or 中s or 小s)!=0);
大宗进:=(超b)+(大b),nodraw;
大宗出:=(超s)+(大s),nodraw;
非大宗进:=(中b)+(小b),nodraw;
非大宗出:=(中s)+(小s),nodraw;
dazhiv:=const(max(abs(大宗进),max(abs(大宗出),max(abs(非大宗进),abs(非大宗出))))),nodraw;
drawrectrel(0,const(950-(abs(大宗进)*250/dazhiv))-20,30,950,if(const(大宗进>0),rgb(255,0,0),rgb(23,125,255)));
drawrectrel(32,const(950-(abs(大宗出)*250/dazhiv))-20,62,950,if(const(大宗出>0),rgb(23,125,255),rgb(255,0,0)));
drawrectrel(92,const(950-(abs(非大宗进)*250/dazhiv))-20,122,950,if(const(非大宗进>0),rgb(255,0,0),rgb(23,125,255)));
drawrectrel(124,const(950-(abs(非大宗出)*250/dazhiv))-20,154,950,if(const(非大宗出>0),rgb(23,125,255),rgb(255,0,0)));
drawtext_fix(currbarscount=1,0.015,1,0,'主力进出'),colormagenta;
drawtext_fix(currbarscount=1,0.107,1,0,'散户进出'),colorcyan;
上一指标公式:找底一绝买进堪称一绝地狱底指标下载 通达信买进堪称
下一指标公式:波段绝品 通达信绝品
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文BS决策 通达信决策仅供学习研究。