Ok, thank you can you share with the community how you plan to develop it.

My approach is to save some trade statistics using algovar variables, but it has some side-effects. It has limitations.

Thank you