OPEN-SOURCE SCRIPT
Updated Dziwne MFI Overlay (with highlight)

It is simply your traditional MFI, except that your 50 line became the actual price.
Why and how could it be useful? This indicator helps to spot more easily and efficiently divergences.
You could also use it for trend reversals as you usually do with your 50 line, but I would suggest to set a higher length for the MFI, like 155 or something like that.
Why and how could it be useful? This indicator helps to spot more easily and efficiently divergences.
You could also use it for trend reversals as you usually do with your 50 line, but I would suggest to set a higher length for the MFI, like 155 or something like that.
Release Notes
Updated. Calculations totally rethought. I also added the overbought and oversold areas on the graph (you can disable it).Release Notes
Changed the default mult value from 8 to 10.Release Notes
Added : — Source customisation (added it as an input and is now fully customisable)
— Easy color customisation (now available in the input menu, you can now create your own color scheme more easily)
— Possibility to hide OB and OS lines (added in the input section)
Minor changes :
— Translated the title parts in English to help understrand how everything is calculated more easily
— Renamed some variables to be more consistent in the code
— Changed the linewidth of the MF line to 1
— Changed the transparency of the highlight and background colors from 90 to 85 to be a tiny bit more visible
Removed :
— Removed EMA smoothing for more precision
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.