Alas, not quite so. I have already shown here how I received code 10012, zero order ticket, but the order was executed. MQ are silent on this matter.
I wrote a crutch for it, but it will be possible to check it only after receiving 10012 again ).
This is an exception to the rules, and a person cannot understand the difference between orders, deals and positions. And you also confuse him with exceptions))))))
When he understands how it works, he will be able to write a check for his own needs.
This situation - there are indicator values in csv file, recorded from a single tester run - indicator values are calculated on each tick.
I want to use this data for optimisation in OHLC mode - to check for coincidence of the condition in a particular minute of trading. Optimisation on ticks is better not to propose - such a test will grow multiple times and is unnecessary for such optimisation.
The problem is that the file is large - about a million lines, and it is labour-intensive to correlate the pair "date, time - value" at each minute.
Here and think how to do - so far here are the following thoughts: creating a custom symbol and comparing values with it; use of a database. Can you tell me what solution would be optimal, maybe someone who has solved such a problem?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Alas, not quite so. I have already shown here how I received code 10012, zero order ticket, but the order was executed. MQ are silent on this matter.
I wrote a crutch for it, but it will be possible to check it only after receiving 10012 again ).
This is an exception to the rules, and a person cannot understand the difference between orders, deals and positions. And you also confuse him with exceptions))))))
When he understands how it works, he will be able to write a check for his own needs.
... and a person can't understand the difference between orders, trades and positions . ..
When he understands how it works, he will be able to write a check for his own needs.
Everything is described in detail here.
Regards, Vladimir.
thanks, seems to have it figured out!!!!
thanks, seems to have it figured out!!!!
A position is opened when an order is executed, i.e. a deal is made and the order goes into history.
What to do if not all functions are available in MQL5
Forget mql4 altogether and constantly read mql5 documentation.
What to do if not all functions are available in MQL5
Your question is not clear. First clarify your question:
- Are we talking about already existing functions in MQL5?
- Is there a function in the set of ready-made functions in MQL5, but it does not work?
- Do you need a certain function, but there is no such function in the set of ready-made MQL5 functions?
Regards, Vladimir.Your question is not clear. First, clarify your question:
- Are we talking about already existing functions in MQL5?
- Is there a function in the set of ready-made M QL5, but it does not work?
- Do you need a certain function, but there is no such function in the set of ready-made MQL5?
Regards, Vladimir.As it was found out later, this is one of those who pollutes the whole forum with his question. He even created a separate topic...
As it was later found out, it's one of those people who clogs up the whole forum with his question. He even created a separate topic...
Hi Alexey, now everything is clear.
Regards, Vladimir.