Bezzus

(FRAMA) Fractal Adaptive Moving Average

This script plots UP TO 4 FRAMAs ( Fractal Adaptive Moving Average ), a particularly useful adaptive MA which uses fractal price theory to "adapt" itself, or better, to auto-adjust its parameters. It's quite reactive, but its major strength resides in its ability to filter the noise during lateral price movements, avoiding some false signal provided by more common moving averages.

By default, the script plots the basic FRAMA version, the one firstly developed by John Ehlers , but also provides the possibility to play with the parameters, to obtain a modified FRAMA .
Unfortunately I'm not able to provide web sources about FRAMA here, due to Tradingview policies. So search online if you need more details about FRAMAs.

Please show me your support if you like my scripts. Hope you enjoy them.
Note di rilascio: Updates:
- Script converted to v4
- FRAMA coded as a function
Note di rilascio: .
Note di rilascio: Updates:
- Removed unnecessary code lines.
- Other minor fixes.

@Bezzus
Rimuovi dagli script preferiti Aggiungi agli script preferiti

Commenti

Finally a code that doesn't look like a child wrote it.
+1 Rispondi
Bezzus EduardoMattje
@EduardoMattje, thanks for your appreciation!
Rispondi
Really well written function. Fantastic stuff =)
Rispondi
What are the FRAMA shift limits used for?
Rispondi
Bezzus Canundo
@Canundo, Hi! FRAMA is an adaptive moving average. It uses fractal geometry to dynamically adjust its smoothing period; to explain it more in detail, the variable D you can see inside the code is called 'Fractal dimension' of prices. D varies together with price movements and when it varies, so does the smoothing period. FC and SC are the lower and upper limits for the smoothing period. So if you use the default version of this code, you know that your FRAMA varies between an MA1 and an MA198.
+3 Rispondi
@Bezzus, Thank you for the explanation!
Rispondi
Bezzus Canundo
@Canundo, the other parameters "MA length" define how many past observations you want to use to compute the D variable
+1 Rispondi
@version=4 version please!
Rispondi
Home Screener azioni Screener forex Screener cripto Calendario economico Come funziona Caratteristiche Grafico Costi Invita un amico Regolamento Centro di supporto Soluzioni per broker & siti web Widget Librerie grafiche Libreria grafica leggera Blog & Novità Twitter
Profilo Impostazioni profilo Account e fatturazione Amici invitati Coin I miei ticket di supporto Centro di supporto Idee pubblicate Follower Seguiti Messaggi Privati Chat Esci