I got it.
ea.mq4#property strict #include <inc.mqh> void OnTick() { MyCalculator(1, 2); }
inc.mqh
#property strict int MyCalculator(int value,int value2) { return(value+value2); }

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,
This EA doesn't work in strict mode on MT4 build 604.
ea.mq4
inc.mqh
lib.mq4
There are some error messages in Journal.
2014.02.10 21:29:37.999 2013.01.02 08:00 Testing pass stopped due to a critical error in the EA
2014.02.10 21:29:37.999 2013.01.02 08:00 unresolved import function call
2014.02.10 21:29:37.999 2013.01.02 08:00 Cannot find 'MyCalculator' in 'lib.ex4'
Why doesn't it work?