After wasting several hours in testing without success, the only thing that solve and made it starting working fine was a platform restart.
Same .
How to use tester_file directive
Add your file relative to \\Files folder path like this :
#property tester_file"config.bin";
in your calls , use the commands normally as this file will be moved (on single test , will test optimization soon [edit works in optimizations too]) to the agent that is running MQL5\\Files... folder
Hit compile.
Close the editor
Close MT5
Open Mt5
Anything else will just make you mad at mq for the non-existent documentation and them just throwing it around in the help responses lightly like its a set and run command.
(it's obvious they have never ever used it)
It seems hard to believe and you'll think you need to add "::" like in resources or that the file path is too long , nope , just restart mt5
Add your file relative to \\Files folder path like this :
in your calls , use the commands normally as this file will be moved (on single test , will test optimization soon [edit works in optimizations too]) to the agent that is running MQL5\\Files... folder
Hit compile.
Close the editor
Close MT5
Open Mt5
Anything else will just make you mad at mq for the non-existent documentation and them just throwing it around in the help responses lightly like its a set and run command.
(it's obvious they have never ever used it)
It seems hard to believe and you'll think you need to add "::" like in resources or that the file path is too long , nope , just restart mt5
Hi, I found an easy way to avoid copying or searching the folder in which the file is. Just need to save the file in the directory: "...AppData\Roaming\MetaQuotes\Terminal\Common\Files", and in your code add "FILE_COMMON" flag.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Thank you but i did this and it is was working. Now restarting or next day and it works. Whats going on.
I confirm.
After wasting several hours in testing without success, the only thing that solve and made it starting working fine was a platform restart.
I confirm.
After wasting several hours in testing without success, the only thing that solve and made it starting working fine was a platform restart.
Same .
How to use tester_file directive
Add your file relative to \\Files folder path like this :
in your calls , use the commands normally as this file will be moved (on single test , will test optimization soon [edit works in optimizations too]) to the agent that is running MQL5\\Files... folder
Hit compile.
Close the editor
Close MT5
Open Mt5
Anything else will just make you mad at mq for the non-existent documentation and them just throwing it around in the help responses lightly like its a set and run command.
(it's obvious they have never ever used it)
It seems hard to believe and you'll think you need to add "::" like in resources or that the file path is too long , nope , just restart mt5
Same .
How to use tester_file directive
Add your file relative to \\Files folder path like this :
in your calls , use the commands normally as this file will be moved (on single test , will test optimization soon [edit works in optimizations too]) to the agent that is running MQL5\\Files... folder
Hit compile.
Close the editor
Close MT5
Open Mt5
Anything else will just make you mad at mq for the non-existent documentation and them just throwing it around in the help responses lightly like its a set and run command.
(it's obvious they have never ever used it)
It seems hard to believe and you'll think you need to add "::" like in resources or that the file path is too long , nope , just restart mt5
FILE_COMMON
Hi, I found an easy way to avoid copying or searching the folder in which the file is. Just need to save the file in the directory: "...AppData\Roaming\MetaQuotes\Terminal\Common\Files", and in your code add "FILE_COMMON" flag.
Hope it helps
Thanks