The problem is occurring in Simulation mode for both long and short entries. I would appreciate any help please.
ShortEntryOrder1=EnterShortLimit(0,false,2,EntryOr derPrice,"MyShortEntry1");
ShortEntryOrder2=EnterShortLimit(0,false,1,EntryOr derPrice,"MyShortEntry2");
ShortStopOrder1=ExitShortStop(0,true,order.Filled, StopOrderPrice, "MyShortStop1", "MyShortEntry1");
ShortTargetOrder = ExitShortLimit(0, true, order.Filled, TargetOrderPrice, "MyShortTarget", "MyShortEntry1");
ShortStopOrder2 = ExitShortStop(0, true, order.Filled, StopOrderPrice, "MyShortStop2", "MyShortEntry2");
Comment