The price displayed on the chart is the bid, therefore, you need to ensure that the triggered price was based on the bid price.
On Buy positions, your Stop Loss, Take Profit orders will be triggered at bid price.
On Sell positions, your Stop Loss, Take Profit orders will be triggered at ask price.
As for pending orders, Buy Pending orders (Buy Limit and Buy Stop) will be triggered at ask price. Sell pending orders (Sell limit, Sell stop) will be triggered at bid price.