Automatic closure of open orders can occur for the following reasons:
- Stop out
- Stop Loss (SL) and Take Profit (TP)
Stop out
The most frequent reason of orders closing automatically is stop out, which is the automatic closure of positions when the margin level of a trading account reaches its stop out level.
You can calculate the margin level and anticipate your stop out level:
Margin level = (Equity / Margin) x 100%
Stop Loss (SL) and Take Profit (TP)
Stop Loss and Take Profit are types of pending orders that can automatically close orders when an order hits a level of loss or profit defined by the trader.
SL and TP levels cannot be reached without being set by a trader.