Dziwne MFI Overlay (with highlight)

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.
— 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
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.