Hi, Tradingview Community.
I wrote the CPR script few years back. With PineScript now in version 6, I thought I should rewrite with the features available in version 6. So, here is the new PriceCatch Opensource CPR.
You will see current and previous CPR. Previous CPR is in grey color. Since the source is open, feel free to make any additions/modifications as per your needs.
After looking at most CPR code in Tradingview, you will notice that this is a clean version without cluttering your chart unnecessarily. So, check it out.
All the best with your trades.