Question: Why MT5's (MetaTrader5) Pending Orders are cancelled(or not executed) automatically?
There is only one possible reason of “Pending Orders being cancelled”, which is you didn’t have sufficient funds to execute that order
As FXPro has set in its trading platforms, all pending orders(to open positions such as Sell/Buy Limit and Sell/But Stop) will be automatically cancelled in case the trading account didn’t have sufficient funds to open that position.
Pending orders to close positions are different, thus “Take Profit” and “Stop Loss” will be executed when the market price reaches to the point even if you don’t have your trading account logged in.
Alternatively, you may have mistakenly observed the price chart as in you haven’t confirmed where is the “Ask Price”(where you place a buy order).
If you look at the above price chart, there are two lines in it.
The read one above is the “Ask Line” and the white one below is the “Bid Line”.
And with a default setting, you can actually see only the “Bid Price Line” and the “Ask Line” needs to be added after by manually setting it.
That above “Ask Line” is where you buy a position, thus if you have a sell(short) position then that red “Ask Line” is where you can close the position.
Trailing Stop don’t work when offline
In case you have “Trailing Stop” order set up on MT5, then you must keep the trading platform opened and logged in order to keep it functional.
In case you have closed the platform or logged out, all “Trailing Stop” orders will be cancelled automatically.
This is because the platform doesn’t send the order information to the trading server like other pending orders.
To solve this problem, you may need to use VPS(Virtual Private Server) so you can run “Trailing Stop Orders” and “Expert Advisers” 24/7 at anytime, continuously.