LazyBear

Indicator: Fractal Adaptive Moving Average (FRAMA)

BTCE:BTCUSD   Bitcoin / Dollar
5893 16 26
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: http://etfhq.com/blog/2010/09/30/fractal-adaptive-moving-average-frama/

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


Had to update the source again to support the latest script engine changes:
Here's the new code - http://pastebin.com/6xyjP2ST



Appreciate any comments/feedback,
Doesn't FRAMA have two indicators? An FC and SC?
Reply
Hi LazyBear,
According to etfhq's article,

"We selected a modified FRAMA with a 'FC' of 4, a 'SC' of 300 and a 'FRAMA' period of 126 as being the most effective fast FRAMA although the settings for a standard FRAMA will also produce excellent results."

(source: http://etfhq.com/blog/2010/10/09/frama-is-it-effective/)

Your version has 2 parameters ("period of fractal", and "W") instead of the 3 which etfhq refers to. Could you explain how your params relate to what etfhq describes?

Thanks,
Ed
+1 Reply
Hi,
Thanks for all your great indicators.
Would it be possible for you to update the FRAMA to use the new ETF HQ modified version that they say is a lot better.

http://etfhq.com/blog/2010/09/30/fractal-adaptive-moving-average-frama/#Mod
+1 Reply
Sadly it seems this code doesn't seem to work anymore? Even when I load the chart which you posted with the indicator it doesn't load.
+1 Reply
I'm going to give this a try
Reply
Hi, Lazybear, why the code has this error, can you help me? thanks,
Error: Undeclared identifier `frama`
+1 Reply
TradingView script engine has been updated/modified since I published this. Updated code: http://pastebin.com/tnM3Pt64

Thanks for bringing this to my notice.
+3 Reply
ChartArt LazyBear
Ah, I didn't see your comment here. This code works. Thanks!
Reply
I love these non-standard technical indicators, man. I showed off your 4MACD last night in the daily discussion of http://reddit.com/r/BitcoinMarkets (giving you full credit). Keep it up.
+1 Reply
United States
United Kingdom
India
Deutschland
France
España
Italia
Polska
Türkiye
Россия
Brasil
Indonesia
Malaysia
ประเทศไทย
Việt Nam
日本
한국
简体
繁體
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Priority Support Contact Support Ideas Published Followers Following Private Messages Chat Sign Out