I have a working strategy using multiple instruments, however, I seem to have gotten a problem with it. When I attach a SetProfitTarget(), the strategy will post a double entry and exit every time it hits the profit target on the same bar. If I set the profit target high enough for it to not get hit at all then the strategy will run as normal. If I set it to a single tick then I will get a double entry and exit on every signal that triggers it.
This problem seems to only happen when I use a multi instrument strategy, it doesn't happen on a single instrument strategy.
Anyone have any ideas on how I can fix this problem?
Comment