Where is the output of print() ?

To add comments, please log in or register
OldZ
116
OldZ  
//+------------------------------------------------------------------+
//|                                           testprint_function.mq4 |
//|                       Copyright ?2010, MetaQuotes Software Corp. |
//|                                        http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright ?2010, MetaQuotes Software Corp."
#property link      "http://www.metaquotes.net"

#property indicator_chart_window
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
//---- indicators
Print("Print xxxx in init block.","/n");
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
  {
//----
   Print("Print yyyy in deinit block.","/n");
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
  {
   int    counted_bars=IndicatorCounted();
//----
    Print("Print yyyy in start block.","/n");
//----
   return(0);
  }
//+------------------------------------------------------------------+
Please use "SRC" :)
OldZ
116
OldZ  

As the description below:

void Print( ...)
Prints a message to the experts log. Parameters can be of any type. Amount of passed parameters cannot exceed 64.

------------

but i did not find the output in the experts log files,where is the output ?

gordon
2325
gordon  

In the 'Experts' Tab (which is also saved in a *.log file in '\experts\logs\' folder, but it's not flushed in real-rime).

OldZ
116
OldZ  
gordon wrote >>

In the 'Experts' Tab (which is also saved in a *.log file in '\experts\logs\' folder, but it's not flushed in real-rime).

Got it,Thank you.
To add comments, please log in or register