PFE (Polarized Fractal Efficiency) Indicator

 

Hi

Has anyone the PFE indicator? I have the code for MetaStock but can't translate it to MetaTrader. May someone can help me :-)

Mov(If(C,>,Ref(C,-9),Sqr(Pwr(Roc(C,9,$),2) + Pwr(10,2)) /
Sum(Sqr(Pwr(Roc(C,1,$),2)+1),9),-
Sqr(Pwr(Roc(C,9,$),2) + Pwr(10,2)) /
Sum(Sqr(Pwr(Roc(C,1,$),2)+1),9))*100,5,E) 

Regards

Kalle

 
kalle557:

Hi

Has anyone the PFE indicator? I have the code for MetaStock but can't translate it to MetaTrader. May someone can help me :-)

Mov(If(C,>,Ref(C,-9),Sqr(Pwr(Roc(C,9,$),2) + Pwr(10,2)) /
Sum(Sqr(Pwr(Roc(C,1,$),2)+1),9),-
Sqr(Pwr(Roc(C,9,$),2) + Pwr(10,2)) /
Sum(Sqr(Pwr(Roc(C,1,$),2)+1),9))*100,5,E) 

Regards

Kalle

Take a look a this https://www.mql5.com/en/code/8059

I'm using this one without logarithmic scale.

Giampiero

Reason: