Hi, I program in python and have good knowledge about entries and exit. We may discuss more over a call and I may be able to help you since I have had similar issues in my calculation and I have now solved it.