I have an Edit object . After I type a value in it, I want this Edit object to be deleted (i.e. when I press the Enter or anything else or click the mouse to finish the editing, I need the Edit to be deleted). Is it possible to detect in MQL (without using WinAPI) if the Edit lost the focus
I need to get only today's orders (both open/closed). This function runs 5 times within every second (please don't ask why, I need it). My problem is I only can do it by examine all orders of the given account. It can be a big problem if the account's history has a huge number of orders . Is it
My EA ran without any problem all day, opened and closed the trades as it should. But, after some time it gave the "Not enough rights" error and did not open the trades. See picture of the Journal tab. What is it and why did happen
Hi, I tried these TerminalInfoIntegers, but without success: TERMINAL_MEMORY_PHYSICAL Physical memory in the system, Mb This gives wrong value TERMINAL_MEMORY_TOTAL Memory available to the process of the terminal , Mb This gives wrong value TERMINAL_MEMORY_AVAILABLE Free memory of the terminal
Guys, there are strange things in MT4 with array sizing that never happened before. If I use this, no problem: double array[ 655 29 ]; But if I use this, I got a compiler message (" the size of local variables is too large (more than 512kb) ") double array[ 655 30 ]; I can't remember such
Hi guys, This code: int a= 50 ; double c= 2.55 ; Comment (a*c, " / " , MathRound (a*c), " # " , MathRound ( 127.5 )); Gives this: 127,5 / 127.0 # 128.0 Why not: 127,5 / 128.0 # 128.0
Hi, I want to get the indicator data from a separate window. I need to do it in universal way. I mean, doesn't matter if it is an RSI window or MACD or anything else. I want to collect the indicator data into an array, regardless of what indicator it is (in other words: i need to get the data
After updating to 1280 build, my MetaEditor stopped working. I am on Linux and Wine. Before the upgrade everything was good. When I click the MetaEditor icon in the MT4 toolbar, nothing happens and I got the message in the Journal: "MetaEditor not found". The metaeditor.exe is in the proper folder
Hi, This very annoying error is here again. I cannot enter to my MQL account with the MT4 terminal (and MetaEditor): authorization failed. The same problem happened already 1-2 months ago and then has been resolved by MetaQuotes. Moderator, can you please contact with the Service Desk about this
I have a file called test.mq4. I need to get its content as a string in my other mq4 program. The test.mq4 is an UTF-16 file. If I convert it to UTF-8 (by an external text editor), I can get its content like this: uchar filedata[]; int handle= FileOpen ( "test.mq4" , FILE_READ | FILE_BIN ); if