飞狐翻番一号指标公式
2020/2/15 18:46:09
var1:=sma(max(max(h-l,abs(h-ref(c,1))),abs(l-ref(c,1))),14,1);
var2:=h-ref(h,1);
var3:=ref(l,1)-l;
var4:=sma(if(var2>0 and var2>var3,var2,0),12,1);
var5:=sma(if(var3>0 and var3>var2,var3,0),12,1);
var6:=var4*100/var1;
var7:=var5*100/var1;
var8:=sma(abs(var7-var6)/(var7+var6)*100,12,1);
var9:=(var8+ref(var8,5))/2;
vara:=sum(h-o,12)/sum(o-l,12)*100;
varb:=sum(max(0,h-ref(c,1)),12)/sum(max(0,ref(c,1)-l),12)*100;
varc:=amount/v/100;
vard:=(3*h+l+o+2*c)/7;
vare:=sum(amount,5)/varc/100;
varf:=sum(amount,13)/varc/100;
var10:=sum(amount,34)/varc/100;
var11:=sum(amount,209)/varc/100;
var12:=ref(v,1)+ref(v,2)+ref(v,3)+ref(v,4);
var13:=var12/capital;
var14:=v/capital*vard+var13*ref(varc,1);
var15:=dma(vard,v/vare);
var16:=dma(vard,v/varf);
var17:=dma(vard,v/var10);
var18:=dma(vard,v/capital);
var19:=ma(hhv(h,488),18);
var1a:=ma(hhv(h,220),18);
var1b:=ma(hhv(h,98),18);
var1c:=ma(llv(l,488),18);
var1d:=ma(llv(l,220),18);
var1e:=ma(llv(l,98),18);
var1f:=ma((var1c*0.96+var1d*0.96+var1e*0.96+var19*0.558+var1a*0.558+var1b*0.558)/6,18);
var20:=ma((var1c*1.25+var1d*1.23+var1e*1.2+var19*0.55+var1a*0.55+var1b*0.65)/6,18);
var21:=ma((var1c*1.3+var1d*1.3+var1e*1.3+var19*0.68+var1a*0.68+var1b*0.68)/6,18);
var22:=ma((var1f*3+var20*2+var21)/6*1.738,18);
var23:=if(date<=1331231,var22,var22*day);
var24:=l;
var25:=ref(l,1);
var26:=sma(abs(var24-var25),3,1)/sma(max(var24-var25,0),3,1)*100;
var27:=ma(if(c*1.35<=var23,var26*10,var26/10),3);
var28:=llv(l,30);
var29:=hhv(var27,30);
var2a:=if(l<=var28,(var27+var29*2)/2,0);
提示:ma(var2A and c<cost(1),3),stick,Linethick3,colorffff;
买入:ma(var2a and c<cost(1),3) and (c-var16)/var16*100<2-13,stick,Linethick3,colorff00;
趋势:=ema(3*sma((c-llv(l,27))/(hhv(h,27)-llv(l,27))*100,5,1)-2*sma(sma((c-llv(l,27))/(hhv(h,27)-llv(l,27))*100,5,1),3,1),5)/100;
幻:提示 AND 趋势<0.2,stick,COLORRED;
欢喜:if((ref(c,13)-c)/ref(c,13)*100>15 and sum(v/capital,13)*100<18 and v/capital*100<2.5 and (ref(c,1)-c)/ref(c,1)*100<8,0.7,0),stick,Linethick3,colorffcc66;
v2:=(c-ref(c,1))/ref(c,1)*100;
v3:=ma(v,2)/ma(v,10);
v4:=v/capital;
a1:=0.007*v2-0.007*v3-0.568*v4-0.01;
a2:=0.002*v2-0.012*v3+1.746*v4-0.007;
a3:=-0.000*v2+0.047*v3-0.573*v4-0.055;
发财:-12.24*a1-1*a2+0.321*A3<0,stick,Linethick3,color99cc66;
b1:=(c-ma(c,27))/ma(c,27)<-0.16;
翻番:stickline(b1,0,0.5,2,0),stick,Linethick3,colorff;
投 股票网 www.to u18.cn
股市公式下载推荐