drawband(ma(c,60),rgb(200,0,0) ,ma(c,120),rgb(0,90,0));
ma1:ma(close,5);
ma2:ma(close,10);
ma3:ma(close,20);
ma4:ma(close,30);
ma5:ma(close,60),linethick3;
ma6:ma(close,120),linethick4;
ma7:ma(close,250),linethick5;
n1:=20;
n2:=10;
n3:=5;
{}
aa:=ref(h,n1)=hhv(h,2*n1+1);
qy:=backset(aa,n1+1);
cc:=filter(qy,n1) and h=hhv(h,n1+1);
ddd:=barslast(cc);
gdts:=if(cc,currbarscount,0);
dingbu:=if(ddd,ref(h,ddd),h);{顶部}
dingbuts:=if(ddd,ref(gdts,ddd),gdts);
dingbu1:=ref(dingbu,ddd+1);
gdcs1:=const(dingbuts);
dingbuts1:=ref(dingbuts,ddd+1);
gdcs2:=const(dingbuts1);
dingbu2:=ref(dingbu1,ddd+1);
mm:=if(currbarscount>gdcs2,0,1);
高点压力:drawline(currbarscount=gdcs2,h,currbarscount=gdcs1,h,1) colorred;
drawline(currbarscount=gdcs2,h,islastbar,ref(h,gdcs2-1),1),color0055ff,pointdot,linethick2;
drawline(currbarscount=gdcs1,h,islastbar,ref(h,gdcs1-1),1),coloryellow,pointdot,linethick2;
aa1:=ref(l,n1)=llv(l,2*n1+1);
qy1:=backset(aa1,n1+1);
cc1:=filter(qy1,n1) and l=llv(l,n1+1);
dd1:=barslast(cc1);{www.goodgongshi.com}
ddts:=if(cc1,currbarscount,0);
ydb:=if(dd1,ref(l,dd1),l);
ddts1:=if(dd1,ref(ddts,dd1),ddts);
ddcs1:=const(ddts1);
zdb:=ref(ydb,dd1+1);
ddts2:=ref(ddts1,dd1+1);
ddcs2:=const(ddts2);
低点支撑:drawline(currbarscount=ddcs2,l,currbarscount=ddcs1,l,1) colorred;
drawline(currbarscount=ddcs2,l,islastbar,ref(l,ddcs2-1),1),color0055ff,pointdot,linethick2;
drawline(currbarscount=ddcs1,l,islastbar,ref(l,ddcs1-1),1),coloryellow,pointdot,linethick2;
laa:=ref(h,n2)=hhv(h,2*n2+1);
lqy:=backset(laa,n2+1);
lcc:=filter(lqy,n2) and h=hhv(h,n2+1);
lddd:=barslast(lcc);
lgdts:=if(lcc,currbarscount,0);
ldingbu:=if(lddd,ref(h,lddd),h);{顶部}
ldingbuts:=if(lddd,ref(lgdts,lddd),lgdts);
ldingbu1:=ref(ldingbu,lddd+1);
lgdcs1:=const(ldingbuts);
ldingbuts1:=ref(ldingbuts,lddd+1);
lgdcs2:=const(ldingbuts1);
ldingbu2:=ref(ldingbu1,lddd+1);
lmm:=if(currbarscount>lgdcs2,0,1);
压力:drawline(currbarscount=lgdcs2,h,currbarscount=lgdcs1,h,1) colorwhite;
drawline(currbarscount=lgdcs2,h,islastbar,ref(h,lgdcs2-1),1),color0055ff,pointdot;
drawline(currbarscount=lgdcs1,h,islastbar,ref(h,lgdcs1-1),1),coloryellow,pointdot;
laa1:=ref(l,n2)=llv(l,2*n2+1);
lqy1:=backset(laa1,n2+1);
lcc1:=filter(lqy1,n2) and l=llv(l,n2+1);
ldd1:=barslast(lcc1);
lddts:=if(lcc1,currbarscount,0);
lydb:=if(ldd1,ref(l,ldd1),l);
lddts1:=if(ldd1,ref(lddts,ldd1),lddts);
lddcs1:=const(lddts1);
lzdb:=ref(lydb,ldd1+1);
lddts2:=ref(lddts1,dd1+1);
lddcs2:=const(lddts2);
支撑:drawline(currbarscount=lddcs2,l,currbarscount=lddcs1,l,1) colorwhite;
zgstar:=(压力+支撑)/2;
zgend:=const((压力+支撑)/2);
starday:=if(ddcs2<gdcs2,ddcs2,gdcs2);
llaa:=ref(h,n3)=hhv(h,2*n3+1);
llqy:=backset(llaa,n3+1);
llcc:=filter(llqy,n3) and h=hhv(h,n3+1);
llddd:=barslast(llcc);
llgdts:=if(llcc,currbarscount,0);
lldingbu:=if(llddd,ref(h,llddd),h);{顶部}
lldingbuts:=if(llddd,ref(llgdts,llddd),llgdts);
lldingbu1:=ref(lldingbu,llddd+1);
llgdcs1:=const(lldingbuts);
lldingbuts1:=ref(lldingbuts,llddd+1);
llgdcs2:=const(lldingbuts1);
lldingbu2:=ref(lldingbu1,llddd+1);
llmm:=if(currbarscount>lgdcs2,0,1);
l压力:drawline(currbarscount=llgdcs2,h,currbarscount=llgdcs1,h,1) coloryellow;
drawline(currbarscount=llgdcs2,h,islastbar,ref(h,llgdcs2-1),1),color0055ff,pointdot;
drawline(currbarscount=llgdcs1,h,islastbar,ref(h,llgdcs1-1),1),coloryellow,pointdot;
llaa1:=ref(l,n3)=llv(l,2*n3+1);
llqy1:=backset(llaa1,n3+1);
llcc1:=filter(llqy1,n3) and l=llv(l,n3+1);
lldd1:=barslast(lcc1);
llddts:=if(llcc1,currbarscount,0);
llydb:=if(lldd1,ref(l,lldd1),l);
llddts1:=if(lldd1,ref(llddts,lldd1),lddts);
llddcs1:=const(llddts1);
llzdb:=ref(llydb,lldd1+1);
llddts2:=ref(llddts1,dd1+1);
llddcs2:=const(llddts2);
l支撑:drawline(currbarscount=llddcs2,l,currbarscount=llddcs1,l,1) coloryellow;
lzgstar:=(l压力+l支撑)/2;
lzgend:=const((l压力+l支撑)/2);
lstarday:=if(llddcs2<llgdcs2,llddcs2,llgdcs2);
l中轨:drawline(currbarscount=lstarday,lzgstar,islastbar,lzgend,1),coloryellow;
中轨:drawline(currbarscount=starday,zgstar,islastbar,zgend,1),colorwhite;
主力线:=ema(c,3),colorwhite;
跟随主力线:=ema(c,5),coloryellow;
辅助主力线:=ema(c,7),colorbrown;
短线回踩支撑:=ema(c,10),colorligreen;
启动线:=ema(c,20),colorred,linethick2;
ss:=cross(主力线,跟随主力线) and c>o and c>ref(c,1) and c/ref(c,1)>=1.018
or cross(跟随主力线,辅助主力线) and c>o and c>ref(c,1) and c/ref(c,1)>=1.018
or cross(跟随主力线,短线回踩支撑) and c>o and c>ref(c,1) and c/ref(c,1)>=1.018
or cross(主力线,辅助主力线) and c>o and c>ref(c,1) and c/ref(c,1)>=1.018
or cross(主力线,短线回踩支撑) and c>o and c>ref(c,1) and c/ref(c,1)>=1.018
or cross(跟随主力线,辅助主力线) and c>o and c>ref(c,1) and c/ref(c,1)>=1.018
or cross(跟随主力线,启动线) and c>o and c>ref(c,1) and c/ref(c,1)>=1.018
or cross(辅助主力线,短线回踩支撑) and c>o and c>ref(c,1) and c/ref(c,1)>=1.018
or cross(跟随主力线,启动线) and c>o and c>ref(c,1) and c/ref(c,1)>=1.018 and cross(主力线,启动线);
drawtext(ss,l-0.5,'买入'),colormagenta;
drawicon(ss,l-0.3,1);
boll:=ma(c,20);
upper:=boll+2*std(c,20);
lower:=boll-2*std(c,20);
大黑马:=cross(c,upper) and c/ref(c,1)>1.05,colorred;
drawtext(大黑马 and c>ma(c,60) and c>ma(c,90) and c>ma(c,120) and c>ma(c,250),h*1.03,'敢死队'),coloryellow;
总股本:=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(' 上市日期: ',con2str(hhv((barscount(c)=0)*(date+19000000),0),0));
股本市值:=strcat('股本市值: ',strcat(strcat(strcat(strcat(总股本,流通盘),全流通),市值),上市天数));
drawtext_fix(islastbar,0.00,0.00,0,股本市值),colorgreen;
drawtext_fix(islastbar,0.00,0.10,0,'所属板块:'),colorff6000;
drawtext_fix(1,0.11,0.10,0,hyblock),colorred;
drawtext_fix(1,0.21,0.10,0,dyblock),coloryellow;
drawtext_fix(1,0.31,0.10,0,'每股收益(元):'),color0080ff;
drawnumber_fix(1,0.44,0.10,0,const(finance(33))),color0080ff;
drawkline(high,open,low,close);
a51:=close/ref(close,1)>=1.09 or close/open>=1.1;
stickline(a51,close,open,0.8,0),colorred;
上一指标公式:金牛出击公式下载 通达信金牛
下一指标公式:妖股爆涨因子公式下载 通达信因子
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文自动趋势线公式下载 通达信趋势仅供学习研究。