Polarized Fractal Efficiency

Top  Previous  Next

Category: Advanced Indicator Set 1

 

Input parameters

Name

Setting

Default

Close

Close Time Series

Close

Period

Integer >= 1

10

Smoothing Period

Integer >= 1

5

 

Calculations

Path1 = Sqrt( (Close Close[Period])^2 + Period^2 )

Path2 = Sum(from i=0 to Period-1)Sqrt( (Close[i] Close[i-1])^2 + 1 )

FractalEfficiencyTmp = Sign(Close Close[Period]) * Path1 / Path2 * 100.0

FractalEfficiency = ExpMovAvg(FractalEfficiencyTmp, Smoothing Period),

where:

Close[Period] (or Close[i]) is Close Period (or i) bars back,

Sign(a) is +1 if a>0 and 1 if a<0,

Sqrt(a) is square root of a,

Sum is a summation operation,

ExpMovAvg is Exponential Moving Average over Smoothing Period bars.

Path1 is simply the hypotenuse of the big triangle formed by the current Close and Period bars ago Close. Path2 is the sum of hypotenuses of small triangles formed by each Close point.

 

Discussion

Suggested by Hans Hannula [1], the Polarized Fractal Efficiency indicator is, in the essence, an exponentially smoothed ratio of the length of two lines: (1) of a straight line between todays close and the close Period days ago, and (2) of a broken line connecting all Close points between today and Period days ago. The indicator output varies between -100 and 100. The theory behind this indicator is that if it is >50 (or <-50) then the market is likely to reverse its trend from positive to negative (or from negative to positive).

 

References

1. Hannula, Hans, Polarized Fractal Efficiency, Technical Analysis of Stocks & Commodities, January 1994, v.12, no.1, p.38-41.