DislikedThe only thing the EA uses to close a trade is the TDI crossing in the reverse direction, going flat or going negative. Try setting these all to false and see if this stops it from closing a trade.
I have not experienced this, but have only used the reverse cross so far. It could be because TDI recalculates on each tic it is triggering one of these.
Let me know your results and I may have to rethink the TDI close signal, maybe its jumping around. I will see if I can add some code to display what it is doing and see if it is changing.Ignored