Single post

The New and Hip MQL5


The order management system has been changed by the MetaTrader 5. With an order request, the trade operation is executed thoroughly and the result is a trade. The position is the total state of trades on financial security. Normally, financial security has only one position. There are unlimited orders but only one result for the pair. Therefore, it wouldn’t be possible to hedge the orders anymore.
 
The change in the trading system was conducted in order to make MQL5 compatible with the other markets where this was the standard system. MQL5 lets the system operate on a wider range of target markets than the previous version MetaTrader 4. With MQL5, the trading system as we know it has been rewritten.

MQL5 takes away the hedge ability because it offsets the short and the long trades in a single position. This is not good news to most traders because they use hedging as their trading strategy. By moving the accounts from the United States to the United Kingdom (they still allow hedging) will be pointless because the brokers have switched to MQL5.

But there is an upside to this. The MQL5 asks the user to “Add a position” in the same way that the previous version used to do. This means that the “closing” no longer has a real meaning connected to the individual orders. “Closing the position” means that the 2 lots sold are 2 lots long but in the MQL5 system this is not an individual order. If these orders do not have an open or closed status, then there would be mini positions that are made available per symbol. Any financial security can only have one position.
 
The equity works the same way whether the status is order-based or position-based. If one is involved in buy and sell and these open at the same time, then the size will definitely reveal a hedge and the equity will not move. The effect of this position model has an effect on the active management in the EA. As a coordinator, you have to know which orders are opened and which could be implemented in the history. There is an array that is updated for each time that a pending order has been filled.
 
With the system, the running difference on each pair results to disorder. Imagine if you have someone working on daily strategy and the other one working on the pairs of each time frame. For each close, the position might take on a different size. If you ran complex strategies on a pair, the strategy will not work. At some point, the strategy works on the pair that goes short for about 1 lot – on both accounts. With Metatrade 4, there are 2 positions managed by two different systems. But with the MQL5, the position is close and flat. Therefore, the MQL5 has to come to terms of each order before it is placed. Everything must be calculated and be in its position before the orders come to the platform.
 
Here are a couple of suggestions from the traders involved in MQL5. The unique limitation must be maintained in order to separate the orders. There is the need to manage futures and stock and with this system, this is made possible because it adds a market constraint. Another way to achieve this is to overload the OverSend function that is targeted specifically to that market.
 
Some brokers claim that for the trading stock and forex, one must have a separate account. If this is true, then the matter can be resolved just by ordering the management. If the trade is required from the OTC account, then the management must maintain the regulated market so that the new OverSend function can be maximized by the management. This is the reason why MQL5 is so trendy and hip. It finds solutions to these concerns.

theme by teslathemes