聚宝主力资金副图源码下载:
聚宝主力资金(指标、副图、通达信、贴图)
a:=vol*close;
b:=sum(a,1)/sum(vol,1);
b1:=ema(b,17);
主力:=(b-b1)*500/b,colorred;
进:stickline(主力>=0 and 0>=ref(0,1),0,主力,1,0),colorred;
出:stickline(主力<0 and 0>=ref(0,1),0,主力,1,0),colorgreen;
k2:=ema(c,5),colorffff00;
k3:=ema(c,10),colorffff00;
k5:=ema(c,30),colorffff00;kk5:=ema(indexc,30),colorffff00;
k6:=2*(k2-k5);k7:=2*(k2-k3);k8:=2*(k7+k6),colorred;
rsv1:= (close-llv(low,4))/(hhv(high,4)-llv(low,4))*100;
fastk:=sma(rsv1,3,1);
龙k:=sma(fastk,2,1);
龙d:=sma(龙k,5,1);
va06:=(2*close+high+low)/4;
va07:=llv(low,13);
va08:=hhv(high,13);
va09:=ema((va06-va07)/(va08-va07)*100,13);
vaa1:=ema(0.667*ref(va09,1)+0.333*va09,2);
stickline(cross(k8,0) and 龙k>=龙d and va09>vaa1,0,1,8,0) ,colorred;
k1:=if(k8>ref(k8,5) and k3<ref(k3,5) ,1,0 ),coloryellow;
k21:=if(k8>ref(k8,7) and k3<ref(k3,7) ,1,0 ),coloryellow;
k31:=if(k8>ref(k8,9) and k3<ref(k3,9) ,1,0 ),coloryellow;
k4:=if(k8>ref(k8,11) and k3<ref(k3,11) ,1,0 ),coloryellow;
底部:=(k1 or k21 or k31 or k4) and k8<0 and k8>ref(k8,1),nodraw ,coloryellow;
stickline(底部 and count(底部,6)=1,0.4,0,8,0) ,coloryellow;
va1:=ref((low+open+close+high)/4,1);
va2:=sma(abs(low-va1),13,1)/sma(max(low-va1,0),10,1);
va3:=ema(va2,10)/100;
va4:=llv(low,33);
va5:=ema(if(low<=va4,va3,0),3);
洗盘:=if(va5<ref(va5,1),va5,0),colorgreen,nodraw;
stickline(va5<ref(va5,1) {and count(va5>ref(va5,1),10)=1},0,va5*2,3,0 ),colorblue;
拉升:=if(va5>ref(va5,1) {and 平均线>=ref(平均线,1)} ,va5,0),colorred,nodraw;
va6:=if(va5>=100,100,va5);
stickline(va5>ref(va5,1){and 平均线>=ref(平均线,1) and count(va5<ref(va5,1),5)=1},0,va6*2,3,0),colorlired;
xp:=ref(洗盘,1);{好公式网-最好的股票公式网站 www.goodgongshi.com}
ls:=拉升;
xpls:=(xp and ls);
vr3:=(close+high+low)/3;
vr4:=ema(vr3,10);
vr5:=ref(vr4,1);
主力线:=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),linethick1,pointdot;
var3:=ma(close,13);
var4:=(100-abs((close-var3)/var3*100))/100;
var5:=llv(low,75);
var6:=hhv(high,75);
var7:=(var6-var5)/100;
var8:=sma((close-var5)/var7,20,1);
vara:=3*var8-2*sma(var8,15,1);
吸筹a:=(100-vara)/100,color0099ff,linethick2;
吸筹:=if(吸筹a>1.09*ref(吸筹a,1),1,0),colorred,nodraw;
stickline(吸筹,0,1,2,1 ),coloryellow;
大底:=exist(cross( 吸筹a,1),6),nodraw,colormagenta;
vard:=吸筹a>var4;
差:=吸筹a-var4,coloryellow,nodraw;
jx:=(ma(c,10)*30+ma(c,30)*10+ma(c,60)*5+ma(c,120)*3)/(3+5+10+30);
jxma:=ma(jx,10);
drawicon(cross(jx,jxma),-0.3,1);
drawicon(cross(jxma,jx),2,2);
drawicon(close>ref(hhv(high,20),1),2,6);
drawicon(close<ref(llv(low,20),1),-0.5,1),coloryellow;
var200:=(close-llv(low,20))/(hhv(high,20)-llv(low,20))*100;
var300:=sma(sma(var200,3,1),3,1)/28.57;
var400:=ema(var300,5);
操盘:=3*var300-2*var400;
a1:=cross(操盘,var300) and var300<2.1 and c>o;
stickline(a1,主力,主力+0.4,8,0),coloryellow;
stickline(a1,主力,主力+0.3,4,0),colorbb00bb;
drawtext(a1 and 主力<0 and vr4>=vr5 ,主力-0.06,'底部'),colorgreen;
drawtext(xpls {and vr4>=vr5} and count(xpls,6)=1,1.35,'洗尾'),colorgreen;
vare:=ref(low,1)*0.9;
varf:=low*0.9;
var11:=ema(varf,30);
var12:=close-ref(close,1);
var13:=max(var12,0);
var14:=abs(var12);
var15:=sma(var13,7,1)/sma(var14,7,1)*100;
var16:=sma(var13,13,1)/sma(var14,13,1)*100;
var17:=barscount(close);
var18:=sma(max(var12,0),6,1)/sma(abs(var12),6,1)*100;
var19:=(-200)*(hhv(high,60)-close)/(hhv(high,60)-llv(low,60))+100;
var1a:=(close-llv(low,15))/(hhv(high,15)-llv(low,15))*100;
var1b:=sma((sma(var1a,4,1)-50)*2,3,1);
var1c:=(indexc-llv(indexl,14))/(hhv(indexh,14)-llv(indexl,14))*100;
var1d:=sma(var1c,4,1);
var1e:=sma(var1d,3,1);
var1f:=(hhv(high,30)-close)/close*100;
var20:=var18<=25 and var19<-95 and var1f>20 and var1b<-30 and var1e<30 and var11-close>=-0.25 and var15<22 and var16<28 and var17>50;
stickline(vard,var4,吸筹*3,1,0),colorred;
stickline(var20,0,1.20,1,0),colorbrown,linethick2;
var61:=(high+low)/2;
var81:=llv(low,35);
varb1:=hhv(high,35);
bb:=ema((var61-var81)/(varb1-var81)*100,9);
金聚宝:=ema(0.667*ref(bb,1)+0.333*bb,2),linethick0;
gc3:=llv(bb,198);
gc4:=hhv(bb,188);
drawtext(filter(gc4>ref(gc4,1),7) ,2.8,'见顶');
cc0:=(bb-金聚宝<0.3)
and (bb<25)and (high+low)/2<ma((high+low)/2,13)*0.98 and (high+low)/2>ref((high+low)/2,1);
dd:=filter(cc0,10);
drawtext(dd ,主力+0.2,'还有一跌');
{drawicon(dd,19,9);}
gg:=(bb-金聚宝<0.6)and (bb<30)and (high+low)/2<ma(c,13)*0.996 and (high+low)/2>ref((high+low)/2,1);
hh:=filter(gg,10);
{drawtext(hh and qs<20,25,'逃底点'),color43d0fa;}
{drawicon(hh,20,10);}
ee:=(bb-金聚宝>0.55)and (bb>70) and (high+low)/2>ma((high+low)/2,13)*0.96 and (high+low)/2<ref((high+low)/2,1);
{ff:=filter(ee,10);
drawtext(ff and qs>80,70,'逃'),color43d0fa;}
drawtext(filter(gc3>ref(gc3,1),5)and bb<40 and 金聚宝>ref(金聚宝,1),主力-0.2,'将见底');
diff1:=ema(close,12)-ema(close,26);
dea1:=ema(diff1,9);
买:=cross(diff1,dea1),nodraw;
drawtext(买 and count(买,25)=1,主力-0.6,'☆买'),colormagenta;
dfqs:=7*sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*30,4,1)-3*sma(sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*30,4,1),3,1)-sma(sma(sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*30,4,1),3,1),2,1);
tx:=78.89;
{drawicon(cross(tx,dfqs),1.02*h,6);}
stickline(cross(tx,dfqs),1,2,5,0),color00ff00;
drawtext(filter(cross(tx,dfqs),10) ,2.2,'逃顶'),colorff6699;
var301:=3*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1)-2*sma
(sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1),3,1);
趋势:=ema(var301,3)-10,colorff0000;
a13:=cross(趋势,0);{好公式网-最好的股票公式网站 www.goodgongshi.com}
ok:=ref(close,1);
rsi1:=sma(max(close-ok,0),7,1)/sma(abs(close-ok),7,1)*100,colorwhite;
rsi2:=sma(max(close-ok,0),7,1)/sma(abs(close-ok),7,1)*100,colorwhite;
鱼:=sma(max(close-ok,0),7,1)/sma(abs(close-ok),7,1)*100,colorred,dotline;
rsi4:=sma(鱼,7,1),linethick1,colorwhite;
趋势a:=ma(((close-llv(low,48))/(hhv(high,48)-llv(low,48))*50),17)+9,colorffffff;
趋势b:=ma(((close-llv(low,53))/(hhv(high,53)-llv(low,53))*50),17)+9,color3377dd;
az1:=ma(趋势a,7)*1.372,colorgreen,linethick1;
az2:=az1*1.0887;
az3:=(1.5*(趋势b+rsi4)-(az2+az1))+12,colorgreen,linethick1,dotline;
鱼网:=if((cross(rsi2,rsi4) or cross(rsi2,az3) and az3<38 and rsi1<51),18,0),coloryellow,linethick2;
买入:=if(exist(鱼网=18,8)and 鱼>45 and 鱼>ref( 鱼,2),1,0),colormagenta,,linethick3;
{stickline(a13,0,主力*2+3,5,0),colormagenta;}
drawtext(a13 ,主力*2+2,'启动'),colorwhite;
最小值:=llv(low,25);
最大值:=hhv(high,25);
波动线:=ema((close-最小值)/(最大值-最小值)*100,4);
平均线:=ema(波动线,3);
反转:=count(ma(c,10)<ref(ma(c,10),1),3)>=2 and cross(c,ma(c,20)) and c>=ma(c,30) and 平均线>=ref(平均线,1);
drawtext(反转 ,主力*2+2.3,'反转'),colorwhite;
stickline(反转 or xpls {and vr4>=vr5} ,0,主力*2+2,5,0),colorcyan;
必买: drawicon(ref(troughbars(3,15,1),1)=0 and high>low,-1.2,25),colorred ,linethick4;
必卖: drawicon(ref(peakbars(3,15,1),1)=1,主力+2.2,27),colorred,linethick8;
drawtext(ref(peakbars(3,15,1),1)=1 ,主力+3.2,' 必卖'),colorgreen;
a7:=c-ref(c,1);
a8:=100*ema(ema(a7,6),6)/ema(ema(abs(a7),6),6);
买1:=llv(a8,2)=llv(a8,7) and count(a8<0,2) and cross(a8,ma(a8,2));
drawtext(filter(买1=1,5) and (平均线>=ref(平均线,1) or vr4>=vr5) ,主力-0.45,'↖买进'),coloryellow;
stickline(买1,主力,0,2,0),coloryellow;
a11:=3*ema((c-llv(l,30))/(hhv(h,30)-llv(l,30))*100,5)-2*ema((c-llv(l,30))/(hhv(h,30)-llv(l,30))*100,5);
a14:=ema(a11,5);
a15:=(hhv(h,34)-c)/(hhv(h,34)-llv(l,34))*100;
diff := ema(close,12) - ema(close,26);
dea :=ema(diff,9);
基础:=(diff<-0.1 and diff>dea);
中线买入:=(cross(a11,a14)and (a15-a14)>40 and 基础 or 买入)and vr4>=vr5 ;
stickline(中线买入 and count(中线买入,5)=1 ,0,主力+3,2,0),colorred;
drawtext(中线买入 and count(中线买入,10)=1,主力*2+3,'买入'),colormagenta;
买多: ( (xpls or 中线买入 or 大底 or a1 or 买入 or 买 or a13) or vr4>=vr5),nodraw,colorred;
drawtext_fix( islastbar and 买多 ,0.52,0.04,0,'【买多】'),colorred;
买空: ( (filter(gc4>ref(gc4,1),10) or dd or filter(cross(tx,dfqs),10)) or vr4<vr5),nodraw,colorcyan;
drawtext_fix( islastbar and 买空 ,0.52,0.04,0,'【买空】'),colorcyan;
超短线:(((主力线-llv(主力线,21))/(hhv(主力线,21)-llv(主力线,21)))*(4))*(0.5),coloryellow,linethick3;
if(超短线>=ref(超短线,1),超短线,drawnull),colormagenta,linethick5;
if(超短线<ref(超短线,1),超短线,drawnull),colorblue,linethick5;
震仓: if(vr4,-0.038,drawnull),coloryellow,linethick9;
红买: if(vr4>=vr5 ,-0.038,drawnull), colorred,linethick5;
蓝卖: if(vr4<vr5 ,-0.036,drawnull),,colorblue,linethick5;
e:=(high+low+open+2*close)/5;
阻力:=(e+(high-low)) ;
支撑:=(e-(high-low));
drawtext_fix(islastbar,0.15,0.04,0,'阻力'),colorwhite;
drawnumber_fix(islastbar,0.22,0.04,0,阻力),colorwhite;
drawtext_fix(islastbar,0.35,0.04,0,'支撑'),colorlired;
drawnumber_fix(islastbar,0.42,0.04,0,支撑),colorred;
zlcm:=ema(winner(close)*70,3);{//主力筹码估算}
shcm:=ema((winner(close*1.1)-winner(close*0.9))*80,3);{//小筹码估算}
zshtl:=shcm/(zlcm+shcm)*100;{//小股民套牢筹码比率}
zzlkp:=zlcm/(zlcm+shcm)*100;{//主力控盘筹码比率}
zcmzl:=ma(zlcm+shcm,13);{//市场筹码总量}
zznts:=barslast(zshtl<90 and ref(zshtl,1)>90);{//走牛天数}
zshjj:=ema(zshtl,89);{//小股民警戒}
zzljj:=ema(zzlkp,89);{//主力警戒}
dkb:=if(zzlkp-ref(zzlkp,1)>zshtl-ref(zshtl,1),1,0);
rsvb:=(close-llv(low,15))/(hhv(high,15)-llv(low,15))*100;
kk1:=sma(rsvb,10,1);
d1:=sma(kk1,5,1);
kk:=intpart(kk1);
ddb:=intpart(d1);
tfxxs:=kk+ddb;{//变异kd风险系数}
t1:=const( zcmzl>ref(zcmzl,1) and dkb=1);
t2:=const( zcmzl>ref(zcmzl,1) and dkb=0);
t3:=const( zcmzl=ref(zcmzl,1));
t4:=const( zcmzl<ref(zcmzl,1) and dkb=1);
t5:=const( zcmzl<ref(zcmzl,1) and dkb=0);
t6:=const(tfxxs<=50 );
t7:=const(tfxxs>=160 );
t8:=const(tfxxs>50 and tfxxs<160 and tfxxs>=ref(tfxxs,1) and tfxxs<=100 );
t9:=const( tfxxs>50 and tfxxs<160 and tfxxs>=ref(tfxxs,1) and tfxxs>100);
t10:=const(tfxxs>50 and tfxxs<160 and tfxxs<ref(tfxxs,1) and tfxxs>100 );
t11:=const(tfxxs>50 and tfxxs<160 and tfxxs<ref(tfxxs,1) and tfxxs<=100 );
t12:=const( zshtl>90 );
t13:=const( zzlkp>75 );
t14:=const(cross(zcmzl,zzljj) and zzlkp>zzljj and zzlkp>10 and zzljj>ref(zzljj,1) and zcmzl>ref(zcmzl,1) );
t15:=const(cross(zcmzl,zzlkp) and zzlkp>zzljj and zzlkp<zshtl and zzlkp>10 and zzljj>ref(zzljj,1) and zcmzl>ref(zcmzl,1) );
t16:=const( cross(zcmzl,zshtl) and zshtl>zzlkp and zcmzl>ref(zcmzl,1));
t17:=const( cross(zcmzl,100) and zcmzl>ref(zcmzl,1));
t18:=const(ref(zshtl,1)>90 and zshtl<90 );
ts1:=if(t1=1,0+0.03,0);
ts2:=if(t2=1,ts1+0.03,ts1);
ts3:=if(t3=1,ts2+0.03,ts2);
ts4:=if(t4=1,ts3+0.03,ts3);
ts5:=if(t5=1,ts4+0.03,ts4);
ts6:=if(t6=1,0+0.73,0);
ts7:=if(t7=1,ts6+0.03,ts6);
ts8:=if(t8=1,ts7+0.03,ts7);
ts9:=if(t9=1,ts8+0.03,ts8);
ts10:=if(t10=1,ts9+0.03,ts9);
ts11:=if(t11=1,ts10+0.03,ts10);
ts12:=if(t12,0+0.03,0);
ts13:=if(t13=1,ts12+0.03,ts12);
ts14:=if(t14=1,ts13+0.03,ts13);
ts15:=if(t15=1,ts14+0.03,ts14);
ts16:=if(t16=1,ts15+0.03,ts15);
ts17:=if(t17=1,ts16+0.03,ts16);
ts18:=if(t8=1,ts17+0.03,ts17);
drawtext_fix(t1 ,0.66,ts1,0,'★监控:主力增仓'),color8080ff;
drawtext_fix(t2 ,0.66,ts2,0,'★监控:主力减仓'),colorffff00;
drawtext_fix(t3 ,0.66,ts3,0,'★监控:多空平衡'),colorgray;
drawtext_fix(t4 ,0.66,ts4,0,'★监控:主力回补'),colorff9933;
drawtext_fix(t5 ,0.66,ts5,0,'★监控:主力出逃'),colorffff00;
drawtext_fix(t6 ,0.56,0.25,0,'★操作:买入风险'),coloryellow;
drawtext_fix(t7 ,0.56,0.25,0,'★操作:卖出风险'),colorffff00;
drawtext_fix(t8 ,0.56,0.25,0,'★操作:追涨博弈'),color8080ff;
drawtext_fix(t9 ,0.56,0.25,0,'★操作:稳健持股'),color8080ff;
drawtext_fix(t10 ,0.56,0.25,0,'★操作:盘跌减仓'),colorffff00;
drawtext_fix(t11 ,0.56,0.25,0,'★操作:杀跌空仓'),colorffff00;
drawtext_fix(t12,0.36,ts12,0,'☆特别提示:筑底散兵坑 '),color66ffcc;
drawtext_fix(t13,0.36,ts13,0,'☆特别提示:铸顶风险区'),colorffff00;
drawtext_fix(t14,0.36,ts14,0,'☆特别提示:穿越主力 '),color8080ff;
drawtext_fix(t15,0.36,ts15,0,'☆特别提示:穿越主力 '),coloryellow;
drawtext_fix(t16,0.36,ts16,0,'☆特别提示:穿越散户 '),colorgreen;
drawtext_fix(t17,0.36,ts17,0,'☆特别提示:全盘穿越 '),color3399ff;
drawtext_fix(t18,0.36,ts18,0,'☆特别提示:神秘黑洞 '),color9966ff;
量价:=(vol/close)/3;
bb2:=sum((if(((量价>0.20) and (close>(ref(close,1)))),量价,0)),0);
bb3:=sum((if(((量价>0.20) and (close<(ref(close,1)))),量价,0)),0);
bb6:=bb2+bb3;dd1:=1;比:=bb2/bb3;
bbb1:=strcat(strcat('买= ',con2str((100*bb2)/bb6,0)),'%');
bbb2:=strcat(strcat('卖= ',con2str((100*bb3)/bb6,0)),'%');
bbb3:=strcat(strcat('差= ',con2str((100*(bb2-bb3))/bb6,0)),'%');
drawtext_fix(dd1=1 ,0,0.02,0,bbb1),colorred;
drawtext_fix(dd1=1 ,0,0.13,0,bbb2),colorgreen;
drawtext_fix(dd1=1 ,0,0.24,0,bbb3),color00ffff;
上一指标公式:稳中出击原创量能副图下载
下一指标公式:涨停回马枪之三新底部双雄副图和选股原创指标下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文聚宝主力资金副图下载仅供学习研究。