Hello there, I am following the instructions for WebRequest in the documentation of MQL5. I am using the example implementation for testing, but I get the "error 4014". According to my understanding, it means that you are not allowed to make the web request . However, I have maintained the web
Hello there, this is for information. I have recently struggled to convert string to bool in MQL5. Thanks to the tip of a friend, I could resolve it. I want to post it here, in case somebody has the same problem. The source field is a string, which has either "true" or "false". Important, this must
Hello there, I am doing backtesting with mql5 programs . I have found that the "visual mode" is always active, I cannot desactivate it, when I am in debugging mode of an expert. This leads to the fact that it can be quite slow, until I get to where I want. Question: is there a way to "force" the
Hello there, I am trying to work with the economic calendar , but even a simple query does not bring values. I am sure I am overlooking some basic thing? here my program for reference: MqlCalendarValue values[]; datetime date_from = D'28.10.2024' ; // take all events from 28. Oct 2024 datetime
looking for a way to include fundamental data like interest rates in MQL5. Please advise if there is a good practice to do this
in MetaTrader, when I do a simulation, I would like to work with the results in a spreadsheet (excel, numbers etc.). But the only options I see is download xml. Is there another way to do this? I do not know how to work with xml. I would prefer a csv or text file. Maybe there is a way to do it with
hello there, I would like to check , how many rows are in a file. I am working with CSV files. I have tried "file size", but it gives the size in terms of bites, not rows. If you are aware of any trick, thanks in advance. This is for MQL5
Hello, I have created an expert advisor which should draw a line if a certain condition is reached (MT5). When I simulate it in strategy tester , it works. But when I attach it to a live chart, it does not draw the line. Is this on purpose? is there a difference between strategy tester and live
Hello, this is about using the optimiser function. There is a number of parameters by which the optimisation can be done. I have seen that there is also the "custom max" criterion. But my interpretation of this is, that is just another way of how to combine the other parameters. My intention is to
Hello, I am using a server for running MT5. When I do optimisations, I can split it on up to 8 CPU's. Still it is running not extremely fast. I was wondering if there are any best practices on speeding up optimisations ? Thanks a lot in advance