Anyone please?
dakr2019:
Anyone please?
Anyone please?
What is the problem actually ? There is not, just your understanding about how it works is incomplete.
Maybe this article will help.
![Orders, Positions and Deals in MetaTrader 5 Orders, Positions and Deals in MetaTrader 5](https://c.mql5.com/36/26/orders-positions-and-deals-in-metatrader.jpg)
Orders, Positions and Deals in MetaTrader 5
- www.mql5.com
The ultimate goal of a trader is to extract profits through the means of trading operations on the financial markets. This article describes the terms and processes of the MetaTrader 5 trading platform, the knowledge of which is necessary for a proper understanding of the work of trade functions of the MQL5 language. Orders — are the trade...
Thanks very much this makes sense now that I need to get the time executed from the deal. I have a another question below please:
![Modifying filled order Modifying filled order](https://c.mql5.com/36/26/modifying-filled-order.jpg)
Modifying filled order
- 2019.05.12
- www.mql5.com
Hi, I can't seem to be able to modify an order. Example below...
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I'm getting a bit frustrated on how to get order fill time in MQL5. Used the following just to get the information from the last order.
My confusion/frustrations are:
1) MQL5 doesn't register any order in HistoryOrdersTotal until it is filled.
2) The time returned seemed to be wrong:
What is the easiest way to get the time orders are placed and filled? I want to do this check inside OnTick
I note that in MQL5 OrdersTotal(0) returns number of pending orders, where OrdersTotal() in MQL4 returned number of both market and pending orders.