PFE (Function)
The PFE (Polarized Fractal Efficiency) function calculates an efficiency of price movement between two price points by comparing the straight-line distance between the two price points to the actual distance that price traveled between the two price points. The calculations are based on the Pythagorean theorem. See referenced article below for more information.
Syntax
PFE(Price, Length, UseAdjustedBaseLength)
Returns (Double)
A numeric value for the fractal efficiency of the price movement between the two price points Length bars apart.
points
Parameters
Name | Type | Description |
Price | NumericSeries | Set the price to use in calculations. |
Length | Numeric | Sets the number of bars over which the efficiency is calculated. |
UseAdjustedBaseLength | TrueFalse | True when the number of bars over which the price change occurred is the value of the Length input minus one; False when the number of bars over which the price change occurred is the value of the Length input |
Reference
Hans Hannula, Ph.D., CTA, Polarized Fractal Efficiency, Technical Analysis of Stocks & Commodities, V. 12:1 (38-41).