For example,
Let's say my default quantity when starting the strategy is 2 contracts.
If I'm currently using a gtc bracket like this:
ExitShortStopMarket(0, true, execution.Quantity, stop, "BEAR STOP", "BEAR TRIGGER");
ExitLongMIT(0, true, execution.Quantity, target, "BULL TARGET", "BULL TRIGGER");
Do I need to setup 2 seperate entries with their own exits?
Like this:
if(trigger conditions met)
EnterLong(Quantity, "BULL TRIGGER 1");
EnterLong(Quantity, "BULL TRIGGER 2");
ExitLongMIT(0, true, execution.Quantity, target, "BULL TARGET 1", "BULL TRIGGER 2");
ExitLongMIT(0, true, execution.Quantity, target, "BULL TARGET 2", "BULL TRIGGER 2");
or can i just create a var that is assigned half of the position side and send 2 stops out with the same name each for 1 contract like this:
int halfExecution = (execution.Quantity / 2);
ExitLongMIT(0, true, halfExecution, target, "BULL TARGET", "BULL TRIGGER");
ExitLongMIT(0, true, halfExecution, target2, "BULL TARGET2", "BULL TRIGGER");
************
So in other words, can I have 2 separate exits for the same entry trigger?
Comment