Hi everyone, I’m trying to automate the process of compiling scripts in VSCode and refreshing the running program in MT5. In MT4, I managed to achieve this by sending a WM_COMMAND message to refresh the Navigator list, which worked perfectly — it automatically reloaded the running program. However
Is there a way to determine whether the process of toggling history visibility in GUI is complete and OrdersHistoryTotal() returns the value equal to what is visible in GUI? I need to do some calculations on the whole history at the beginning. Since I don't know what range of history is visible at
I am developing software in multiple languages using code pages 1250 and 1256. Expecting to code in even more CPs in the future. In the source code in ME, all the national characters display correctly. The sources are saved in utf8. The problem occurs during compilation. Only characters from the
When it comes to cryptographic algorithms in MQL there is a lot of scattered information and it is difficult to put it together, especially if you want to implement an analogous function in another programming language. I thought it was worth starting a thread where we can share implementations. I'm
I'm looking to detect event of dragging trade level WHILE dragging. I have written indicator replacing standard trade levels with custom HLINES. I do imitate level dragging by using attached code , but the solution is not elegant, takes more resources than necessary and triggers on every mouse move
I have problem compiling one of my programs via MQL5 Cloud Protector option. Regular compilation finishes with no errors. Attempt to use MQL5 Cloud Protector finishes with unknown error. The same error occurs when I try to compile exactly the same code as mql4 (it's mql4/mql5 compatible) while
I'm looking for a way to set terminal history to "all time" in MT5. In MT4 this can be done like this: https://www.mql5.com/en/forum/138127#comment_3497453 In MT5 it's not working - I understand that due to a different value that has to be passed to PostMessageA. Since I cannot find it I decided to
I have the following problem to solve. On computer A, there is an EA that updates several variables several times a day. On computer B there is EA, which must read these values when they change. Both computers are in different locations and communication between them can only take place via the
I'm studying OOP and I've come across the following problem. I use a class based on CAppDialog to build the interface. CDialog -> CAppDialog -> CfxwAppDialog. I want to change the appearance of the m_caption element. The m_caption element and the CreateCaption method belong to the CDialog class and
I searched the forum and did not find a solution to my problem, so I'm opening a new thread. I do not rule out that the solution has been published somewhere, but I can not find it. If so, please, let me know and provide a link to the solution. I created EA in MQL4 - a market scanner that works on