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
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
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
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
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
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
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
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[];
Hi, I have a text: Blue cars are everywhere. I'm using this library: https://www.mql5.com/en/code/16566 Also, here is a regex description: https://www.mql5.com/en/articles/2432 The issue: If I'm using this regex pattern : "Blue ", then I get the word
Hi, I am new to MT5 and confused. In MT4 it was easy to get an indicator value, for example: double atr= iATR ( Symbol (), PERIOD_CURRENT , 10 ,0); The documentation is kinda difficult for me. How can I get the "atr" value in MT5? How does the above
Hi there! Can someone show me how should I modify the original MACD code if I only want the values for the last 100 bars? I mean, I don't want the indicator to calculate for all candles, only for the last 100 (99-0 index). Please provide me the