The trigger price for stop orders depends on the product.
For FX Spot: Stop to buy is triggered by the Bid price. Stop to sell is triggered by the Ask price.
For Index CFDs, Futures CFDs: Stop to buy is triggered by the Ask price. Stop to sell is triggered by the Bid price.
For Stock CFDs, Stocks, ETFs, Futures: Stops are triggered by the Last Traded price.