//+------------------------------------------------------------------+
//|                                                   Proverka 2.mq4 |
//|                        Copyright 2017, MetaQuotes Software Corp. |
//|                                             https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2017, 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()
 {
    double Blue0 = iCustom(NULL, 0, "HP_DIFF", 0, 0);
    double Red1  = iCustom(NULL, 0, "HP_DIFF", 1, 0);
     
    Comment ( "Blue0 = " + DoubleToString (Blue0) + "\n" +
              "Red1  = " + DoubleToString (Red1));
            
   
   
  }
//+------------------------------------------------------------------+
