指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:盘整盘-尼罗河公式 飞狐盘整指标 源码
盘整盘-尼罗河tt:=date<1181231;
aaa:=1;
e:=(open+high+low+close*2)/5;
z:=(high+low+close)/3;
x:=(high+low+close*2)/4;
bb1:=ema(slope(x,2)*1.78+x,2);
x1:=(bb1*2+x)/3.0005;
bb2:=ema(slope(x,2)*1.3+x,2);
xx2:=(bb2*2+(x+e+z)/3)/3.0015;
x2:=(e+xx2*2)/3*aaa;
hl:=ema(high,6);
ll:=ema(low,6);
xx:=if(close>hl,x1,x2);
ch:=cross(xx,hl);
cl:=-cross(ll,xx);
tf:=if(ch,ch,if(cross(ll,xx),cl,0));
ud:=ref(tf,barslast(tf));
控盘线:=if(ud>0,ll,hl);
多空价:=round(控盘线);
stickline(xx>多空价andaaa,high,low,1,0),colorff;
stickline(xx>多空价andaaa,close,open,7,0),colorff;
stickline(xx<多空价andaaa,high,low,0.1,0),colorff00;
stickline(xx<多空价andaaa,close,open,7,0),colorff00;
rsv:=(close-llv(low,13))/(hhv(high,13)-llv(low,13))*100;
k:=sma(rsv,9,1);
d:=sma(k,6,1);
金字塔:=k-d;
sarn:=sar(7,4,15);
金字塔1:=close-sarn;
diff:=ema(close,8)-ema(close,24);
dea:=ema(diff,8);
金字塔2:=2*(diff-dea);
drawicon(aaaand金字塔>0and金字塔1>0and金字塔2>0andref(金字塔,1)<0,low,'b'),align0,pxdn40;
drawicon(aaaand金字塔>0and金字塔1>0and金字塔2>0andref(金字塔1,1)<0,low,'b'),align0,pxdn40;
drawicon(aaaand金字塔>0and金字塔1>0and金字塔2>0andref(金字塔2,1)<0,low,'b'),align0,pxdn40;
explainicon(aaaand金字塔>0and金字塔1>0and金字塔2>0andref(金字塔,1)<0,'b');
explainicon(aaaand金字塔>0and金字塔1>0and金字塔2>0andref(金字塔1,1)<0,'b');
explainicon(aaaand金字塔>0and金字塔1>0and金字塔2>0andref(金字塔2,1)<0,'b');
a11:=barslast(aaaand金字塔>0and金字塔1>0and金字塔2>0andref(金字塔,1)<0);
a12:=barslast(aaaand金字塔>0and金字塔1>0and金字塔2>0andref(金字塔1,1)<0);
a13:=barslast(aaaand金字塔>0and金字塔1>0and金字塔2>0andref(金字塔2,1)<0);
playsound(ref(a11,1)=0,0,'eff06');
playsound(ref(a12,1)=0,0,'eff06');
playsound(ref(a13,1)=0,0,'eff06');
drawicon(aaaand金字塔<0and金字塔1<0and金字塔2<0andref(金字塔,1)>0,high,'s'),align0,pxup40;
drawicon(aaaand金字塔<0and金字塔1<0and金字塔2<0andref(金字塔1,1)>0,high,'s'),align0,pxup40;
drawicon(aaaand金字塔<0and金字塔1<0and金字塔2<0andref(金字塔2,1)>0,high,'s'),align0,pxup40;
explainicon(aaaand金字塔<0and金字塔1<0and金字塔2<0andref(金字塔,1)>0,'s');
explainicon(aaaand金字塔<0and金字塔1<0and金字塔2<0andref(金字塔1,1)>0,'s');
explainicon(aaaand金字塔<0and金字塔1<0and金字塔2<0andref(金字塔2,1)>0,'s');
b11:=barslast(aaaand金字塔<0and金字塔1<0and金字塔2<0andref(金字塔,1)>0);
b12:=barslast(aaaand金字塔<0and金字塔1<0and金字塔2<0andref(金字塔1,1)>0);
b13:=barslast(aaaand金字塔<0and金字塔1<0and金字塔2<0andref(金字塔2,1)>0);
x:=barscount(close);
stickline(isequalandx=1,high,low,0.1,0),color5050ff;
stickline(isequalandx=1,close,open,7,0),color5050ff;
rc:=ref(close,1);
xa:=if(rc>high,rc,0);
xb:=if(high>=rcandrc>low,high,0);
xc:=if(rc<=low,high,0);
xd:=xa+xb+xc;
ya:=if(rc>high,low,0);
yb:=if(high>=rcandrc>low,low,0);
yc:=if(rc<=low,rc,0);
yd:=ya+yb+yc;
atr:=sma(xd-yd,20,1);
stdh:=ema(close,20)+2*atr;
stdl:=ema(close,20)-2*atr;
miu:=(stdh+stdh+stdh+stdl)/4;
mid:=(stdh+stdl+stdl+stdl)/4;
partline(close>0andaaa,stdh),linethick3,colorff0000;
partline(close>0andaaa,miu),linethick1,colorff0000;
partline(close>0andaaa,stdl),linethick3,colorff00ff;
partline(close>0andaaa,mid),linethick1,colorff00ff;
>>>使用本站搜索工具可以找到更多“盘整盘-尼罗河公式 飞狐盘整指标 源码”