MQL4 - automated forex trading   /  

Forum

INCLUDE Instruccion. Help please

Back to topics list To post a new topic, please log in or register

avatar
18
vixtrad 2008.08.27 15:15 
I created a file with extension .mqh. EA have to call for a several times with the #INCLUDE and avoid repeating the same code in different parts of EA.

When compiling the warning appears "file already processed" from the second instruction INCLUDE in the function program recognizes only the first instruction INCLUDE, ignoring the following. (I use at 8 times).

Help:
What I need to make all instructions INCLUDE work?
There is another way to call a piece of code and use it on several occasions?.

Thank you all in advance. I hope your solutions.
A greeting.
article

Genetic Algorithms vs. Simple Search in the MetaTrader 4 Optimizer

The article compares the time and results of Expert Advisors' optimization using genetic algorithms and those obtained by simple search.


avatar
2151
phy 2008.08.27 18:13 
Show your code.
Back to topics list  

To add comments, please log in or register