TradingView
Bezzus
2020년 5월 16일 오후 1시 27분

(FRAMA) Fractal Adaptive Moving Average 

Bitcoin / TetherUSBinance

설명

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.

릴리즈 노트

Updates:
- Script converted to v4
- FRAMA coded as a function

릴리즈 노트

.

릴리즈 노트

Updates:
- Removed unnecessary code lines.
- Other minor fixes.

@Bezzus
코멘트
EduardoMattje
Finally a code that doesn't look like a child wrote it.
Bezzus
@EduardoMattje, thanks for your appreciation!
kurtsmock
Really well written function. Fantastic stuff =)
misterstealyourgirl
nice
Canundo
What are the FRAMA shift limits used for?
Bezzus
@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.
CryptoGearBox
@Bezzus, Thank you for the explanation!
Bezzus
@Canundo, the other parameters "MA length" define how many past observations you want to use to compute the D variable
Bodedo
@version=4 version please!
더보기