{
参数:
highn:1,1000,10
lown:1,1000,10
lowdisplay:0.10,0
zgdisplay:0,10,0
madisplay:0,10,0
}
zb1:=ema(c,65);
zb2:ema(zb1,45),coloryellow;
aa:=ref(h,highn)=hhv(h,2*highn+1);
qy:=backset(aa,highn+1);
cc:=filter(qy,highn) and h=hhv(h,highn+1);
drawicon(cc,h*1.02,2);
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) colorgreen,linethick2;
drawline(currbarscount=gdcs2,h,islastbar,ref(h,gdcs2-1),1),color0055ff,pointdot;
drawline(currbarscount=gdcs1,h,islastbar,ref(h,gdcs1-1),1),coloryellow,pointdot;
aa1:=ref(l,lown)=llv(l,2*lown+1);
qy1:=backset(aa1,lown+1);
cc1:=filter(qy1,lown) and l=llv(l,lown+1);
drawicon(cc1,l*0.98,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,linethick2;
zgstar:=(高点压力+低点支撑)/2;
zgend:=const((高点压力+低点支撑)/2);
starday:=if(ddcs2<gdcs2,ddcs2,gdcs2);
中轨:drawline(currbarscount=starday,zgstar,islastbar,zgend,1),colorff55bb,linethick2;
drawline(currbarscount=ddcs1,l,islastbar,ref(l,ddcs1-1),1),colormagenta,pointdot,;
drawline(currbarscount=ddcs2,l,islastbar,ref(l,ddcs2-1),1),colorcyan,pointdot;
ema13:=ema(c,13),colorwhite;
ema21:=ema(c,21),coloryellow;
ema34:=ema(c,34),colorff00ff;
ema60:=ma(c,60),colorffcc66;
var2:=(2*close+high+low)/4;
var3:=if(year>=2099 and month>2,0,1);
var4:=llv(low,5); var5:=hhv(high,4);
散户:=ema((var2-var4)/(var5-var4)*100,4)*var3;
庄家:=ema(0.667*ref(散户,1)+0.333*散户,2)*var3;
drawtext(cross(散户,庄家) and 散户<30,l-0.05,'←低吸'),colorlired;
drawtext(cross(庄家,散户) and 散户>70,h+0.05,'←高抛'),colorgreen;
drawicon(cross(散户,庄家) and 散户<30,l-0.05,1);
drawicon(cross(庄家,散户) and 散户>70,h+0.05,2);
var9:=close-ref(close,5);
vara:=ema(ema(var9,5),5)/ema(ema(abs(var9),5),5);
varc:=ema(ema(var9,20),20)/ema(ema(abs(var9),20),20);
卖出:=if(vara>0 and cross(varc,vara),90,100);
drawicon(卖出<0,h+0.05,2); 买线:=ema(close,2);
卖线:=ema(slope(close,21)*20+close,42);
b1:if(cross(买线,卖线),l-0.02,drawnull),crossdot,linethick3,colormagenta;
s1:if(cross(80,rsi)*30,h+0.02,drawnull),crossdot,linethick3,coloryellow;
vc:=((close-ma(close,6))/ma(close,6)*100+(close-ma(close,24))/ma(close,24)*100+(close-ma (close,32))/ma(close,32)*100)/3;
s2:=if(vc>20 and filter(vc< ref(vc,1),5),h+0.02,drawnull),circledot,linethick3,colorgreen;
a0:=(l+h+c*2)/4;
a1:ema(a0,14)colorblue,linethick2;
a2:=ema(a0,25)colorliblue,linethick2;
a1x:=(a1-ref(a1,1))/ref(a1,1)*100,nodraw;
a2x:=(a2-ref(a2,1))/ref(a2,1)*100,nodraw;
看多:if(a1x>=0 and barslast(cross(a1x,0))>0,ref((c+o)/2,barslast(cross(a1x,0))),drawnull),colormagenta{,linethick2};
逃顶:if(a1x<0 and barslast(cross(0,a1x))>0,ref((c+o)/2,barslast(cross(0,a1x))),drawnull),colorcyan,{linethick2};
买入持股:if(a1x>=0,a1,drawnull)colorred,linethick3;
卖出空仓:if(a1x<0 and a2x<0,a1,drawnull)colorgreen,linethick3;
stickline(cross(a1x,0),h,l,0,0 ),color9933ff;
stickline(cross(a1x,0),c,o,3,0 ),color0000cc;
stickline(cross(a1x,0),c,o,1,0 ),color0033ff;
stickline(cross(0,a1x),l,h,0,0 ),color66cc33;
上一指标公式:风雷九州风险区安全区强弱线指标详解 通达信风雷强弱
下一指标公式:貌似很绝密的主图指标详解 通达信绝密
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文超赢画线指标详解 通达信画线仅供学习研究。