shiva12 wrote: ↑Sun Jul 09, 2017 8:27 pm

Dear mladen can it possible in the MT4 this is meta stock formula

i just want to check % B with heiken ashi ....

Using a heikin ashi re-calculated closing price, a TEMA average and the zero-lagging technique, we can create this indicator with more clear turning points.

please see into it dear mladen , if already it was there plz let me know

thanks and regards

{Sylvain Vervoort SVE_BB%b}

period:=Input("%b period: ",1,100,18);

TeAv:=Input("Tema average: ",1,30,8);

afwh:= Input("Standard deviation high ",.1,5,1.6);

afwl:= Input("Standard deviation Low ",.1,5,1.6);

afwper:= Input("Standard deviation period ",1,200,63);

haOpen:=(Ref((O+H+L+C)/4,-1) + PREV)/2;

haC:=((O+H+L+C)/4+haOpen+Max(H,haOpen)+Min(L,haOpen))/4;

TMA1:= Tema(haC,TeAv);

TMA2:= Tema(TMA1,TeAv);

Diff:= TMA1 - TMA2;

ZlHA:= TMA1 + Diff;

percb:=(Tema(ZLHA,TeAv)+2*Stdev(Tema(ZLHA,TeAv),period)- Mov(Tema(ZLHA,TeAv),period,WEIGHTED))/(4*Stdev(Tema(ZLHA,TeAv),period))*100;

percb;

50+afwh*Stdev(percb,afwper);

50-afwl*Stdev(percb,afwper);

50