thanks. I tried to replace the code with includes but
'mgk.mqh' - cannot open the program file C:\Program Files (x86)\MetaTrader Admiral Markets AS\experts\dllcarica.mq4 (10, 1)
(I tried several times to save the library in different directories. expert / include)
the code changed :
#property copyright "la turca" #property link "" #include <WinUser32.mqh> #include "mgk.ex4"
i olso tried with mgk.ex4, mgk.mqh
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'm trying to learn how to include files to my experts
code of library:
#property copyright "mit"
#property link ""
#property library
int abra ()
{
return(2);
}
code of ea:
#property copyright "mit"
#property link ""
#import "mgk.mq4"
int abra ();
#import
int init()
{
//----
//----
return(0);
}
int deinit()
{
//----
//----
return(0);
}
int start()
{
//----
Print(abra());
//----
return(0);
}
but so it does not work