Print() function does not work in MQH file?

 

Hi

    I include a mqh file in my ea , and there is a function within which there is a Print("some text") function ,

But when i run the ea , it did not print any thing that It was supposed to.

 
An included file is the same as if you inserted the file contents at that location, no different. Including/MQH is irrelevant. You didn't call the function or it didn't call Print.
 

Hi, 

Same issue.  I include a mqh file in my ea , and there is a function within which there is a Print("some text") function.

Also, my mqh file is built to create a csv file with log of order processing. 

Neither log nor csv file. 

Is there a trick ? 


MT4 version 5.00 build 2382. 


thks.

Documentation on MQL5: Constants, Enumerations and Structures / Named Constants / Predefined Macro Substitutions
Documentation on MQL5: Constants, Enumerations and Structures / Named Constants / Predefined Macro Substitutions
  • www.mql5.com
Predefined Macro Substitutions - Named Constants - Constants, Enumerations and Structures - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
 
gfx2trade #: Same issue.

There is no issue. What part of “You didn't call the function or it didn't call Print” was unclear? The trick is to call your code.

 
will check as it works with a single routine that I just wrote .Thks