Questions from Beginners MQL5 MT5 MetaTrader 5 - page 979
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
Hello. Do you know if there is a set of ready-to-use functions for MQL5? For example, the MQL4 library by Igor Kim aka KimIV https://www.mql5.com/ru/forum/131859
All these functions can be cross-platform (work the same in MT4 and MT5 without changing the code) if you use the MT4Orders library.
All these functions can be cross-platform (without changing the code to work the same in MT4 and MT5) if you use the MT4Orders library.
I have created an EA in mql5 and copied everything from it. I have created an EA in mql5, copied into it everything from mql4 and attached the library. At the beginning there were 104 errors without the library and 74 with the library. That is quite understandable, because the description of the library says that the library coversonly the order system!And I have lots and lots more things in my EA...
There are plenty of examples of EA conversions using this method. Initially I was not talking about your EA, but about Kim's functions.
There are plenty of examples of EA conversions using this method. Originally, this was not about your EA, but about Kim's functions.
I got it, thank you. I will keep in mind that such a library exists, but I still need to learn MQL5. There are few examples of ready-made MQL5 functions that could be remade in MQL5.
You need to write for yourself. The approach: one function for all occasions is wrong.
A universal one, which could cut quid while the computer is off. And preferably in large denominations. You can write it in eurynotes. ))))
You have to write it for yourself. The approach: one function for all occasions is wrong.
I really need a MQL5 FUNCTION TO CHECK IF A TODAY'S SALE WAS ENDED. If yes, then true, if no, then false (with Magic of course). I use this function on MT4.
I really need a FUNCTION in MQL5 that would check if a trade was made today. If yes, then true, if no, then false (with Magic set, of course). I use this function on MT4.
Please try to insert the code correctly first. No desire to look at your sheet of plain text.
I really need a FUNCTION in MQL5 that would check if a trade was made today. If yes, then true, if no, then false (with Magic set, of course). I use this function in MT4.
It is in MQL5
Returned value
Returns true if successful, otherwise false.