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
How about OrderMagicNumber() ? Thanks
How about OrderMagicNumber() ? Thanks
iBarShift() is easy to use but iBarShiftMQL4() is quite complex. And so on...
Why both "TickValue() and SymbolInfoDouble(_Symbol,SYMBOL_TRADE_TICK_VALUE)" always return "0"?!
Hi, Rosh:
I am very appreciated you said that:" I have plans to develop the MQL4 emulator, which will allow you to run your MQL4 programs in new MetaTrader 5 client terminal."
I am not a good programme designer but a trader. MQL5 is too difficult for me.
Waiting for your MQL4 emulator. TKS a Million!
Best Wishes for you.
I found a mistake
If only one chart window is open. Then the ID of this window of = -1
-
Also be careful on the precedence. I spent half a day debugging a logic and found that the precedence of && and || are different between MQL4 (|| first) and MQL5 (&& first). So in migrating from MQL4 to MQL5, make sure you search through all the comparison expressions.
Also be careful on the precedence. I spent half a day debugging a logic and found that the precedence of && and || are different between MQL4 (|| first) and MQL5 (&& first). So in migrating from MQL4 to MQL5, make sure you search through all the comparison expressions.
You are right. See Precedence Rules:
Each group of operations in the table has the same priority. The higher the priority of operations is, the higher it is position of the group in the table. The precedence rules determine the grouping of operations and operands.
Attention: Precedence of operations in the MQL5 language corresponds to the priority adopted in C++, and differs from the priority given in the MQL4 language.
I found a mistake
If only one chart window is open. Then the ID of this window of = -1
-
My mistake, it is true. :)
Hello
I will be pleased to know if all these functions have been validated, I didn't succed
to make the function "CopyBufferMQL4" working.
Thank you
Noel