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.
No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.