You need to to use the #include compiler directive to include the code in the compilation process.
Making use of the contents of the file, however, requires that you understand how to it functions.
- www.mql5.com
i wish to include this file TrailingMA.mph in my auto-trading
how to initial its function?
Oh. I was searching for the same thing...
It is too specific to use it just like this. Because of overcoupling and overcapsulating it can only be used in generated EAs, in which it seems to work just fine.
You can still generate an EA with the TrailingMA functionality and try to reduce it until only the desired functionality is left, but you will soon see that it is specifically coded to be Added to a full blown CExpert EA.
The idea is still good if you can use Cima pointers, you might find a workaround.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
i wish to include this file TrailingMA.mph in my auto-trading
how to initial its function?