In this case we only go long.
Modified logic, not using OB/OS
The rules are : we check if we are in a uptrend on psar, together with a positive value in , is above the middle line(50), using a big length, and lastly the is superior to the
For exit, we check the opposite, like downtrend psar, negative value , < 50, and <
If you have any questions let me know.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.
Discord group: https://discord.gg/hudcJvcCAq
Telegram group: https://t.me/atrader_life