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,

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.