Alain Verleyen: Of course it's the problem. An mq4 file is expected to have mql4 code. Rename your file(s) to mq5.
Ah - now I understand the problem. I loaded the indicator as mql4 file, and tried to save it as ..: I see the name of the mql4-file and below that: "Type MQL5 source file (*.mq5).
Because of this I assumed that it is saved as mql5 file - but it wasn't!
Thanks - I guess that's it: The editor does not change extension, windows doesn't allow it either - nice trap :(
Ah - now I understand the problem. I loaded the indicator as mql4 file, and tried to save it as ..: I see the name of the mql4-file and below that: "Type MQL5 source file (*.mq5).
Because of this I assumed that it is saved as mql5 file - but it wasn't!
Thanks - I guess that's it: The editor does not change extension, windows doesn't allow it either - nice trap :(
Actually it's a bug. It changes the extension if you goes to an other option and then goes back to "MQL5 source file...".
But as it's the first in the list, it doesn't change by default. Could be reported to Metaquotes.
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.
:D
Btw your problem3 compiles well also!!!
I am using the MQL5 editor!
I control it as the editor for mt4 offers the references of MQL4 AND MQL5 - the MQL5-editor offers only the reference of MQL5!
I re-checked it, so this cannot be the problem!
In mql4 I haven had any problem!
Of course it's the problem. An mq4 file is expected to have mql4 code. Rename your file(s) to mq5.
Ah - now I understand the problem. I loaded the indicator as mql4 file, and tried to save it as ..: I see the name of the mql4-file and below that: "Type MQL5 source file (*.mq5).
Because of this I assumed that it is saved as mql5 file - but it wasn't!
Thanks - I guess that's it: The editor does not change extension, windows doesn't allow it either - nice trap :(
Ah - now I understand the problem. I loaded the indicator as mql4 file, and tried to save it as ..: I see the name of the mql4-file and below that: "Type MQL5 source file (*.mq5).
Because of this I assumed that it is saved as mql5 file - but it wasn't!
Thanks - I guess that's it: The editor does not change extension, windows doesn't allow it either - nice trap :(
Actually it's a bug. It changes the extension if you goes to an other option and then goes back to "MQL5 source file...".
But as it's the first in the list, it doesn't change by default. Could be reported to Metaquotes.
Actually it's a bug. It changes the extension if you goes to an other option and then goes back to "MQL5 source file...".
But as it's the first in the list, it doesn't change by default. Could be reported to Metaquotes.
I'll write them..