//+------------------------------------------------------------------+
//| Magnified Market Price.mq4        ver1.0             by Habeeb   |
//+------------------------------------------------------------------+

#property indicator_chart_window

  extern color  clrs = White;
  extern int    Label_Size=60;
  //global
double Poin;

int init()
  {

if (Point == 0.00001) Poin = 0.0001; 
else if (Point == 0.001) Poin = 0.01; 
else Poin = Point; 
   return(0);
  }

int deinit()
  {
  ObjectDelete("Market_Price_Label1"); 
  ObjectDelete("Market_Price_Label2"); 
  
  return(0);
  }

int start()
  {
   string Market_Price = DoubleToStr(Bid, 4);
   string Spread =  DoubleToStr((Ask - Bid)/Poin,2);
 
   ObjectCreate("Market_Price_Label1", OBJ_LABEL, 0, 0, 0);
   ObjectSetText("Market_Price_Label1", Market_Price, Label_Size, "Arial", clrs);
   
   ObjectCreate("Market_Price_Label2", OBJ_LABEL, 0, 20,20);
   ObjectSetText("Market_Price_Label2", Spread+" pips", Label_Size, "Arial", clrs);
   ObjectSet("Market_Price_Label2", OBJPROP_YDISTANCE, 115);
}