资金动能:
volume:vol/2.9,volstick;
n:=5;
jj:=(high+low+close)/3;
qj0:=vol/if(high=low,4,high-low);
qj1:=if(capital=0,qj0*(jj-min(close,open)),qj0*if(high=low,1,(min(open,close)-low)));
qj2:=if(capital=0,qj0*(min(open,close)-low),qj0*if(high=low,1,(jj-min(close,open))));
qj3:=if(capital=0,qj0*(high-max(open,close)),qj0*if(high=low,1,(high-max(open,close))));
qj4:=if(capital=0,qj0*(max(close,open)-jj),qj0*if(high=low,1,(max(close,open)-jj)));
ddx:10000*if(((qj1+qj2)-(qj3+qj4))/if(capital=0,1000000,10000)>0,
((qj1+qj2)-(qj3+qj4))/if(capital=0,1000000,10000),
-((qj1+qj2)-(qj3+qj4))/if(capital=0,1000000,10000)),colorred,nodraw;
aabb:=((qj1+qj2)-(qj3+qj4))/if(capital=0,1000000,10000);
stickline(((qj1+qj2)-(qj3+qj4))/if(capital=0,1000000,10000)>0,0,ddx,1.5,0),colorlired;
stickline((aabb*10000/volume)>0.6,0,ddx,1.5,0),colorred;
stickline(((qj1+qj2)-(qj3+qj4))/if(capital=0,1000000,10000)<0,0,ddx,1.5,0),color00cc00;
stickline(((qj1+qj2)-(qj3+qj4))/if(capital=0,1000000,10000)<0,0,ddx,1,0),color00ee00;
三十天红:count(aabb>=0,30),colorred,nodraw;
六十天红:count(aabb>=0,60),colorred,nodraw;
v5:ma(volume,5),colorwhite;
v35:ma(volume,35),coloryellow;
v135:ma(volume,135),colorff00ff;
{}
ttt:=const(hhv(volume,60));
drawtext(currbarscount=40,ttt,'ddx大单进红色'),colorred;
drawtext(currbarscount=30,ttt,'ddx大单出绿色'),colorgreen;
低量:drawtext(vol<llv(ref(vol,1),45) and vol>llv(ref(vol,1),135),v35,'低'),coloryellow;
地量:drawtext(vol<llv(ref(vol,1),135),v5,'地'),colorgreen;
{}
d:= ema((close-llv(low,30))/(hhv(high,30)-llv(low,30))*100,20);
j:= ema((close-llv(low,30))/(hhv(high,30)-llv(low,30))*100,5) ;
bias1w :=(close-ma(close,6))/ma(close,6)*100;
bias2w :=(close-ma(close,12))/ma(close,12)*100;
bias3w :=(close-ma(close,24))/ma(close,24)*100;
mm:=(bias1w+2*bias2w+3*bias3w)/6;
mn:=ma(mm,3);
var1:=(hhv(high,24)-close)/(hhv(high,24)-llv(low,24))*100;
var2:=(close-llv(low,18))/(hhv(high,18)-llv(low,18))*100;
var3:=(2*close+high+low)/4;
var4:=llv(low,26);
var5:=hhv(high,34);
var6:=ema((var3-var4)/(var5-var4)*100,16);
var7:=sma((sma(var2,3,1)+3),3,1),linethick3;
var8:=ema(var6,7);
var9:=sma(var1,3,1);
var10:=(close-ma(close,6))/ma(close,6)*100;
var11:=(close-ma(close,24))/ma(close,24)*100;
var12:=(close-ma(close,32))/ma(close,32)*100;
var13:=(var10+var11+var12)/3;
var14:=if(var13<=-20,10,0);
var15:=hhv(var14,10);
var24:=llv(low,36);
var25:=hhv(high,30);
var26:=ema((close-var24)/(var25-var24)*4,4)*25;
底背离: if((var26<10),v135*1.1,0), colorred,linethick2;
顶背离: if((var26>90),v135,0), colorgreen,linethick2;
地量1:if(cross(0.9,1/vol*1000>0.01and "kdj.j"<0),v5,0),coloryellow,linethick2;
{}
股价趋势:= 3*sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,5,1)-2*sma(sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,5,1),3,1);
底部警戒:=10,colorred,linethick2;
底1:=cross(股价趋势,底部警戒);
a1:=(2*close+high+low)/4;
a2:=llv(low,27);
a3:=hhv(high,27);
a4:=ema((a1-a2)/(a3-a2)*100,13);
a5:=ema(0.618*ref(a4,1)+0.382*a4,3);
底2:=cross(a4,a5) and a4<16;
波底:=底1 and 底2;
{牛年奔牛}
varc2:=(close-llv(low,20))/(hhv(high,20)-llv(low,20))*100;
varc3:=sma(sma(varc2,3,1),3,1)/28.57;
varc4:=ema(varc3,5);
varc5:=3*varc3-2*varc4;
牛:=cross(varc5,varc3) and varc3<2.1 and c>o;
{突破与破位}
varb1:=hhv(high,19);
varb2:=llv(low,19);
阻力线:=ema((close-varb2)/(varb1-varb2),21)-0.5;
操作线:=ema((close-varb2)/(varb1-varb2),5)-0.5;
突破:=cross(操作线,阻力线) and 阻力线<0.1;
破位:=cross(阻力线,操作线) and 阻力线>0.25;
{立桩成立判断}
v2:=if(currbarscount=1,vol*240/fromopen/ref(vol,1)-1,vol/ref(vol,1)-1);
t12:=v2>=1;
t0:=barslast(t12);
l1:=ref(l,t0);
h1:=ref(h,t0);
l11:=min(ref(l,1),l);
l10:=min(l11,ref(l,2));
l21:=max(ref(l,1),l);
l20:=max(l21,ref(l,2));
t111:=(ref(v2>=1,3) or ref(v2>=1,2) or ref(v2>=1,1)) and
((l10>l1 and l20>h1) or (l11>l1 and l21>h1) or (l>h1));
t11:=t111 and ref(t111,1)=0;
{彩色成交量柱线}
stickline(v2>=1,0,volume*0.5,1,0),coloryellow;
stickline(波底,0,volume,1,0),colormagenta;
drawtext(波底,volume*0.8,'底'),colorwhite;
drawicon(波底,volume*1.1,5);
stickline(牛,0,volume,1,0),colorred;
drawtext(牛,volume*1.15,'牛'),colorwhite;
stickline(突破,0,volume,1,0),colorblue;
drawtext(突破,volume*0.5,'突破'),colorwhite;
drawicon(突破,volume*1.2,1);
stickline(破位,0,volume,0.5,0),colorbrown;
drawtext(破位,volume*0.5,'破位'),colorblue;
drawicon(破位,volume*1.05,2);
{}
bnb:=ema(if(l<= llv(l,30),sma(abs(l-ref(l,1)),30,1)/sma(max(l-ref(l,1),0),30,1),0),3);
aaaa:=if(abs(bnb*15000)/ttt>0.6,0.01,0.6)*30000;
bgb:=sum(ttt-bnb*aaaa,3)/3;
动态底部:stickline(1,ttt,bgb,1,0),coloryellow;
stickline(bnb>0.2 and bgb<ref(bgb,1),ttt,bgb,1,0),colorblue;
上一指标公式:自动画线-什么都不说好用请支持指标详解 通达信什么都不画线
下一指标公式:二十四节气提醒指标详解 通达信二十四提醒
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文资金动能指标详解 通达信动能仅供学习研究。