I've added a script from the Public Library, and it is calculated incorrectly and/or I don't understand how it works

Scripts of the Public Library are written by TradingView users. If you have any questions related to such a study, please contact its author directly. You can find the author nickname next to the script title in the Indicators dialog window:

Hem Aktie-screener Forex-screener Krypto-screener Ekonomisk kalender Om Diagramfunktioner Priser Tipsa en vän Ordningsregler Hjälpcenter Webbsidor och mäklarlösningar Widgets Diagramlösningar Lightweight Charting Library Blogg och nyheter Twitter