Ask about gap

 
When market is closed at 11833, I stay pending order BuyStop at 11840, SellStop at 11825. Next day market opened at 11880. Buy pending isn't opened at 11840, buy pending opened at 11880. Why that happened? When I test that on strategy tester it opened 11840. 
 
Erdenebayar Lamjav:
When market is closed at 11833, I stay pending order BuyStop at 11840, SellStop at 11825. Next day market opened at 11880. Buy pending isn't opened at 11840, buy pending opened at 11880. Why that happened? When I test that on strategy tester it opened 11840. 


Pending orders become market orders when triggered.

The market was at 11880 when the pending order was triggered, so that was the price you got.

 
Erdenebayar Lamjav: When I test that on strategy tester it opened 11840. 
'Testing Features and Limits in MetaTrader 4' - MQL4 Articles
  • Instant Execution mode is assumed to be used in trades, being processed without slippage
  • Processing orders, Open/Close without slippages
Reason: