Thanks for the quick response @Enivid . I actually thought that after posting.Thank you for your suggestion! Currently, it looks like this would be quite different from what the PSC is doing. I believe it would be better implemented as a separate tool - an EA or indicator.
I started making a prototype EA with what I know and tools I have.
I will share it with you so you can have a look and see if it can have value here. (i would also like suggestions for any improvements in the code or the insconsistencies in the calculations I am having with it)