The profit target operates on a fraction of the original trade quantity. I want to exit the rest of the order quantity at a different point in time (with a different exit condition).
This is where the troubles begin. Using ExitLong(0,....) fails with the error in the order trace: "SignalName does not have matching FromEmtrySignal to exit." I have checked and verified that my signal names are correct. It just does not exit.
However, if I use ExitLong(), with no arguments, I exit as expected.
I would like to exit with a limit order, and not simply exit with ExitLong().
Is there a known bug regarding signalName for entrance/exit functions?
This problem is very similar to an earlier problem I had here:
Bertrand started to work on this problem, but I eventually discovered a workaround.
Now, that workaround no logner works with my broker, and I am back to where I started.
Suggestions?
Comment