I programmed my strategy to exit a position after reaching a max amount of gain. Today I was testing my strategy, I was in a long position, I reached my max gain, the strategy closed the position, but still the stop and target orders remained active. The function Im using to exit that position was ExitLong().
¿Does anyone know what could be causing this issue?
Thank you!
Comment