Forum

how many rows in a file?

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

Drawing lines in simulation mode is working fine, but in live mode it does not work

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

question: is it possible to add a criterion to the optimiser?

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

MT5 Optimization how to speed up runtime

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

Write Array which has also strings to file

Hello, I have researched about the possibility to write an array to a file in the forum and the documentation, and I have tried a number of possibilities. However, I have the impression that it does not work with an Array, which also contains strings. In my case, I have an array which is based on a

Obtain time from strategy tester

Hello, I would like to refer to the time, which is noted in the settings of strategy tester . Is there a command that allows me to do this? Example: in the strategy tester, I have defined a custom period of 01.01.2022 - 30.03.2022. The "end date" in this case is 30.03.2022. I would like to obtain

WebRequest MQL5: error 4014 even though I have maintained the Url in "tools / options"

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

server time in live or backtesting mode

Hello there, from testing I can see, that the " server time " changes in "backtesting" mode. Example: when I perform test on historical data, the server time corresponds to my time zone. If I put the same Expert Advisor on a lice chart, the server time is one hour ahead of my time zone. Question: is

Meta Trader 5 on Windows server 2012 R2 Standard Edition

Hello, I am thinking about using a server for performing optimisations. I am looking at a configurations with Windows server 2012 R2 Standard Edition. Does somebody have information about which Windows Server can be used with Meta Trader 5? Thanks a lot in advance

Question on backtesting performance MT5

Hello, I am wondering what are the requirements for a good PC to improve backtesting performance? Or is there an existing set of best practices that I can follow in this context? in my case I am mainly working with EUR/USD and I only have 1 trade open at the time. I am working with different kinds