The script was originally coded in 2018 with Pine Script version 3, and it was in invite only status. It has been updated and optimised for Pine Script v5 and made completely open source.
According to the feedback, I dedicated my last two days to identifying potential problems. I observed that the default PSAR calculation on TradingView is fast-oriented. I identified the issue at 2024-06-02 20:00 UTC and 2024-06-03 00:00 UTC candles at BTCUSD symbol on BITSTAMP 4h interval. The Parabolic SAR was recalculated when the trend direction changed. Therefore, I had to implement a lagging version of PSAR on top of the default PSAR calculation. With this release, you can observe that the default PSAR is lagging PSAR for the indicator. In other words, the PSAR value generated with TradingView's built-in functionality was causing the PSAR value not to be persistent when the trend direction changed. Now, with the lagging PSAR, the value of PSAR is persistent when the direction changes. Therefore, it provides more reliable signals and better visualisation. The default lagging PSAR line colours are now yellow and fuchsia.
W prawdziwym duchu TradingView autor tego skryptu opublikował go jako open source, aby inwestorzy mogli go zrozumieć i zweryfikować. Pozdrowienia dla autora! Możesz go używać bezpłatnie, ale ponowne użycie tego kodu w publikacji podlega Zasadom Regulaminu. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.