Hello syrndr
Have you read MetaEditor help documents?
very important to understand structure of MQL4 program...
also read some existing code - eg, examples which come with MT install.
Above will give you 'feel' for things.
VIP resource is: "MQL4: automated forex trading"
Please take time to read and learn - I guarrantee you will reap the benefits of time well spent now in this pursuit!
Good luck.
Have you read MetaEditor help documents?
very important to understand structure of MQL4 program...
also read some existing code - eg, examples which come with MT install.
Above will give you 'feel' for things.
VIP resource is: "MQL4: automated forex trading"
Please take time to read and learn - I guarrantee you will reap the benefits of time well spent now in this pursuit!
Good luck.
![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
I am trying to pass arrays between function calls in my EA.
Here is the structure for my program.
I have the following files.
Helper.mq4
Helper.mqh
EA.mq4
When I run the above snippet of code, I get the following errors:
',' - left square parenthesis expected for array
',' - parameter expected
',' - incompatible types
However, if I do not use libraries and place these functions into the EA.mq4 file itself, the code works.
Does anyone know how to pass functions between functions in another library?
Your help would be much appreciated.
Thanks
syrndr