Bitduke

Ehlers Fractal Adaptive Moving Average with Bands [Bitcoinduke]

FRAMA – What is it?

Fractal Adaptive Moving Average Technical Indicator ( FRAMA ) was developed by John Ehlers, code was implemented by TradingView user Shizaru. I've updated it to Pine Script 4 and added Bands Extension.
This indicator is constructed based on the algorithm of the Exponential Moving Average , in which the smoothing factor is calculated based on the current fractal dimension of the price series.

Advantages:
  • possibility to follow strong trend movements
  • determine moments of price consolidation ( FRAMA sufficiently slow down at these moments)

FRAMA + Bands

The FRAMA serves as a base for the Upper and Lower Bands which are used as a way to measure volatility by observing the relationship between the Bands and price. Typically the Upper and Lower Bands are set to two standard deviations away from the FRAMA ; however it should be adjusted depending on the task.

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 a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?