fz帝江.alg
drawgbk(c=c,colorrgb(260,50,260),colorrgb(180,0,180),1);
drawtextex(c,1,0,0,'红线买卖线,红线上买,红线下卖'),colorred;
drawtextex(c,1,0,40,'黄线多空线,黄线出买,黄线无卖'),colorffff;
vertline(islastbar),pointdot,colorffff;
x0:=(open);
x1:=hhv(x0,21);
x2:=llv(x0,7);
买卖线:(x1+x2)/2,colorred;
tmp:=买卖线-close;
drawline(abs(tmp)<0.00001,low,abs(tmp)<0.00001,open,0),colorwhite;
drawline(abs(tmp)<0.00001,high,abs(tmp)<0.00001,open,0),colorwhite;
stickline(tmp>0.00001,low,close,1,3),colorcyan;
stickline(tmp>0.00001and open>=close,open,close,10,0),colorcyan;
stickline(tmp>0.00001and open<close,open,close,10,1),colorcyan;
stickline(tmp<-0.00001,low,high,1,3),colorred;
stickline(tmp<-0.00001and open>=close,open,close,10,0),colorred;
stickline(tmp<-0.00001and open<close,open,close,10,1),colorred;
xx1:=ref(ma(vol,5),6)<ref(ma(vol,135),4);
xx2:=min(ref(open,4),ref(close,4))/ref(low,4)>1.035 and (min(ref(open,4),ref(close,4))-ref(low,4))/abs(ref(open,4)-ref(close,4))>2
and ref(low,4)/ref(low,5)<0.97;
xx3:=ref(open,4)/ref(low,5)<0.97 and ref(close,4)/ref(open,4)>1.05;
xx4:=llv(low,3)>(ref(high,4)+ref(low,4))/2;
xy1:=ref(ma(vol,5),2)<ma(vol,135);
xy2:=min(open,close)/low>1.035 and (min(open,close)-low)/abs(open-close)>2 and low/ref(low,1)<0.97;
xy3:=open/ref(low,1)<0.97 and close/open>1.05;
螺旋:stickline(xy1 and (xy2 or xy3),open,close,5,0),colorgray;
drawtext(xy1 and (xy2 or xy3),low*0.95,'螺旋'),colorgray;
螺旋量成立:stickline(xx1 and (xx2 or xx3) and xx4,open,close,5,0),colorwhite;
drawtext(xx1 and (xx2 or xx3) and xx4,low*0.95,'螺旋量成立'),colorwhite;
c1:=intpart(close/0.809)*0.809;d:=intpart(close/80.9)*80.9;
抵抗:if(c>100,d,c1) ,pointdot,linethick3,colorbrown;
e:=intpart(close/0.764)*0.764;f:=intpart(close/76.4)*76.4;
防卫:if(c>100,f,e),pointdot,linethick3,colorgray;
a:= 防卫+0.809;b:=防卫+80.3;
攻击:if(c>100,b,a),pointdot,linethick3,colormagenta;
bbi:=(ma(close,3)+ma(close,6)+ma(close,12)+ma(close,24))/4;
v2:=if(barstatus=1,vol*240/minute/ref(vol,1)-1,vol/ref(vol,1)-1);
stickline(v2>=1,o,c,3,0),coloryellow;
drawtext(v2>=1,high*1.05,'立庄量'),coloryellow;
t12:=v2>=1;
t0:=barslast(t12);
l1:=ref(l,t0);
h1:=ref(h,t0);
l11:=min(ref(l,1),l);
l10:=min(l11,ref(l,2));
l21:=max(ref(l,1),l);
l20:=max(l21,ref(l,2));
t111:=(ref(v2>=1,3) or ref(v2>=1,2) or ref(v2>=1,1)) and ((l10>l1 and l20>h1) or (l11>l1 and l21>h1) or (l>h1));
t11:=t111 and ref(t111,1)=0;
stickline(t11,o,c,3,0),color3399ff;
drawtext(t11,high*1.05,'立庄量成立'),color3399ff;
a:=barscount(close);
ah:=hhv(high,72);
al:=llv(low,72);
a0:=((ah - al) / 21);
b1:=(low - a0);
drawtext((((a + 0) / 13) = floor(((a + 0) / 13))),(b1 - (2.5 * a0)),'。时窗'),colorffffff;
qlife:=(ema(close,60)+ema(close,90))/2,pointdot,linethick4,colorff00;
g:=if(high=hhv(high,3),1,0);
d:=if(low=llv(low,3),1,0);
s:=if(ref(g,2)=1 and ref(g,1)=0 and g=0,ref(high,2),ref(high,2+(barslast(ref(g,2)=1 and ref(g,1)=0 and g=0))));
x:=if(ref(d,2)=1 and ref(d,1)=0 and d=0,ref(low,2),ref(low,2+(barslast(ref(d,2)=1 and ref(d,1)=0 and d=0))));
上压力:=if(high>=ma(close,1),s,ref(s,barslast(high>ma(close,1)))),pointdot,linethick3,colorff00ff;
下支撑:=if(low<=ma(close,5),x,ref(x,barslast(low<=ma(close,5)))),pointdot,linethick3,colorffff00;
k1:=上压力;
k2:=下支撑;
c1:=ref(close,1)<=k1 and close>k1;
c2:=ref(close,1)>=k2 and close<k2;
k3:=barslast(c1);
k4:=barslast(c2);
多空线:partline(k3<k4,k2),linethick2,colorffff;
hh:=high;
ll:=low;
oo:=open;
cc:=close;
<%
vh=ffl.vardata("hh")
vl=ffl.vardata("ll")
vo=ffl.vardata("oo")
vc=ffl.vardata("cc")
last=ubound(vh)
if last<101 then
b=last+1
else
b=0
for i=last-101 to last-51
vh(i)=vh(i+51)
vl(i)=vl(i+51)
vo(i)=vo(i+51)
vc(i)=vc(i+51)
next
a=(vh(last-51)+vl(last-51))/2
j=1
for i=last-49 to last
j=j+2
vh(i)=2*a-vl(i-j)
vl(i)=2*a-vh(i-j)
vo(i)=2*a-vc(i-j)
vc(i)=2*a-vo(i-j)
next
end if
ffl.vardata("hh")=vh
ffl.vardata("ll")=vl
ffl.vardata("oo")=vo
ffl.vardata("cc")=vc
ffl.varstartindex("hh")=b
ffl.varstartindex("ll")=b
ffl.varstartindex("oo")=b
ffl.varstartindex("cc")=b
%>
a:=backset(islastbar,50);
stickline(a and cc>=oo,oo,cc,6,1),shift50,colorff00ff;
stickline(a and cc>=oo,ll,oo,0.1,1),shift50,colorff00ff;
stickline(a and cc>=oo,cc,hh,0.1,1),shift50,colorff00ff;
stickline(a and cc<oo,oo,cc,6,0),shift50,colorff00;
stickline(a and cc<oo,ll,hh,0.1,0),shift50,colorff00;
tjts:=backset(islastbar,5);
上一指标公式:FZ烛九阴公式 飞狐九阴指标 源码
下一指标公式:建仓分析公式 飞狐建仓指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文FZ帝江公式 飞狐FZ指标 源码仅供学习研究。