Aeither:
No, you can't do what you're describing in mql. You need to rename the parameters. Also, your calling functions with a return value. You're mixing up void and int functions.
i often create function that hides global declarations, there somehow to avoid this problem ?
i need to create several function that catch the same variable of the onstart(),
to code it faster and easy to read i desire that all my functions have the same name but its another declaration, so i get the warning
i found in Internet that it is possible in other language like swift that you need to put #someInteger in the function to refer that it's same name.
it is possible use the same name in the function and the global avoiding problems?
problem example code:
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 often create function that hides global declarations, there somehow to avoid this problem ?
i need to create several function that catch the same variable of the onstart(),
to code it faster and easy to read i desire that all my functions have the same name but its another declaration, so i get the warning
i found in Internet that it is possible in other language like swift that you need to put #someInteger in the function to refer that it's same name.
it is possible use the same name in the function and the global avoiding problems?
problem example code: