da1:=if(130>totalbarscount,totalbarscount,130);
da:=if(currbarscount>da1,0,da1);
hi:=refdate(hhv(h,da),date);
lo:=refdate(llv(l,da),date);
c1:=if(currbarscount<=da,c,drawnull);
gz:=exp(ln(hi/lo)/10);
{好公式网-最好的股票公式网站 www.goodgongshi.com}
lh1:=sum(if(c1>=(hi/gz),v,0),da);
lh2:=sum(if(c1>=(hi/pow(gz,2)) and c1<(hi/gz),v,0),da);
lh3:=sum(if(c1>=(hi/pow(gz,3)) and c1<(hi/pow(gz,2)),v,0),da);
lh4:=sum(if(c1>=(hi/pow(gz,4)) and c1<(hi/pow(gz,3)),v,0),da);
lh5:=sum(if(c1>=(hi/pow(gz,5)) and c1<(hi/pow(gz,4)),v,0),da);
lh6:=sum(if(c1>=(hi/pow(gz,6)) and c1<(hi/pow(gz,5)),v,0),da);
lh7:=sum(if(c1>=(hi/pow(gz,7)) and c1<(hi/pow(gz,6)),v,0),da);
lh8:=sum(if(c1>=(hi/pow(gz,8)) and c1<(hi/pow(gz,7)),v,0),da);
lh9:=sum(if(c1>=(lo*gz) and c1<lo*pow(gz,2),v,0),da);
lh10:=sum(if(c1>=lo and c1<lo*gz,v,0),da);
l1:=refdate(hhv(lh1,da),date),linethick0;
l2:=refdate(hhv(lh2,da),date),linethick0;
l3:=refdate(hhv(lh3,da),date),linethick0;
l4:=refdate(hhv(lh4,da),date);
l5:=refdate(hhv(lh5,da),date);
l6:=refdate(hhv(lh6,da),date);
l7:=refdate(hhv(lh7,da),date);
l8:=refdate(hhv(lh8,da),date);
l9:=refdate(hhv(lh9,da),date);
l10:=refdate(hhv(lh10,da),date);
ss:=(l1+l2+l3+l4+l5+l6+l7+l8+l9+l10);
stickline(ceiling(da*l1/ss)*3>=currbarscount,hi*99/100,hi/gz,9,0)color3c3c3a,linethick3;
stickline(ceiling(da*l2/ss)*3>=currbarscount,hi/pow(gz,1)*99/100,hi/pow(gz,2),9,0)color3c3c3a,linethick3;
stickline(ceiling(da*l3/ss)*3>=currbarscount,hi/pow(gz,2)*99/100,hi/pow(gz,3),9,0)color3c3c3a,linethick3;
stickline(ceiling(da*l4/ss)*3>=currbarscount,hi/pow(gz,3)*99/100,hi/pow(gz,4),9,0)color3c3c3a,linethick3;
stickline(ceiling(da*l5/ss)*3>=currbarscount,hi/pow(gz,4)*99/100,hi/pow(gz,5),9,0)color3c3c3a,linethick3;
stickline(ceiling(da*l6/ss)*3>=currbarscount,hi/pow(gz,5)*99/100,hi/pow(gz,6),9,0)color3c3c3a,linethick3;
stickline(ceiling(da*l7/ss)*3>=currbarscount,hi/pow(gz,6)*99/100,hi/pow(gz,7),9,0)color3c3c3a,linethick3;
市场成本:(cost(25)+cost(75)+ cost(11)+cost(21)+cost(46)+cost(96))/6,pointdot,linethick4,colorwhite;
主力成本0:cost(5),pointdot,linethick4,colorblue;
二分位:(h+l)/2 ,linethick4,colorred,pointdot;
【h】:hhv(high,10),linethick2,colorgray,nodraw;
【l】:llv(low,10),linethick2,colorgray,nodraw;
ll1:llv(close,20),linethick2,colorblue;
hh1:hhv(close,21),linethick2,colorblue;
箱体中轨:(ll1+hh1)/2,colorblue;
llv(close,8),linethick1,colorwhite;
rsv:=(close-llv(low,10))/(hhv(high,10)-llv(low,10))*100;
k:=sma(rsv,5,1);
d:=sma(k,5,1);
j:=3*k-2*d;
x:=ref(j,1)<10 and h>ref(h,1) and c>ref(c,1) and c>ref(o,1) and l>ref(l,1);
stickline(x,l ,l,20,0),color008888;
stickline(x,l ,h,0,0),colorff00ff;
stickline(x,c ,o,2,0),colorff00ff;
rsv0:=(close-llv(low,34))/(hhv(high,34)-llv(low,34))*100;
k0:=sma(rsv0,5,1);
d0:=sma(k0,5,1);
j0:=3*k0-2*d0;
x0:=ref(j0,1)>90 and h>ref(h,1) and c>ref(c,1) and c>ref(o,1) and l>ref(l,1);
stickline(x0,l ,l,20,0),color008888;
stickline(x0,l ,h,0,0),colorwhite;
stickline(x0,c ,o,1,0),colorwhite;
aaf:llv(low,34),linethick1,colorffffcc;
bbf:ma(aaf,4),linethick1,coloryellow;
lc:=ref(close,1);
rsi:=((sma(max((close - lc),0),3,1) / sma(abs((close - lc)),3,1)) * 100);
ff:=ema(close,3);
ma15:=ema(close,21);
drawtext(cross(ff,ma15),bbf,'底背离'),colorffff00;
drawtext(cross(88,rsi),(high*1.02),'顶背离'),color0000ff;
xa:=(c+l+h)/3;
bb13:=atan(ema(xa,13)-ref(ema(xa,13),1))*3.1416*10;
ema8:=ema(c,8);
drawtext(filter(bb13>1 and ema(xa,13)>ref(ema(xa,8),1),10),
ema8,'∠45'),colorwhite;
x1:=(close+low+high)/3;
x2:=ema(x1,6);
x3:=ema(x2,5);
stickline(cross(x2,x3),open,close,2,0),colorbrown;
rsv1:=(close-llv(low,10))/(hhv(high,10)-llv(low,10))*100;
k1:=sma(rsv1,5,1);
d1:=sma(k1,5,1);
x8:=ref(k1,1)>80 and h>ref(h,1) and c>ref(c,1) and c>ref(o,1) and l>ref(l,1);
stickline(x8,c ,o,2,0),color1880ff;
stickline(x8,l ,h,0,0),color1880ff;
stickline(x8,l ,l,20,0),color1880ff;
aa1:=amount/v;
bb1:=l<aa1*0.9;
cc1:=(c-ref(c,1))/ref(c,1)*100>1.2;
dd1:=l<ma(c,5)*0.921;
ee1:=v<ma(v,5)*1.5;
老鼠仓:=bb1 and cc1 and dd1 and ee1,linethick0;
drawtext(老鼠仓,(low* 0.99),'老鼠仓'),coloryellow;
drawtext(llv(vol,13)=vol and c>=ref(c,1),o,'缩量'),coloryellow;
aa0:=sumbars(vol,capital);
drawtext(if(capital=0,amount=llv(amount,34),vol<ma(vol,aa0)/3),l,'地量'),colorwhite;
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;
drawicon(cross(散户,庄家) and 散户<10,l-0.05,1);
drawicon(cross(庄家,散户) and 散户>20,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,10),10)/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,11)*10+close,22);
b1:if(cross(买线,卖线),l-0.05,drawnull),crossdot,linethick3,colormagenta;
s1:if(cross(20,rsi)*10,h+0.05,drawnull),crossdot,linethick3,coloryellow;
vc:=((close-ma(close,5))/ma(close,5)*100+(close-ma(close,20))/ma(close,20)*100+(close-ma (close,32))/ma(close,32)*100)/3;
s2:=if(vc>20 and filter(vc< ref(vc,1),5),h+0.05,drawnull),circledot,linethick3,colorgreen;
a0:=(l+h+c*2)/4;
a1:ema(a0,5)colorblue,linethick2;
a2:=ema(a0,10)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;
上一指标公式:飞龙第三卦指标详解 通达信飞龙
下一指标公式:底部将成送给喜欢抄底的朋友副图指标详解 通达信将成源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文再次分享一个老师们的指标详解 通达信再次指标仅供学习研究。