Indicator: Fractal Adaptive Moving Average (FRAMA)

FRAMA is a type of AMA that uses fractal geometry to dynamically adjust its smoothing period to suit the changing price action over time.

See more at: etfhq.com/blog/2010/09/30/fractal-adaptive-moving-average-frama/

[Update: April 26, 2014]
Updated code to support new TV script engine: pastebin.com/tnM3Pt64.
Code published won't work, plz use the code from the above link.

[Update: May 24,2014]
Had to update the source again to support the latest script engine changes:
Here's the new code - pastebin.com/6xyjP2ST



Appreciate any comments/feedback,

List of my free indicators: bit.ly/1LQaPK8
List of my indicators at Appstore: blog.tradingview.com/?p=970
Also on:

Disclaimer