aa:=vol/((high-low)*2-abs(close-open));
买量:=if(close>open,aa*(high-low),if(close<open,aa*((high-open)+(close-low)),vol/2)),linethick0,colorred;
卖量:=if(close>open,0-aa*((high-close)+(open-low)),if(close<open,0-aa*(high-low),0-vol/2)),linethick0,colorgreen;
进出量:=买量+卖量,color00ffff;
n:=1;qj0:=(high+low+close)/3;
qj1:=if(high=low,1,high-max(open,close));
qj2:=if(high=low,1,max(close,open)-qj0);
qj3:=if(high=low,1,min(open,close)-low);
qj4:=if(high=low,1,qj0-min(close,open));
qj5:=vol/(if(high=low,4,high-low));
qj6:="macd.dif">"macd.dea" and "macd.dea"<0;
qj7:="kdj.k">"kdj.d" and "kdj.d"<30;
qj8:="macd.dif"<"macd.dea";
qj9:="kdj.k"<"kdj.d" and "kdj.k">80;
特大:=(qj4*qj5)/shgzg*100;
大单:=(qj3*qj5)/shgzg*100;
中单:=(qj1*qj5)/shgzg*100;
小单:=(qj2*qj5)/shgzg*100;
w1:=sum(大单,n)+sum(特大,n);w2:=sum(小单,n)+sum(中单,n);
量振1:=特大>大单 and 大单>小单;
量振2:=特大<小单 and 大单<小单;
标振1:=qj6 and qj7;
标振2:=qj8 and qj9;
a:=w1-w2;a0:=if(a>0,a,0);b0:=if(a<0,a,0);
主力持仓:=ema(100*(close-llv(low,34))/(hhv(high,34)-llv(low,34)),3),colorff00ff;
主力筹码集中度:=winner(c)*100,colorred;
drawgbk(c>0),color000000;
//www.goodgongshi.com
epsl:=0.0001;
zz:=(c+h+l)/3;
tj0:=zz>max(c,o) or zz<min(c,o);
tj1:=h=l and c>ref(c,1);
tj2:=h=l and c<ref(c,1);
v0l:=if(1,v,amount);
zl:=2*(h-l)+abs(c-o)+3*epsl;
ee:=if(tj1,epsl,if(tj2,-epsl,0));
jgl_dtc:=(if(tj0 and 1,4/3*(c-(h+l)/2)+abs(c-o),c-open)+ee)/zl;
买入量:=v0l*(1+jgl_dtc)/2;
卖出量:=v0l*(1-jgl_dtc)/2;
买卖差:=(买入量-卖出量);
买卖合占:=(买入量+卖出量)/vol*100;
买卖差占:=(买入量-卖出量)/vol*100;
日差占盘:=买卖差/shgzg*100;
买卖总差:=sum(买卖差,60),coloryellow,linethick2;
净流量:=zjlr-zjlc;//www.goodgongshi.com
净均:=净流量/(shgzg*close)*100;
净均1:=净流量/买卖差;
a1:=(bigbuycount2+waitbuycount2-bigsellcount2-waitsellcount2);
a2:=(bigbuycount1-bigbuycount2+waitbuycount1-waitbuycount2-bigsellcount1+bigsellcount2-waitsellcount1+waitsellcount2);
普通bbd: =a1;
普通净额:=bigbuymoney2+waitbuymoney2-bigsellmoney2-waitsellmoney2;
超级bbd: =a2;
超级净额:=(bigbuymoney1-bigbuymoney2+waitbuymoney1-waitbuymoney2)-(bigsellmoney1-bigsellmoney2+waitsellmoney1-waitsellmoney2);
历高超普:=超级净额+普通净额,;
反历高超普:=-历高超普,;
倍历高超普:=历高超普*2;
总普历净额:=普通净额+历高超普;
主b:=(普通bbd+超级bbd+普通bbd);
主量1:=主b/shgzg*100;
金差:=(总普历净额- 净流量)/(shgzg*close)*100;
股差:=主量1-日差占盘;
日差缩:=日差占盘-(日差占盘*0.15);
共买:=买卖差+主b;
散占:=日差占盘-主量1;
zero := 3;
b1=if(isnull(bigbuycount1[-1]),0,bigbuycount1[-1])+if(isnull(waitbuycount1[-1]),0,waitbuycount1[-1]);
s1=if(isnull(bigsellcount1[-1]),0,bigsellcount1[-1])+if(isnull(waitsellcount1[-1]),0,waitsellcount1[-1]);
b2=if(isnull(bigbuycount2[-1]),0,bigbuycount2[-1])+if(isnull(waitbuycount2[-1]),0,waitbuycount2[-1]);
s2=if(isnull(bigsellcount2[-1]),0,bigsellcount2[-1])+if(isnull(waitsellcount2[-1]),0,waitsellcount2[-1]);
ddx:=((b1-s1)+(b2-s2)*0.7)/tv_d_public_shares *100;
if(isnull(lv_d_super_hld_ratio))
{
ret=(b1+b2)/tv_d_public_shares *100;
}
else
{
x1=lv_d_super_hld_ratio*100;
ret:=x1+ddx;
if(ddx > 0)
{
if(x1>95)
ret := x1+ddx*0.1;
else if(x1>90)
ret := x1+ddx*0.5;
else if(x1>85)
ret := x1+ddx*0.8;
}
if(ddx < 0)
{
if(x1<5)
ret := x1+ddx*0.1;
else if(x1<10)
ret := x1+ddx*0.5;
else if(x1<15)
ret := x1+ddx*0.8;
}
}
if(isnull(ret))
ret := lv_d_super_hld_ratio*100;
if(ret > 97.18)
ret := 97.18;
if(ret < 2.08)
ret := 2.08;
else
{
ret=lv_d_super_hld_ratio*100;
}
x:=ret;
//主仓:(ret)+ddx;
//二主仓:=sum(主仓,2);
//a:=二主仓-主仓-主仓;
//每仓:-a;
//z:=((zdmr+bdmr)-(zdmc+bdmc))/shgzg*100;
//主净量:z;
//倍:每仓/主净量;
z:=((zdmr+bdmr)-(zdmc+bdmc))/shgzg*100;
流通市值:=shgzg*close;
主金:=流通市值*z/100;
主净量:=z;
a1:=(bigbuycount2+waitbuycount2-bigsellcount2-waitsellcount2);
a2:=(bigbuycount1-bigbuycount2+waitbuycount1-waitbuycount2-bigsellcount1+bigsellcount2-waitsellcount1+waitsellcount2);
普通bbd: =a1;
普通净额:=bigbuymoney2+waitbuymoney2-bigsellmoney2-waitsellmoney2;
超级bbd:= a2;
超级净额:=(bigbuymoney1-bigbuymoney2+waitbuymoney1-waitbuymoney2)-(bigsellmoney1-bigsellmoney2+waitsellmoney1-waitsellmoney2);
历高超普:=超级净额+普通净额,;
反历高超普:=-历高超普,;
倍历高超普:=历高超普*2;
总普历净额:=普通净额+历高超普;
//主额:总普历净额/流通市值*100;
//入剔除:=zjlrtc;
开盘量:=openvol/100;
开盘金:=openvol*open;
//开占盘:=开盘量/shgzg*10000;
//主大:主量1>散占 and 日差占盘>0 and 主量1>0.3;
as1:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
aa1:=sma(as1,3,1);
bb1:=sma(aa1,3,1);
ab1:=cross(aa1,bb1);
dd1:=ema(close,12)-ema(close,26);
dd2:=ema(dd1,9);
ad1:=cross(dd1,dd2);
ad3:=(dd1-dd2)*2,colorstick;
ee:if(ab1 and ad1,0.8,0),stick,linethick8,colorred;
ee1:=c>ema(c,13);
ee2:=ema(c,13)>ref(ema(c,13),1);
drawtext(ee and ee1 and ee2,0.8,'←买入'),colormagenta;
ab2:=cross(bb1,aa1);
ad2:=cross(dd2,dd1);
背离:if(ab2 and ad2,0.8,0),linethick1,colorliblue;
v1:=cross(ma(v,5),ma(v,10));
drawicon(v1 and ad1,0.3,'←量价齐升'),linethick1,colorffff00;
m1:=cross(ma(c,5),ma(c,10));
vm:if(v1 and m1,0.5,0),stick,linethick5,coloryellow;
hsnp1:=close-ref(close,1);
hsnp2:=if(close-ref(close,1)>=0,hsnp1,0);
hsnp3:=ref(close,1)-close;
hsnp4:=if(close-ref(close,1)<=0,hsnp3,0);
hsnp5:=sum(hsnp2,90)/sum(hsnp4,90);
hsnp6:=100-100/(1+hsnp5);
hsnp7:=ema(hsnp6,21);
hsnp8:=ema(hsnp7,5);
hsnp:=ema(hsnp7,3);
np:=(hsnp7-hsnp);
nl:=(hsnp-hsnp7);
jj :=(c*2+h+l)/4;
sk := ema(jj,13) - ema(jj,21);
sd := ema(sk,3);
sp := ema(sk,10);
a1:=ema(close,7)-ema(close,21);
b1:=ema((0.668*ref(a1,1)+0.333*a1),1);
ma:=if(a1>=b1,a1,b1),linethick1,color00ff00;
单线红买:=if(b1-a1,b1,a1),linethick1,colorred;
上一指标公式:外盘主卖盘指标公式详解 同花顺外盘
下一指标公式:主力动向新指标公式详解 同花顺主力
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文资金查看指标公式详解 同花顺资金仅供学习研究。