Errors, bugs, questions - page 1384

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
A timer, in this case, is a bad solution. And in the tester, timers are a total bummer.
If I understand correctly, the point comes down to the simplest thing.
At every tick in the EA using TimeCurrent(), we need to get the answer to the question "Is it time to place the order now?" and...
Dear developers!
I cannot understand one thing, what data type identifiers are available in MQL4? Or are they not available?
Dear developers!
I cannot understand one thing, what data type identifiers are available in MQL4? Or are they not available?
Please clarify what we mean by "Data Type Identifiers".
For example, in CArrayFloat class the Type method returns TYPE_FLOAT, but it is not mentioned in MQL4 help. So I have a question, is it a misprint when porting the library from MQL5 to MQL4 or an oversight in MQL4 help?
the event = open time is done, this event is analysed as finding this event in the time fork and plus, after opening an order, the open flag has to be set and added to further analysis to exclude reopening of the order...
For example, the event model can be made on the <queue> container...
Hello! If you can help me, please write more details. thanks in advance.
In order, I would roughly do the following:
1. a variable with a reference time of order opening is declared (how to insert the necessary value into it is a separate topic)
2) Determine a fork of, for example, 5 minutes from the order opening time in case of a failure (for example, a connection failure with the server)
3) Declare the open order flag and "reset" it if the order hasn't been opened yet.
4. In OnTimer with the necessary discretization, we check if the order has entered the open time fork + item 2, and the flag state according to item 3
- if the order is in the fork, then:
a) open an order
b) set the flag to open the position
- If we are not in a fork, we wait for the next check :)
So there you go...
Please clarify what is meant by "data type identifiers".
you still haven't answered:
к примеру в классе CArrayFloat метод Type возвращает TYPE_FLOAT, но в справке по MQL4 это не отражено, вот и возник вопрос, это опечатка при портировании библиотеки из MQL5 в MQL4 или недоработка справки в MQL4 ?
And 2015.09.24 08:34:51.704 invalid 'C:\Users\vr-vo\AppData\Roaming\MetaQuotes\Terminal\50CA3DFB510CC5A8F28B48D1BF2A5702\MQL4\indicators\Market\product.ex4' license
Service Desk Application
Open, Started: 2015.09.24 07:33, #1308904
Hi, a question about MT4. Can you tell me if during optimization it can distribute load between two or more CPU cores? I ran optimization on VPS, here is a screenshot http://prntscr.com/8jv7m3 you can see that one core is loaded and the second one is "resting" ....