![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
: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..