It easier and a bit cleaner to set the StopLoss/ProfitTarget. My issue is that I don't know when the StopLoss/ProfitTarget
has been executed. I need to know how to determine that as I set a boolean to true when in a current trade and I
need to reset that boolean to false once the trade closes. Since my code is not executing the close of the trade I
I don't know when to reset it.
Is there a signal, or something that I can track when the automatic StoppLoass/ProfitTarget has been executed?
Any help would be greatly appreciated.
Comment