指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:FZ财富侦探公式 飞狐财富FZ指标 源码
fz财富侦探
横向参数:close/ma(close,13)-indexc/ma(indexc,13);
var1:=ema(ma(if(close>open,(close-open)*vol,if(close<open,(close-open)*vol,0)),5),1);
var2:=ema(ma(if(close>ref(close,1),(close-ref(close,1))*vol,if(close<ref(close,1),(close-ref(close,1))*vol,0)),5),1);
var3:=ema(ma(if(open>ref(close,1),(open-ref(close,1))*vol,if(open<ref(close,1),(open-ref(close,1))*vol,0)),5),1);
var4:=ema(ma(if(close<open,(open-close)*vol,if(close>open,(open-close)*vol,0)),10),1);
var5:=ema(ma(if(close<ref(close,1),(ref(close,1)-close)*vol,if(close>ref(close,1),(ref(close,1)-close)*vol,0)),10),1);
var6:=ema(ma(if(open<ref(close,1),(ref(close,1)-open)*vol,if(open>ref(close,1),(ref(close,1)-open)*vol,0)),10),1);
var7:=close>open;
var8:=close>ref(close,1);
var9:=open>ref(close,1);
vara:=var7 or var8 or var9;
varb:=(var1+var2+var3)/3/100;
varc:=(var4+var5+var6)/3/100;
vard:=ema((count(var8,12)/12+count(var7,12)/12+count(var9,12)/12)/3*ma(varb,5)*2*1.1,2);
vare:=varc>0 or varb<vard;
varf:=varc>0 and varb>vard;
var10:=varc<0 and cross(varb,vard);
var11:=varc>0 and cross(varb,vard);
var12:=varc<0 and varb>vard and (close+open)/2>ma(close,5);
var13:=vare and (close+open)/2<ma(close,5) or close<ma(close,30);
var14:=var12 and var13;
var15:=abs(varb-varc);
var16:=abs(vard-varc);
var17:=abs(-varc);
var18:=abs(-vard);
var19:=if(varc<0 and varb>vard and (close+open)/2>ma(close,5),abs(varb-varc),0);
var1a:=if(vare and (close+open)/2<ma(close,5) or close<ma(close,30),abs(vard-varc),0);
var1b:=if(not(var14),abs(vard-varc),0);
var1c:=max(var1b,max(var19,var1a));
var1d:=max(var15,max(var16,max(var17,var18)));
var1e:=min(var15,min(var16,min(var17,var18)));
var1f:=max(varb,max(varc,vard));
var20:=min(varb,min(varc,vard));
var21:=(varb+varc+vard)/3;
var22:=var15 or var17 or var18;
var23:=var16 or var17;
var24:=var16;
var25:=varc<0 and varb>vard and (close+open)/2>ma(close,5);
var26:=vare and (close+open)/2<ma(close,5) or close<ma(close,30);
var27:=if(varc<0 and varb>vard and (close+open)/2>ma(close,5) and ref(var26,1),abs(varb-varc),0);
var28:=ref(var1a,1)<>0 or ref(var1b,1)<>0;
var29:=ref(var1a,1)<>0 and ref(var1b,1)<>0;
var2a:=var1b=var1c and ref(var19,1)<>0;
var2b:=(close-llv(low,20))/(hhv(high,20)-llv(low,20))*100;
var2c:=(15*var2b+14*ref(var2b,1)+13*ref(var2b,2)+12*ref(var2b,3)+11*ref(var2b,4)+10*ref(var2b,5)+9*ref(var2b,6)+8*ref(var2b,7)+7*ref(var2b,8)+6*ref(var2b,9)+5*ref(var2b,10)+4*ref(var2b,11)+3*ref(var2b,12)+2*ref(var2b,13)+ref(var2b,14))/120;
var2d:=(20*var2c+19*ref(var2c,1)+18*ref(var2c,2)+17*ref(var2c,3)+16*ref(var2c,4)+15*ref(var2c,5)+14*ref(var2c,6)+13*ref(var2c,7)+12*ref(var2c,8)+11*ref(var2c,9)+10*ref(var2c,10)+9*ref(var2c,11)+8*ref(var2c,12)+7*ref(var2c,13)+6*ref(var2c,14)+5*ref(var2c,15)+4*ref(var2c,16)+3*ref(var2c,17)+2*ref(var2c,18)*ref(var2c,19))/210;
var2e:=3*var2c-2*var2d;
var2f:=(5*var2e+4*ref(var2e,1)+3*ref(var2e,2)+2*ref(var2e,3)+ref(var2e,4))/15/50+4-3;
多空量能:var2f,pointdot,linethick0;
var30:=ema(0.667*ref(var2f,1)+0.333*var2f,2);
var31:=var2f*1;
var32:=var30*1;
var33:=sum(max(max(high-low,abs(high-ref(close,1))),abs(low-ref(close,1))),10);
var34:=high-ref(high,1);
var35:=ref(low,1)-low;
var36:=sum(if(var34>0 and var34>var35,var34,0),10);
var37:=sum(if(var35>0 and var35>var34,var35,0),10);
var38:=var36*100/var33;
var39:=var37*100/var33;
var3a:=(var38-var39)/30;
var3b:=close/ref(ema(close,30),30);
var3c:=indexc/ref(ema(indexc,30),30);
相对强度:var3b/var3c*10-10;
stickline(var3a>=0,var3a-5,-5,3,0),linethick1,colorff;
stickline(var3a<0,reverse(var3a)-5,-5,3,0),linethick1,colorffff00;
var3d:=(high+low)/2;
var3e:=sma(var3d,5,1)-sma(var3d,34,1);
var3f:=sma(var3e-sma(var3e,5,1),5,1);
var40:=var3e>ref(var3e,1) and var3f>ref(var3f,1);
var41:=var3e<ref(var3e,1) and var3f<ref(var3f,1);
var42:=var3e>ref(var3e,1) and var3f<ref(var3f,1);
var43:=var3e<ref(var3e,1) and var3f>ref(var3f,1);
混沌多空:stickline(var40,var2f,var2f*1.1,2,0),linethick2;
stickline(var41,var2f,var2f*1.1,2,0),linethick2,colorff00;
stickline(var42,var2f,var2f*1.2,2,0),linethick2,colorffff;
stickline(var43,var2f,var2f*1.1,2,0),linethick2,colorffff00;
stickline(横向参数>=0,reverse(横向参数)*30+5,5,3,0),linethick1,colorff;
stickline(横向参数<0,横向参数*30+5,5,3,0),linethick1,colorffff00;
stickline(var25,varb/50,varc/50,3,0),linethick1,colorffff;
stickline(not(var14),vard/50,varc/50,3,0),linethick1,colorff;
stickline(var26,vard/50,varc/50,3,0),linethick1,colorffb61b;
stickline(var26 and not(var14) and ref(var19,1),vard/50,varc/50,3,0),linethick1,colorff;
stickline(var12 and close>ma(close,5),0,varc/50,3,0),linethick1,colorff;
stickline(varf,0,vard/50,3,0),linethick1,colorffb61b;
stickline(var2a,var1f/50,var20/50,3,0),linethick1,colorff00;
>>>使用本站搜索工具可以找到更多“FZ财富侦探公式 飞狐财富FZ指标 源码”