Why was the order not executed at the declared price?

Buy Stop, Sell Stop, and Stop Loss orders are executed at the current price at the time of order processing. Buy Limit, Sell Limit, and Take Profit orders are executed at the price of the order.