全景看盘公式
主图源码添加后,请再导入引用指标。
飞狐软件---点击管理---扩展数据管理---按指标排序依次排列。
n 缺省 4 最小 1 最大 100
n1 缺省 10 最小 1 最大 100
n3 缺省 9 最小 1 最大 100
q 缺省 7 最小 1 最大 100
q1 缺省 27 最小 1 最大 100
p2 缺省 3 最小 1 最大 100
p1 缺省 3 最小 1 最大 100
{半分位}
stickline(close>0,(open+close)/2,(open+close)/2,8,101),colorwhite,linethick3;
stickline(low<>min(close,open),(low+min(close,open))/2,(low+min(close,open))/2,4,1),coloryellow,linethick1;
stickline(high<>max(close,open),(high+max(close,open))/2,(high+max(close,open))/2,4,1),coloryellow,linethick1;
{均线}
wx:=ma(close,0);
m5:ma(close,5),coloryellow;
m10:ma(close,10)*if(n<2,wx,1),colormagenta;
m20:ma(close,20)*if(n<3,wx,1),colorwhite;
{m30:=ma(close,30)*if(n<4,wx,1);
m60:=ma(close,60)*if(n<4,wx,1);
m90:=ma(close,90)*if(n<4,wx,1);}
{布林轨道}
{市值定价}
市盈率:=if(finance(33)>0,dynainfo(39),0)*0.35;
每股收益:=if(finance(33)>0.01,finance(33)*0.65,0);
市值定价:=每股收益*市盈率*4;
drawtextex(close,1,485,10,'【市值定价】'+numtostr(市值定价,2)+' 元'),coloryellow;
{饱和量能}
sat:=if((amount/close)/(hhv(amount,21)/hhv(close,21))*100>100,100,(amount/close)/(hhv(amount,21)/hhv(close,21))*100);
p:=sysparam(1);
drawtextex(close,1,485,70,'【饱和量能】'+numtostr(sat,2)+' %'),coloryellow;
{主力筹码}
主力筹码:=10*winner(close*0.9)*8;
drawtextex(sysparam(3)=barpos,1,485,40,'【主力筹码】'+numtostr(主力筹码[sysparam(1)],2)+' %'),coloryellow,pxup0;
zhh:=high;zgf1:= zhh/1.0809; zgf2:=zhh/1.1618; zgf3:=zhh/1.0809/1.1618; zgf4:=zhh/1.1618/1.1618;
drawtextex(sysparam(3)=barpos,1,20,70,'■第一下跌区位:'+numtostr(zgf1[sysparam(1)],2)+'-'+numtostr(zgf2[sysparam(1)],2)+' 元'),coloryellow;
drawtextex(sysparam(3)=barpos,1,20,100,'■第二下跌区位:'+numtostr(zgf3[sysparam(1)],2)+'-'+numtostr(zgf4[sysparam(1)],2)+' 元'),coloryellow;
zll:=low;zgfb1:=zll*1.0809; zgfb2:=zll*1.1618; zgfb3:=zll*1.0809*1.1618; zgfb4:=zll*1.1618*1.1618;
drawtextex(sysparam(3)=barpos,1,20,40,'■第一上涨区位:'+numtostr(zgfb1[sysparam(1)],2)+''+'-'+numtostr(zgfb2[sysparam(1)],2)+' 元'),coloryellow;
drawtextex(sysparam(3)=barpos,1,20,10,'■第二上涨区位:'+numtostr(zgfb3[sysparam(1)],2)+''+'-'+numtostr(zgfb4[sysparam(1)],2)+' 元'),coloryellow;
pt:=ref(high,1)-ref(low,1);
cdp:=(high+low+2*close)/4;
ah:=cdp+pt;
al:=cdp-pt;
nh敏感阻力:=2*cdp-low;
nl:=2*cdp-high;
drawtextex(sysparam(3)=barpos,1,20,130,'■明日强阻力位:'+numtostr(ah[sysparam(1)],2)+' 元'),coloryellow,pxup0;
drawtextex(sysparam(3)=barpos,1,20,160,'■明日阻力区域:'+numtostr(nh敏感阻力[sysparam(1)],2)+' 元'),coloryellow,pxup0;
drawtextex(sysparam(3)=barpos,1,20,190,'■明日均衡价位:'+numtostr(cdp[sysparam(1)],2)+' 元'),coloryellow,pxup0;
drawtextex(sysparam(3)=barpos,1,20,220,'■明日支撑区域:'+numtostr(nl[sysparam(1)],2)+' 元'),coloryellow,pxup0;
drawtextex(sysparam(3)=barpos,1,20,250,'■明日强支撑位:'+numtostr(al[sysparam(1)],2)+' 元'),coloryellow,pxup0;
主力持仓:=ema(100*(close-llv(low,34))/(hhv(high,34)-llv(low,34)),3);
主力筹码集中度:=winner(close)*100;
散筹筹码集中度:=(winner(close*1.1)-winner(close*0.9))*100;
qiang:=(主力持仓-散筹筹码集中度)>20 and (主力筹码集中度-散筹筹码集中度)>0 and 主力持仓>50;
庄家显身:=if(qiang,1,0);
drawtextex(sysparam(3)=barpos,1,20,460,'■庄家显身:'+numtostr(庄家显身[sysparam(1)],0)),coloryellow,pxup0;
庄家控局:=if(qiang and 主力筹码集中度-散筹筹码集中度>20,1,0);
drawtextex(sysparam(3)=barpos,1,20,490,'■庄家控局:'+numtostr(庄家控局[sysparam(1)],0)),coloryellow,pxup0;
a2:=sum(vol,13)/capital;
强弱分界:=100-(100/(1+a2));
drawtextex(sysparam(3)=barpos,1,20,400,'■弱势指数:'+numtostr(强弱分界[sysparam(1)],2)),coloryellow,pxup0;
a3:=llv(dma(close,vol/capital),120);
股价走势:=100*(close-a3)/a3;
drawtextex(sysparam(3)=barpos,1,20,430,'■强势指数:'+numtostr(股价走势[sysparam(1)],2)),coloryellow,pxup0;
{d j 系数}
rsv:=(close-llv(low,n3))/(hhv(high,n3)-llv(low,n3))*100;
k:=sma(rsv,p1,1);
d:=sma(k,p2,1);
起涨系数:=3*k-2*d;
drawtextex(sysparam(3)=barpos,1,485,130,'【d j 系数】↓'+numtostr(起涨系数[sysparam(1)],2)+' %'),coloryellow,pxup0;
{好公式网-最好的股票公式网站 www.goodgongshi.com}
{资金进出}
v1:=(close*2+high+low)/4*10;
v2:=ema(v1,13)-ema(v1,34);
v3:=ema(v2,5); v4:=2*(v2-v3)*5.5;
主力进:=if(v4>=0,v4,0);
drawtextex(sysparam(3)=barpos,1,20,340,'■主力进场强度:'+numtostr(主力进[sysparam(1)],2)),coloryellow,pxup0;
主力撤:=if(v4<=0,v4,0);
drawtextex(sysparam(3)=barpos,1,20,370,'■主力出场强度:'+numtostr(主力撤[sysparam(1)],2)),coloryellow,pxup0;
v5:=(hhv(indexh,8)-indexc)/(hhv(indexh,8)-llv(indexl,8))*8;
v6:=ema(3*v5-2*sma(v5,18,1),5);
v7:=(indexc-llv(indexl,8))/(hhv(indexh,8)-llv(indexl,8))*10;
v8:=(indexc*2+indexh+indexl)/4;
v9:=ema(v8,13)-ema(v8,34);
va:=ema(v9,3);
vb:=(v9-va)/2;
资金进场:=if(vb>=0,vb,0);
drawtextex(sysparam(3)=barpos,1,20,280,'■资金进场强度:'+numtostr(资金进场[sysparam(1)],2)),coloryellow,pxup0;
资金出场:=if(vb<=0,vb,0);
drawtextex(sysparam(3)=barpos,1,20,310,'■资金出场强度:'+numtostr(资金出场[sysparam(1)],2)),coloryellow,pxup0;
{建仓}
q4:=34;
q5:=9;
q6:=3;
x1:=100*(hhv(high,q4)-close)/(hhv(high,q4)-llv(low,q4));
var1:=100*(hhv(high,q5)-close)/(hhv(high,q5)-llv(low,q5));
var2:=100*(hhv(high,q6)-close)/(hhv(high,q6)-llv(low,q6));
var3:=var1-x1;
var4:=x1-var1;
游资建仓:=var3<0;
机构对倒:=var4<0;
var5:=dynainfo(5);
var6:=if(high<var5,0,if(low>var5,1,(var5-high+0.009)/(low-high+0.009)));
aaa:=close*1.1;
bbb:=close*0.9;
bb1:=100*(winner(aaa)-winner(bbb));
cmsd:=100-bb1;
cc1:=ma(close,13)<ref(ma(close,13),1);
dd1:=if(close>1000,cross(var6,22),cross(var6,24));
机构建仓:=cmsd>65 and cc1;
zc_1:=if(low<dynainfo(7),0,if(high>dynainfo(7),dynainfo(7)-(dynainfo(7)-high+0.02)/(high-low+0.02),0));
zc_2:=dma(zc_1,vol/capital)*(100);
出货:=if(zc_2>0 and zc_2>ref(zc_2,1),zc_2/20,0);
机构出货:=出货>0;
drawtextex(sysparam(3)=barpos,1,20,520,'■机构参与:'+numtostr(机构建仓[sysparam(1)],0)),coloryellow,pxup0;
drawtextex(sysparam(3)=barpos,1,20,610,'■机构出货:'+numtostr(机构出货[sysparam(1)],0)),coloryellow,pxup0;
drawtextex(sysparam(3)=barpos,1,20,580,'■机构对倒:'+numtostr(机构对倒[sysparam(1)],0)),coloryellow,pxup0;
drawtextex(sysparam(3)=barpos,1,20,550,'■游资参与:'+numtostr(游资建仓[sysparam(1)],0)),coloryellow,pxup0;
{权证}
var1:=if(date<1090801 and date>900101,1,0);
var2:=((close > ref(close,1)) and (close > ref(close,2)));
var3:=((ref(var2,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var4:=((ref(var3,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var5:=((ref(var4,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var6:=((ref(var5,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var7:=((ref(var6,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var8:=((ref(var7,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var9:=((ref(var8,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
vara:=((ref(var9,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
varb:=((ref(vara,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
varc:=((ref(varb,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
vard:=((ref(varc,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
stickline((((((((((((var2 or var3) or var4) or var5) or var6) or var7) or var8) or var9) or vara) or varb) or varc) or vard),close,ref(close,1),8,1),colorff;
vare:=((close < ref(close,1)) and (close < ref(close,2)));
varf:=((ref(vare,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var10:=((ref(varf,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var11:=((ref(var10,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var12:=((ref(var11,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var13:=((ref(var12,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var14:=((ref(var13,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var15:=((ref(var14,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var16:=((ref(var15,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var17:=((ref(var16,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var18:=((ref(var17,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var19:=((ref(var18,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
stickline((((((((((((vare or varf) or var10) or var11) or var12) or var13) or var14) or var15) or var16) or var17) or var18) or var19),close,ref(close,1),8,1),colorgreen;
var1a:=(ref((((((((((((vare or varf) or var10) or var11) or var12) or var13) or var14) or var15) or var16) or var17) or var18) or var19),1) and var2);
stickline(var1a,ref(close,1),ref(close,2),8,0)coloryellow;
aa:=(ref((((((((((((var2 or var3) or var4) or var5) or var6) or var7) or var8) or var9) or vara) or varb) or varc) or vard),1) and vare);
stickline(aa,ref(close,1),ref(close,2),10,0)colorblue;
{显示买卖数字}
var100:=if(troughbars(3,16,1)=0 and high>low+0.04,4,0);
var110:=zig(3,6)>ref(zig(3,6),1) and ref(zig(3,6),1)<=ref(zig(3,6),2) and ref(zig(3,6),2)<=ref(zig(3,6),3);
var120:=zig(3,6)<ref(zig(3,6),1) and ref(zig(3,6),1)>=ref(zig(3,6),2) and ref(zig(3,6),2)>=ref(zig(3,6),3);
var130:=zig(3,22)>ref(zig(3,22),1) and ref(zig(3,22),1)<=ref(zig(3,22),2) and ref(zig(3,22),2)<=ref(zig(3,22),3);
var140:=zig(3,22)<ref(zig(3,22),1) and ref(zig(3,22),1)>=ref(zig(3,22),2) and ref(zig(3,22),2)>=ref(zig(3,22),3);
var150:=zig(3,51)>ref(zig(3,51),1) and ref(zig(3,51),1)<=ref(zig(3,51),2) and ref(zig(3,51),2)<=ref(zig(3,51),3);
var160:=zig(3,51)<ref(zig(3,51),1) and ref(zig(3,51),1)>=ref(zig(3,51),2) and ref(zig(3,51),2)>=ref(zig(3,51),3);
var170:=zig(3,72)>ref(zig(3,72),1) and ref(zig(3,72),1)<=ref(zig(3,72),2) and ref(zig(3,72),2)<=ref(zig(3,72),3);
var180:=zig(3,72)<ref(zig(3,72),1) and ref(zig(3,72),1)>=ref(zig(3,72),2) and ref(zig(3,72),2)>=ref(zig(3,72),3);
买1:=var100;
买2:=(var110+var130+var150+var170);
卖1:=(var120+var140+var160+var180);
partline(买1>0 or 买2>0,low*0.99),crossdot,linethick3,coloryellow;
drawtext(买1>0 or 买2>0,low*0.98,'买'),linethick4,colorred;
partline(卖1>0,high*1.01),crossdot,linethick3,colorgreen;
drawtext(卖1>0,high*1.02,'卖'),linethick4,colorgreen;
{预测点位}
hlq:=ma(ref(high,1)/ref(close,2),q1)*ref(close,1);
hlq1:=ma(ref(low,1)/ref(close,2),q1)*ref(close,1);
hlq2:=ma(ref(high,1)/ref(close,2),q)*ref(close,1);
hlq3:=ma(ref(low,1)/ref(close,2),q)*ref(close,1);
drawtextex(sysparam(3)=barpos,1,485,190,'【预测高位】'+numtostr(hlq2[sysparam(1)],2)+'-'+numtostr(hlq[sysparam(1)],2)+' 元'),coloryellow;
drawtextex(sysparam(3)=barpos,1,485,160,'【预测低位】'+numtostr(hlq3[sysparam(1)],2)+'-'+numtostr(hlq1[sysparam(1)],2)+' 元'),coloryellow;
{买卖点}
上涨值:=ma((high+ref(low,1))/2,3);
买进高点:=ma((high+ref(high,1))/2,3);
var123:=((high+low+close)/3)*2-low;
突破买入值:=ma(var123,3);
下跌值:=ma((ref(high,1)+low)/2,3);
卖出低点:=ma((ref(low,1)+low)/2,3);
var223:=((high+low+close)/3)*2-high;
突破卖出值:=ma(var223,3);
买入价位:=(下跌值+卖出低点+突破卖出值+low)/4.1;
买入价位1:=(下跌值+卖出低点+突破卖出值+low)/3.94;
卖出价位:=(上涨值+买进高点+突破买入值+high)/4.01;
卖出价位1:=(上涨值+买进高点+突破买入值+high)/3.95;
drawtextex(sysparam(3)=barpos,1,485,220,'【预测买入】'+numtostr(买入价位[sysparam(1)],2)+'-'+numtostr(买入价位1[sysparam(1)],2)+' 元'),colorwhite,pxup0;
drawtextex(sysparam(3)=barpos,1,485,250,'【预测卖出】'+numtostr(卖出价位[sysparam(1)],2)+'-'+numtostr(卖出价位1[sysparam(1)],2)+' 元'),colorwhite,pxup0;
{点石成金光标划线}
bc:=barslast(sysparam(1)=barpos)+1;
点石成金h:=if(close>100,sum(high*vol,bc)/sum(vol,bc),sum(amount,bc)/sum(vol,bc)/100*sum(high,bc)/sum(close,bc)),colorred,linethick2;
点石成金l:=if(close>100,sum(low*vol,bc)/sum(vol,bc),sum(amount,bc)/sum(vol,bc)/100*sum(low,bc)/sum(close,bc)),colorblue,linethick2;
点石成金:if(ref(high,bc-1)>ref(high,bc) and ref(high,bc-1)>ref(high,bc-2) ,点石成金h,点石成金l),coloryellow,linethick3;
{买卖数据}
特大买入:=stkindi('','引用.特大买入',0,0);
特大卖出:=stkindi('','引用.特大卖出',0,0);
大单买入:=stkindi('','引用.大单买入',0,0);
大单卖出:=stkindi('','引用.大单卖出',0,0);
小单买入:=stkindi('','引用.小单买入',0,0);
小单卖出:=stkindi('','引用.小单卖出',0,0);
总:=(特大买入+特大卖出+大单买入+大单卖出+小单买入+小单卖出);
散户跟风系数:=(小单买入-小单卖出)/总*100;
drawtextex(close,1,485,100,'【跟风系数】'+numtostr(散户跟风系数,2)+' %'),color00ffff;
流通:finance(7)/10000,linethick0,precision2,colorbfff;
a:=stkindi('','引用.特大买入',0,0);
a1:=stkindi('','引用.特大卖出',0,0);
b:=stkindi('','引用.隐性买单',0,0);
b1:=stkindi('','引用.隐性卖单',0,0);
d:=stkindi('','引用.大单买入',0,0);
d1:=stkindi('','引用.大单卖出',0,0);
e:=stkindi('','引用.中单买入',0,0);
e1:=stkindi('','引用.中单卖出',0,0);
f:=stkindi('','引用.小单买入',0,0);
f1:=stkindi('','引用.小单卖出',0,0);
aa:=a-a1;
bb:=b-b1;
dd:=d-d1;
ee:=e-e1;
ff:=f-f1;
drawtextex(close,1,20,640,'■机构净买:'+numtostr(aa*100/10000,2)+' 万股'),coloryellow;
drawtextex(close,1,20,670,'■特户净买:'+numtostr(bb*100/10000,2)+' 万股'),coloryellow;
drawtextex(close,1,20,700,'■大户净买:'+numtostr(dd*100/10000,2)+' 万股'),coloryellow;
drawtextex(close,1,20,730,'■中户净买:'+numtostr(ee*100/10000,2)+' 万股'),coloryellow;
drawtextex(close,1,20,760,'■散户净买:'+numtostr(ff*100/10000,2)+' 万股'),coloryellow;
qs:=(aa+bb+dd);
qs1:=qs*100*close/10000;
drawtextex(close,1,400,980,'今日主力净买: '+numtostr(qs1,2)+' 万元'),colorffbfff;
{周资金流向}
机构净买:=extdata(9);
机值:=extdata(9)*close/100;
券商净买:=extdata(10);
券值:=extdata(10)*close/100;
大户净买:=extdata(11);
大值:=extdata(11)*close/100;
资金流向:=机值+券值+大值;
周资金流向:=sum(资金流向,5);
drawtextex(close,1,20,790,'周资金增减:'+numtostr(周资金流向,2)+' 万元'),coloryellow;
{显示时间}
variable:wday[7]='星期六';
wday[1]:='星期日';
wday[2]:='星期一';
wday[3]:='星期二';
wday[4]:='星期三';
wday[5]:='星期四';
wday[6]:='星期五';
fy:=year;
fm:=month;
fd:=day;
wd:=weekday;
str1:=''+numtostr(fy[p],0)+'年'+numtostr(fm[p],0)+'月'+numtostr(fd[p],0)+'日 '+wday[wd[p]+1];
drawtextex(close,1,100,980,str1),colorffbf00;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文全景看盘公式下载仅供学习研究。