Download MetaTrader 5
To add comments, please log in or register
They are making profit already using Freelance service. You can join them!
Luis
226
Luis 2015.02.21 17:08 

I dont think this is possible but:


Can you add lines, say at the beggining or the end of Oninit function, via includes?


Meaning: You have an EA with an include named <include.mqh>. Is it possible that inside the code of the include file modify the Oninit function of the EA?


Thank you

This forum is awesome!

BeLikewater

whroeder1
13619
whroeder1 2015.02.21 17:32  
Of course.
Ovo Cz
2950
Ovo Cz 2015.02.21 18:56  
BeLikeWater:

I dont think this is possible but:


Can you add lines, say at the beggining or the end of Oninit function, via includes?


Meaning: You have an EA with an include named <include.mqh>. Is it possible that inside the code of the include file modify the Oninit function of the EA?


Thank you

This forum is awesome!

BeLikewater

Just a note.

The file content of the included file is inserted only once, in its first #include statement currently, while up to the build 509 the content was inserted at every #include statement.

/
To add comments, please log in or register