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
Still does not compile.
Still does not compile.
That has nothing to do with compilation. Compilation is irrespective of broker or account or anything else.
As it stands now, your file does not compile due to some strange quirks in your code. You have non-breaking spaces (character 0xa0) instead of normal spaces (character 0x20) in your code.
For some reason you seem to have copy/pasted via some HTML editor or something like that.
Please provide the file directly from where you have compiled it in MetaEditor successfully.
However, even after fixing the non-breaking spaces in your file, it will still not compile due to many errors:
Wrong. I stopped looking when I saw «ima(…,…,…) - (…,…,…)». You have been asked to post code that compiles four (4) times.
Since you have refused, you are now on my Do Not Help list. Live in ignorance.
Reduce your code to a single symbol. It makes no sense to make an EA to trade multiple symbols and then just treat each one independently.
As it is now you are just copy/pasting code for each symbol. That is a very bad coding practice. There is no proper structure to the code.
If you want help, then reduce it to trading the current symbol only. You can easily then attach such an EA to each chart of a different symbol instead of one EA for multiple symbols.
Once you have reduced it to single current symbol, it will be easier to analyse it and find the problem.
EDIT: Also, on MT4 you can only back-test single-symbol EAs, not multi-symbol. That is one more reason to reduce your code to trading only the current symbol.