Post code.
Market orders are executed at bar close or next bar open (or..depending on Fill mode). Stop/Limit orders - intrabar.