Pointer to standard type doesn't exist in mql.
int fun_to_declare(double &array[]) {//some thing to to } double array[]; int a=function_declared(array);
Alain Verleyen:
Pointer to standard type doesn't exist in mql.
And so?
How to do that?
managertop40: And so? How to do that?
| He already showed you how to pass the array. |

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
Hi all,
I want to create some functions to return some signals and put them in different files to have more order in the
function.
So my problem is this. In another file I want to declare the function like:
And in the main , inside the function
#include </address of the file with the declared function> void onTick() { double array[]; int a=function_declared(&array); }
I get a lot of error if I follow this scheme. What's wrong? How to do this? How to use a correct pointer to an array and pass it to a function?
Thanks