I am using 2 different entry/stop/target signals, like "longlimit1" and "longlimit2"
I am able to get both orders submitted, and both stops and targets working properly. My problem is, is when one target gets hit, it cancels the remaining stop and target.
So, say the target for "longlimit1" gets hit, it should just cancel the stop for "longlimit1", instead it is canceling both the target and stop for "longlimit2" and leaving me with one open contract and no stops/targets.
The two stops/targets have different oco id's in the order list.
It seems to work fine in backtesting, I can see both entries and both exits where they should be, but running it in live or in replay is when the orders get canceled when they shouldn't.
In the initialize section I have these set: Any ideas?
EntriesPerDirection = 1;
EntryHandling = EntryHandling.UniqueEntries;

Comment