飞狐爬山收益指标公式
2020/2/19 17:59:37
rsv:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
stickline(1,50,50,1,0),pointdot,Linethick2,colorff0000;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
rsv1:=(hhv(h,9.8)-c)/(hhv(h,9.8)-llv(l,9.8))*101;
kk:=sma(rsv1,3,1);
dd:=sma(kk,3,1);
jj:=3*kk-2*dd;
wwqq:=if(jj>=100,100,if(jj<=0,0,jj));
j:wwqq,colorred,linethick1;
PARTLINE(j,j>d),colorgreen,linethick1;
PARTLINE(j,j=100),colorwhite,linethick2;
stickline(j<k,j,k,1,0),colorYELLOW;
FILLRGN(k,d,k>=d),colorred;
FILLRGN(k,d,k<d),colorblue;
drawicon(cross(d,k),d,10);
ww:=(ma(c,1)+ma(c,3)+ma(c,5)+ma(c,7)+ma(c,9))/5;
a:=(ma(c,2)+ma(c,4)+ma(c,6)+ma(c,8)+ma(c,10))/5;
b:=ema(ww,3);
var1:=ema(a,10);
aa:=ema(amount,1)/ema(v,1)/100;
bb:=if(1,dma(b,aa),0);
var29:=if(1,dma(var1,aa),0);
var29a:=2*(bb-var29)*100;
bb:=ema(var29a,2);
ddss:=max(2*(bb-var29),0)*100;
bx23:=if(c<800,ema(var29a,2),if(c>800,ema(var29a,2)/100,0));
(強弱等級):if(bx23>=100,6,if(bx23>=80 and bx23<100,5,if(bx23>=60 and
bx23<80,4,if
(bx23>=40 and bx23<60,3,if(bx23>=20 and bx23<40,2,if(bx23>=0 and
bx23<20,1,if
(bx23<0 and bx23>=-30,-1,if(bx23<-30 and bx23>-60,-2,if(bx23<-60 and
bx23>-100,-
3,if(bx23<-100,-4,0)))))))))),linethick0;
(強弱):bx23,linethick0;
drawicon(cross(d,j),50,4);
drawicon(cross(j,d),50,5);
drawtext(ref(j,1)=0 and j>0,5,'--顶'),colorwhite;
{别样红}
Var1:=REF(HIGH,1)*1.1;
Var2:=HIGH*1.1;
Var3:=(Var2*VOL+Var1*(CAPITAL-VOL))/CAPITAL;
Var4:=REF(LOW,1)*0.9;
Var5:=LOW*0.9;
Var6:=(Var5*VOL+Var4*(CAPITAL-VOL))/CAPITAL;
Var7:=EMA(Var6,30);
Var8:=EMA(Var3,30);
Var9:=Var8-2;
VarA:=IF(CLOSE<=Var7,Var9,Var8);
别样:= VarA;
红:= Var9;
if(别样=红,80 ,110),coloryellow,linethick1;
drawtext((cross(80,j) or cross(85,j)) and count(别样=红,3)>=1,90,'-反弹攻击');
stickline((cross(80,j) or cross(85,j)) and
count(别样=红,3)>=1,90,50,4,1),linethick2;
drawicon((cross(80,j) or cross(85,j)) and count(别样=红,3)>=1,95,8);
drawicon((cross(80,j) or cross(85,j)) and count(别样=红,3)>=1,92,8);
看股吧 公式 www.kanguba .com
其它股票公式列表