k线逃顶.fnc
主图的原码
cyc5:cyc(5);
cyc13:cyc(13);
cyc34:cyc(34);
cyc0:maxcyc,colorff9900;
散户:selfdata('散户持仓'),linethick0;
中户:selfdata('中户持仓'),linethick0;
大户:selfdata('大户持仓'),linethick0;
法人:selfdata('法人持仓'),linethick0;
机构:selfdata('机构持仓'),linethick0;
帐户数:selfdata('帐户数'),linethick0;
机构成本:selfdata('机构成本'),linethick0;
月增减:=(帐户数-ref(帐户数,22))/ref(帐户数,22);
s3:=ref(散户,3);
z3:=ref(中户,3);
d3:=ref(大户,3);
f3:=ref(法人,3);
j3:=ref(机构,3);
s5:=ref(散户,5);
z5:=ref(中户,5);
d5:=ref(大户,5);
f5:=ref(法人,5);
j5:=ref(机构,5);
s10:=ref(散户,10);
z10:=ref(中户,10);
d10:=ref(大户,10);
f10:=ref(法人,10);
j10:=ref(机构,10);
s20:=ref(散户,20);
z20:=ref(中户,20);
d20:=ref(大户,20);
f20:=ref(法人,20);
j20:=ref(机构,20);
bl3:=400/max(s3,z3,d3,f3,j3);
bl5:=400/max(s5,z5,d5,f5,j5);
bl10:=400/max(s10,z10,d10,f10,j10);
bl20:=400/max(s20,z20,d20,f20,j20);
drawtextrel(80,500,'散户'),color00ff00;
drawtextrel(140,500,'中户'),colorblue;
drawtextrel(200,500,'大户'),colorcyan;
drawtextrel(260,500,'法人'),coloryellow;
drawtextrel(320,500,'机构'),colorred;
drawtextrel(380,500,'帐户数'),colorwhite;
drawtextrel(380,584,'机构成本'),colorwhite;
drawtextrel(380,664,'月增减'),colorwhite;
drawtextrel(30,544,'今日'),colorwhite;
drawtextrel(80,544,numtostrn(散户,2)), color00ff00;
drawtextrel(140,544,numtostrn(中户,2)), colorblue;
drawtextrel(200,544,numtostrn(大户,2)), colorcyan;
drawtextrel(260,544,numtostrn(法人,2)), coloryellow;
drawtextrel(320,544,numtostrn(机构,2)), colorred;
drawtextrel(380,544,numtostrn(帐户数,2)), color00ffff;
drawtextrel(30,584,'3日'), colorwhite;
drawtextrel(80,584,numtostrn(s3,2)), color00ff00;
drawtextrel(140,584,numtostrn(z3,2)), colorblue;
drawtextrel(200,584,numtostrn(d3,2)), colorcyan;
drawtextrel(260,584,numtostrn(f3,2)), coloryellow;
drawtextrel(320,584,numtostrn(j3,2)), colorred;
drawtextrel(30,626,'5日'), colorwhite;
drawtextrel(80,626,numtostrn(s5,2)), color00ff00;
drawtextrel(140,626,numtostrn(z5,2)), colorblue;
drawtextrel(200,626,numtostrn(d5,2)), colorcyan;
drawtextrel(260,626,numtostrn(f5,2)), coloryellow;
drawtextrel(320,626,numtostrn(j5,2)), colorred;
drawtextrel(380,626,numtostrn(机构成本,2)), colorred;
drawtextrel(30,669,'10日'), colorwhite;
drawtextrel(80,669,numtostrn(s10,2)), color00ff00;
drawtextrel(140,669,numtostrn(z10,2)), colorblue;
drawtextrel(200,669,numtostrn(d10,2)), colorcyan;
drawtextrel(260,669,numtostrn(f10,2)), coloryellow;
drawtextrel(320,669,numtostrn(j10,2)), colorred;
drawtextrel(30,709,'20日'), colorwhite;
drawtextrel(80,709,numtostrn(s20,2)), color00ff00;
drawtextrel(140,709,numtostrn(z20,2)), colorblue;
drawtextrel(200,709,numtostrn(d20,2)), colorcyan;
drawtextrel(260,709,numtostrn(f20,2)), coloryellow;
drawtextrel(320,709,numtostrn(j20,2)), colorred;
drawtextrel(380,709,numtostrn(月增减,2)),color00ffff;
var3:=llv(high,240);
var4:=100*(close-var3)/var3;
var5:=(close-llv(low,528))/(hhv(high,528)-llv(low,528))*100;
var6:=(close-llv(close,530))/(hhv(close,530)-llv(close,530))*100;
var7:=0;
var8:=sma(max(close-ref(close,1),0),34,1)/sma(abs(close-ref(close,1)),7,1)*100;
var9:=sma(max(close-ref(close,1),0),13,1)/sma(abs(close-ref(close,1)),13,1)*100;
var10:=if(troughbars(3,16,1)=0 and high>low+0.04,4,0);
var11:=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);
var12:=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);
var13:=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);
var14:=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);
var15:=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);
var16:=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);
var17:=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);
var18:=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);
var19:=ema(close,2)-ema(close,150);
买1:=var10;
买2:=(var11+var13+var15+var17);
卖1:=(var12+var14+var16+var18);
drawtext(买1>0 or 买2>0,low*0.99,'←买入'),crossdot,linethick1,colorred;
drawtext(卖1>0,high*1.02,'←卖出'),crossdot,linethick1,colorgreen;
var100:=(100 - ((90 * (hhv(high,20) - close)) / (hhv(high,20) - llv(low,20))));
var200:=(100 - ((90 * (hhv(high,20) - close)) / (hhv(high,20) - llv(low,20))));
var300:=(100 - ma(((100 * (hhv(high,5) - close)) / (hhv(high,5) - llv(low,5))),34));
上一指标公式:醉生梦死合并修改公式详解 大智慧修改合并
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文K线逃顶公式详解 大智慧线逃顶仅供学习研究。