stopOrder = ExitLongStop(0, true, 1, stopPrice, "Stop", "MyEntry");
and then later moves or trails the stop price with a different SignalName:
stopOrder = ExitLongStop(0, true, 1, stopTrailPrice, "TrailStop", "MyEntry");
Does the back-tester know to cancel the first open stop order (SignalName="Stop") when the new stop order (SignalName="TrailStop") is accepted or does the back-tester keep two stop orders open? In other words, do I need code in OnOrderUpdate to cancel the first stop order when the changed stop order with a different SignalName is accepted?
Thanks,
David
dbw451
Comment