Debut not printing anymore

 

Hello, im starting to MQL5 and trying to create a custom indicator but for some reason the debug stopped to print the values:

 

//+------------------------------------------------------------------+
//|                                                      MIN_MAX.mq5 |
//|                        Copyright 2016, MetaQuotes Software Corp. |
//|                                             https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2016, MetaQuotes Software Corp."
#property link      "https://www.mql5.com"
#property version   "1.00"
//+------------------------------------------------------------------+
//| Script program start function                                    |
//+------------------------------------------------------------------+
void OnStart()
  {
//---
  
  }
int OnCalculate(const int rates_total,
                const int prev_calculated,
                const datetime &time[],
                const double &open[],
                const double &high[],
                const double &low[],
                const double &close[],
                const long &tick_volume[],
                const long &volume[],
                const int &spread[])
  {
//---
int test =Bars(_Symbol,PERIOD_D1);
printf("test " + IntegerToString(test));

//printf("testing");
//--- return value of prev_calculated for next call
   return(rates_total);
  }
//+------------------------------------------------------------------+

 

it was previsoly printing "test" or "testing" but after i closed the mt5 and reopened, it stopped, what happens when i run the debug:

 

1) It open the Chart of EURUSD

2) Open the window to configure and just press ok

3) nothing more happens

 

the mt5 editor screen show that its running, but nothing showing at Journal or Debug or Errors, dont know why it stopped showing 

 
DefaultBR:

Hello, im starting to MQL5 and trying to create a custom indicator but for some reason the debug stopped to print the values:

 

//+------------------------------------------------------------------+
//|                                                      MIN_MAX.mq5 |
//|                        Copyright 2016, MetaQuotes Software Corp. |
//|                                             https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2016, MetaQuotes Software Corp."
#property link      "https://www.mql5.com"
#property version   "1.00"
//+------------------------------------------------------------------+
//| Script program start function                                    |
//+------------------------------------------------------------------+
void OnStart()
  {
//---
  
  }
int OnCalculate(const int rates_total,
                const int prev_calculated,
                const datetime &time[],
                const double &open[],
                const double &high[],
                const double &low[],
                const double &close[],
                const long &tick_volume[],
                const long &volume[],
                const int &spread[])
  {
//---
int test =Bars(_Symbol,PERIOD_D1);
printf("test " + IntegerToString(test));

//printf("testing");
//--- return value of prev_calculated for next call
   return(rates_total);
  }
//+------------------------------------------------------------------+

 

it was previsoly printing "test" or "testing" but after i closed the mt5 and reopened, it stopped, what happens when i run the debug:

 

1) It open the Chart of EURUSD

2) Open the window to configure and just press ok

3) nothing more happens

 

the mt5 editor screen show that its running, but nothing showing at Journal or Debug or Errors, dont know why it stopped showing 

Switch to experts tab - it is there
 

lol, that was so noob from my side, thank you so much