OPEN-SOURCE SCRIPT

MAMA FAMA KAMA

.. chameleon 🎵

Uses Kaufmann's Efficiency Ratio to generate adaptive inputs for Ehler's MAMA/FAMA. Alphas from the Hilbert transform are then used in place for the KAMA calculation.

Original MAMA/FAMA by everget : link

--------------------------------------

If you find it useful please consider a tip/donation :

BTC - 3BMEXEDyWJ58eXUEALYPadbn1wwWKmf6sA
adaptiveAdaptive Moving Average (AMA)efficiencyratiofamaMESA Adaptive Moving Average (MAMA)mesaMoving Averages

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer