Download MetaTrader 5
To add comments, please log in or register
Share your knowledge. Become a well-known developer!
AYMERIC75
112
AYMERIC75 2014.04.13 12:38 

Hi,


I want to test a mini EA that just call the function printf(), but i can't find the terminal to see the result..


Aymeric

whroeder1
13609
whroeder1 2014.04.13 16:28  
What does the tool tip say when you put your cursor over the circled icon?

AYMERIC75
112
AYMERIC75 2014.04.13 17:28  
No, i meant a terminal like on Linux when you code something in C++, like where you see the result of a cout<<"blabla"<<endl;
whroeder1
13609
whroeder1 2014.04.13 17:42  
You run it ON the terminal, Print output is in the Journal tab.
AYMERIC75
112
AYMERIC75 2014.04.13 18:21  
// Here is my code, when i attach it to the chart on the terminal, there is only the name of the program which appears on the up right of the chart, but nothing in the journal :(



#property copyright "AYMERIC"

#property version   "1.00"
#property strict

////+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int OnInit()
  {
//---
   
//---
   return(INIT_SUCCEEDED);
  }
//+------------------------------------------------------------------+
//| Expert deinitialization function                                 |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
  {
//---
   
  }


//+------------------------------------------------------------------+
int start()
  {
    

   printf("lu",1);
   
   return 0;
  }
//+------------------------------------------------------------------+


AYMERIC75
112
AYMERIC75 2014.04.13 18:23  
Keith Watford
Moderator
7899
Keith Watford 2014.04.13 21:24  

Look in the Experts tab

AYMERIC75
112
AYMERIC75 2014.04.13 22:01  
Ok, thanks i just found it, not easy to see...
Alain Verleyen
Moderator
28550
Alain Verleyen 2014.04.14 22:31  
AYMERIC:
Ok, thanks i just found it, not easy to see...
Of course Linux is a lot more easy ;-)
AYMERIC75
112
AYMERIC75 2014.04.14 23:18  
angevoyageur:
Of course Linux is a lot more easy ;-)


Je connais pas Linux plus que ça, juste pour la prog en c++... ;-)

/
To add comments, please log in or register