I had a Script from previous versions of metatrader working perfectly, but when the exact same code is compiled with the new updated version it don´t work anymore. The Script is 1H_arb.mq4 and its 1H_arb.ex4 (both attached)
It used to save the bid and ask of some symbols to a file in a folder in D:\.
The 1H_arb.ex4 attached file will work; but if 1H_arb.mq4 is compiled in the current version, the generated 1H_arb.ex4 would have a bug.
I am explaning the bug:
The WriteToFile() function of the library WinFile.mqh wont write, but it won´t show an error neither. They even report the return values as the files where written.
I think that is a compiler bug because I have tried with two different computers.
Any help will be appreciated and is quite urgent. Thanks in advance
Post script: Any other workaround which works to save data in folders out of metatraders's paths would be appreciated too.
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.
Hello,
I had a Script from previous versions of metatrader working perfectly, but when the exact same code is compiled with the new updated version it don´t work anymore. The Script is 1H_arb.mq4 and its 1H_arb.ex4 (both attached)
It used to save the bid and ask of some symbols to a file in a folder in D:\.
The 1H_arb.ex4 attached file will work; but if 1H_arb.mq4 is compiled in the current version, the generated 1H_arb.ex4 would have a bug.
I am explaning the bug:
The WriteToFile() function of the library WinFile.mqh wont write, but it won´t show an error neither. They even report the return values as the files where written.
I think that is a compiler bug because I have tried with two different computers.
Any help will be appreciated and is quite urgent. Thanks in advance
Post script: Any other workaround which works to save data in folders out of metatraders's paths would be appreciated too.