Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

PFE_Overlay - indicator for MetaTrader 5

Views:
3820
Rating:
(12)
Published:
2018.09.27 15:05
PFE_Overlay.mq5 (15.41 KB) view
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The Polarized Fractal Efficiency Overlay (PFE_Overlay) indicator is designed for identifying trends. Unlike Polarized Fractal Efficiency, the indicator is displayed on the price chart as the main indicator line and two lines of the calculated StdDev deviation value.

There are seven configurable parameters:

  • Fast ROC period - fast ROC (Rate of Change) calculation period;
  • Slow ROC period - slow ROC (Rate of Change) calculation period;
  • MA period - MA calculation period;
  • PDS - sensitivity;
  • Avg period - deviation calculation period;
  • Deviation;
  • Show deviations - Yes/No.

Calculations:

PFE = BL + (100.0 + RAW) / scale
TL = MA + Deviation * Dev
BL = MA - Deviation * Dev

where:

MA = SMA(Avg period)
Dev = StdDev(Avg period, MODE_SMA)
scale = 200.0 / (TL - BL)
  • Если Close > Close[Slow ROC period]
    RAW = 100.0 * Z
  • Else:

    RAW = -100 * Z
Z = X / Y
X = Sqrt(SlowROC * SlowROC + 100.0)
Y = Sqrt(FastROC * FastROC + 1.0) + PDS
SlowROC = 100.0 * (Close / Close[Slow ROC period]-1)
FastROC = 100.0 * (Close / Close[Fast ROC period]-1)

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21665

PFE PFE

The Polarized Fractal Efficiency (PFE) indicator is designed for identifying trends.

Expert Ichimoku Expert Ichimoku

An Expert Advisor based on the iIchimoku (Ichimoku Kinko Hyo) indicator.

ROCX ROCX

ROCX is a modified ROC (Rate Of Change) indicator displaying an absolute or relative price change.

ColorXPWMA_Digit ColorXPWMA_Digit

A colored smoothed PWMA that displays the most recent value as a price label with the possibility to round the indicator levels up to a required number of digits.