- Including an include file, is the same as if the code was inserted right there.
- Choose a NAME for the include file. Insert just above the code:
#include <NAME.mqh> // If you want the file to be in the include folder. #include "NAME.mqh" // Or, if you want it to be in your code's folder.
- Cut out the code and place it in your NAME.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 have an EA which includes number of " Functions ", which are working perfectly fine. However, my EA is getting too long and I know I can take the code for my " Functions ",
out of my EA and put each one in a file stored inside the " Include " Folder. This would make the body of the EA much shorter.
I read a short description on the " MQl-5 " user's guide, but since I am not a programmer, I could not understand it. Could someone please explain this process in detail please.
I thank you in advance for all your help and time.
Hadaf4x