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
Hello I'm trying to import a function from file1.ex4 to file2.ex4
in file1.mq4 i got these lines.
double getvalue(int i)
{
double r;
r = ExtATRBuffer[i];
return(r);
}
in file2.mq4 i got these lines.
#import "myATR.ex4"
double getvalue(int i);
#import
When I start the project I get these messages.
unresolved import function call
Cannot find 'getvalue' in 'file1.ex4'
Apparently the function cannot be found, but I cannot see why (or I totally missunderstood the import function procedure).
/M