Download MetaTrader 5

Is there a terminal on MetaEditor ? Where is It ?

To add comments, please log in or register
AYMERIC75
112
AYMERIC75  

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
15574
whroeder1  
What does the tool tip say when you put your cursor over the circled icon?

AYMERIC75
112
AYMERIC75  
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
15574
whroeder1  
You run it ON the terminal, Print output is in the Journal tab.
AYMERIC75
112
AYMERIC75  
// 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  
Keith Watford
Moderator
10567
Keith Watford  

Look in the Experts tab

AYMERIC75
112
AYMERIC75  
Ok, thanks i just found it, not easy to see...
Alain Verleyen
Moderator
32403
Alain Verleyen  
AYMERIC:
Ok, thanks i just found it, not easy to see...
Of course Linux is a lot more easy ;-)
AYMERIC75
112
AYMERIC75  
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