fz实时布林(飞狐分时指标)
drawgbk(1,colorrgb(0,100,50),colorrgb(0,50,120),1);
dynainfo(3);
tt:=barscount(c);
cc:=close;
zz:=sum(amount,tt)/sum(vol*100,tt);
zz1:=between(c/zz,1.05,0.95);
均线:if(zz1=0,ma(c,tt),zz),color00ffff,linethick0;
partline(均线>=cc,均线),color00ff00,linethick2;
partline(均线<cc,均线),colorred,linethick2;
上均:均线 + avedev(c,tt)*2,color00ff00;
下均:均线 - avedev(c,tt)*2,colorff6600;
close,linethick2,colorblack;
时长:=if(hour>=13 and hour<15 ,1,0);
涨幅:=(close/dynainfo(3))>=1.03;
跌幅:=(close/dynainfo(3))<=0.97;
涨跌幅:=涨幅 or 跌幅;
yy:=sma(vol,30,1);
放量:=(yy-llv(llv(yy,1),30))/(hhv(hhv(yy,1),30)-llv(llv(yy,1),30))>0;
横盘:=((hhv(close,tt)-llv(close,tt))/close)<=0.05;
横涨:=涨跌幅=0 and 横盘 and 时长 and 放量 and cross(cc,上均)and dynainfo(22)<dynainfo(23) ;
横跌:=涨跌幅=0 and 横盘 and 时长 and 放量 and cross(下均,cc) ;
pp:= filter(横涨,100) ;
uu:= filter(横跌,50) ;
drawtext(pp,上均,'★上突'),colorff00ff;
drawtext(uu,下均,'★下破'),color00ffff;
;
drawtext(pp,上均,'★突破'),colorff00ff;
c,colorblack,linethick2;
dk:=(上均-下均)*100/均线;
drawtext(dk>4 and cross(上均,cc),上均,'★'),colorred,align1;
drawtext(dk>4 and cross(cc,下均),下均,'▲'),color00ff00,align1;
drawtextex(c>0,1,30,100,'布林上轨:'+numtostr(上均,2)+'元'),color00ff00;
drawtextex(c>0,1,30,150,'今日均线:'+numtostr(均线,2)+'元'),coloryellow;
drawtextex(c>0,1,30,200,'布林下轨:'+numtostr(下均,2)+'元'),colorffff00;
drawtextex(c>0,1,30,250,'布林带宽:'+numtostr(dk,2)+'%'),colorffff00;
drawtext(filter(cross(c,ref(hhv(h,480),1)),10),c,'突破'),coloryellow;
t:=barscount(c);
tp:= filter( c>=hhv(h,t) and v>ma(v,0)*2 and dynainfo(17)>1 and time0>39600 ,240) ;
drawtext(tp,c,'★突破'),colorred;
a:=ref(hhv(high,240),1);
aa:=a[datacount];
b:=ref(llv(low,240),1);
bb:=b[datacount];
zj1:=(((high + low) + (2 * close)) / 4);
zj2:=(((zj1 - ema(zj1,21)) / std(zj1,21)) * 100);
zj3:=ema(zj2,5);
zj4:=ema(zj3,2);
zj5:=ema(zj4,2);
zj6:=(((3 * zj4) - (2 * zj5)) / 2);
if((zj6 > 90),(aa * 0.998),aa),linethick2,coloraaee33;
if((zj6 < (0 - 95)),(bb * 1.002),bb),linethick2,colordd66aa;
kp30:=time0<36000;
kpgd:=h=hhv(h,0) and kp30;
gdsj:=barslast(kpgd);
hh:ref(h,gdsj),colorff00ff,pointdot,linethick2;
过顶:=if(cross(c,hh),1,0),color00ff00,pointdot,linethick0;
冲高:=if(filter(cross(c,hh*1.01),15),1,0),color00ffff,pointdot,linethick0;
drawtext(过顶,hh,'↑'),color00ff00,align1;
drawtext(冲高,hh,'★'),color00ffff,align1;
rc:=dynainfo(3);//前收
q:=datacount;
hh:=dynainfo(5);//最高
ll:=dynainfo(6);//最低
f:=max(hh-rc,rc-ll);
ff:=f/rc*100;//最大半振幅
////////******** ㈡在副图2叠加其他指标 ********
//副图2变换所需数据
q2h:=if(ff<1,0.9797*rc,rc-2*f*1.016);//分时副图2最高位置
q2l:=if(ff<1,0.9697*rc,rc-3*f*1.011);//分时副图2最低位置
//以下清除原始的指标线,并画横坐标线
fillrgn(1,q2h,q2l),color723500;
cz:=(q2h-q2l)/6;
趋势线:=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;
a1:=趋势线;
a2:=见底信号;
a3:=90;
mh:=hhv(max(a1,a2),0);
ml:=llv(min(a2,a1),0);
mb:=(q2h-q2l)/(mh[q]-ml[q]);//缩放比例,选macd或diff来计算缩放比例
my:=(q2h+q2l-mb*(mh[q]+ml[q]))/2;//平移值
趋势线:a1*mb+my,colorgreen;//副图2显示原来的diff指标线
见底信号:a2*mb+my,coloryellow;//副图2显示原来的dea指标线
顶部: a3*mb+my,coloryellow;
b1:="macd.diff";
b2:="macd.dea";
b3:="macd.macd";
mh:=hhv(max(b1,b3),0);
ml:=llv(min(b3,b1),0);
mb:=(q2h-q2l)/(mh[q]-ml[q]);//缩放比例,选macd或diff来计算缩放比例
my:=(q2h+q2l-mb*(mh[q]+ml[q]))/2;//平移值
diff:b1*mb+my,colorwhite;//副图2显示原来的diff指标线
dea:b2*mb+my,coloryellow;//副图2显示原来的dea指标线
macd:=b3*mb+my;//副图2显示原来的macd指标线
stickline(macd>my,my,macd,1,1),colorred;
stickline(macd<my,my,macd,1,1),colorcyan;
hlm1:=ma(hhv(h,485),17);
hlm2:=ma(hhv(h,222),17);
hlm3:=ma(hhv(h,96),17);
hlm4:=ma(llv(l,485),17);
hlm5:=ma(llv(l,222),17);
hlm6:=ma(llv(l,96),17);
hlm7:=ma((hlm1*0.558+hlm2*0.558+hlm3*0.558+hlm4*0.96+hlm5*0.96+hlm6*0.96)/6,17);
hlm8:=ma((hlm1*0.55+hlm2*0.55+hlm3*0.65+hlm4*1.25+hlm5*1.23+hlm6*1.2)/6,17);
hlm9:=ma((hlm1*0.68+hlm2*0.68+hlm3*0.68+hlm4*1.3+hlm5*1.3+hlm6*1.3)/6,17);
hlm10:=ma((hlm7*3+hlm8*2+hlm9)/6*1.738,17);
hlm11:=sma(abs(l-ref(l,1)),3,1)/sma(max(l-ref(l,1),0),3,1)*100;
hlm12:=ma(if(c*1.35<=hlm10,hlm11*10,hlm11/10),3);
hlmh:=hhv(hlm12,30);
关注:=ma(if(l<=llv(l,13),(hlmh+hlm11*2)/2,0),3)/200;
drawtext(cross(关注,1.2),c*0.998,'↑▲'),colorff00ff;
ma5:=ma(c,5);
ma10:=ma(c,10);
ma20:=ma(c,20);
ma30:=ma(c,30);
ma60:=ma(c,60);
ma120:=ma(c,120);
fa:=barslast(cross(ma10,ma5)) and cross(ma5,ma10);
fb:=fa and ma5>ma30 and ma10>ma30 and ma10>ref(ma10,1);
drawtext(fb,l*0.095,'雄起'),coloryellow;
fa2:=barslast(cross(ma60,ma20)) and cross(ma20,ma60);
fb2:=fa2 and ma20>ma120 and ma60>ma120 and ma20>ref(ma20,1);
drawtext(fb2,l*0.095,'雄起'),coloryellow;
vl:=ref(low,1);
var12:=(sma(abs(low-vl),13,1))/(sma(max(low-vl,0),13,1))*100;
var14:=ma(var12,13);
var15:=llv(low,34);
var18:=ema(if(low<=var15,var14,0),3);
var110:=sma(sma((close-llv(low,54))/(hhv(high,54)-llv(low,54))*100,7,1),5,1);
var111:=sma((close-llv(low,54))/(hhv(high,54)-llv(low,54))*100,7,1)*16.18-var110*10.9;
t:=filter(if(var111<=var110 and var18>ref(var18,1),var18*8,0),20);
drawtext(t,low*0.995,'←洗盘结束'),colorff00ff;
drawtext(t,low*0.998,'|'),colorff00ff;
var21:=(close-llv(low,36))/(hhv(high,36)-llv(low,36))*100;
var22:=sma(var21,3,1);
var23:=sma(var22,3,1);
var24:=sma(var23,3,1);
var25:=cross(var23,var24) and var23<20;
drawtext(filter(var25,10)=1,low*0.995,'←抄底'),colorred;
drawtext(filter(var25,10)=1,low*0.998,'|'),colorred;
var29:=cross(var24,var23) and var23>80;
drawtext(filter(var29,5)=1,high*1.005,'←逃顶'),colorblue;
drawtext(filter(var29,5)=1,high*1.002,'|'),colorblue;
x1:=ref(close,1);
mc:=((sma(max((close - x1),0),7,1) / sma(abs((close - x1)),7,1)) * 100);
drawtext(cross(80,mc),h*1.002,' 快卖'),colorwhite;
drawtext(cross(mc,20),l*0.998,' 短买'),colorff;
varf:=(2*close+high+low)/4;
var10:=llv(low,34);
var11:=hhv(high,34);
var12:=ema((varf-var10)/(var11-var10)*100,6);
var13:=ema(0.667*ref(var12,1)+0.333*var12,4);
var14:=llv(low,120);
var15:=hhv(high,120);
var16:=var15-var14;
drawtext(if(count(close<ref(close,1),8)/8>0.3 and count(var12>var13,3) and ref(low,1)=llv(low,120) and
close>open,1,0),low,'★注意进场');
a6:=ref(close,1);
a7:=((sma(max(close-a6,0),6,1))/(sma(abs(close-a6),6,1)))*(100);
a8:=((2)*(close)+high+low)/(4);
a9:=llv(low,34);
a10:=hhv(high,34);
a11:=ema(((a8-a9)/(a10-a9))*(100),6);
a12:=ema((0.66699999)*(ref(a11,1))+(0.333)*(a11),4);
drawtext(if(((count((close<ref(close,1)),8))/(8)>0.30000001) and count((a11>a12),3) and (ref(low,1)=llv(low,120)) and (close>open),1,0),low,'=买'),color0000ff;
drawtext(cross(85,a7),high,'-进入风险'),color0000ff;
上一指标公式:FZ实时盯盘涨停选股分时公式 飞狐涨停选股指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文FZ实时布林分时公式 飞狐实时布林指标 源码仅供学习研究。