//+------------------------------------------------------------------+
//|                                                    0_Comment.mq4 |
//|                        Copyright 2015, MetaQuotes Software Corp. |
//|                                             https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2015, MetaQuotes Software Corp."
#property link      "https://www.mql5.com"
#property version   "1.00"
#property strict
//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int OnInit()
  {
//---
   
//---
   return(INIT_SUCCEEDED);
  }
//+------------------------------------------------------------------+
//| Expert deinitialization function                                 |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
  {
//---
   
  }
//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void OnTick()
  {
//---
   Comment(
   "\n iHigh bar0   ", iHigh(Symbol(), PERIOD_M1, 0), 
   "\n iOpen bar0   ", iOpen(Symbol(), PERIOD_M1, 0),
   "\n iClose bar0   ", iClose(Symbol(), PERIOD_M1, 0),
   "\n iLow bar0   ", iLow(Symbol(), PERIOD_M1, 0), 
   "\n iTime bar0   ", iTime(Symbol(), PERIOD_M1, 0),
   "\n iVolume bar0   ", iVolume(Symbol(), PERIOD_M1, 0), 
   "\n", 
   "\n iHigh bar1   ", iHigh(Symbol(), PERIOD_M1, 1), 
   "\n iOpen bar1   ", iOpen(Symbol(), PERIOD_M1, 1),
   "\n iClose bar1   ", iClose(Symbol(), PERIOD_M1, 1),
   "\n iLow bar1   ", iLow(Symbol(), PERIOD_M1, 1), 
   "\n iTime bar1   ", iTime(Symbol(), PERIOD_M1, 1),
   "\n iVolume bar1   ", iVolume(Symbol(), PERIOD_M1, 1) 
   
   );
  }
//+------------------------------------------------------------------+
