#property copyright "Copyright © 2008, MetaQuotes Software Corp."
#property link      ""

#property indicator_chart_window
#property indicator_buffers 1
#property indicator_color1 Black

extern int Corner = 0;
extern int y_distance=0;

int init() {
   string l_name_0 = "jpy MN";
   ObjectDelete(l_name_0);
   ObjectCreate(l_name_0, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_0, "MN", 7, "Arial Bold", LightSalmon);
   ObjectSet(l_name_0, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_0, OBJPROP_XDISTANCE, 510);
   ObjectSet(l_name_0, OBJPROP_YDISTANCE, 20+y_distance );
   string l_name_8 = "jpy W1";
   ObjectDelete(l_name_8);
   ObjectCreate(l_name_8, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_8, "W1", 7, "Arial Bold", LightSalmon);
   ObjectSet(l_name_8, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_8, OBJPROP_XDISTANCE, 490);
   ObjectSet(l_name_8, OBJPROP_YDISTANCE, 20+y_distance );
   string l_name_16 = "jpy D1";
   ObjectDelete(l_name_16);
   ObjectCreate(l_name_16, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_16, "D1", 7, "Arial Bold", LightSalmon);
   ObjectSet(l_name_16, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_16, OBJPROP_XDISTANCE, 470);
   ObjectSet(l_name_16, OBJPROP_YDISTANCE, 20+y_distance );
   string l_name_24 = "jpy TF H4";
   ObjectDelete(l_name_24);
   ObjectCreate(l_name_24, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_24, "H4", 7, "Arial Bold", LightSalmon);
   ObjectSet(l_name_24, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_24, OBJPROP_XDISTANCE, 440);
   ObjectSet(l_name_24, OBJPROP_YDISTANCE, 20+y_distance );
   string l_name_32 = "jpy TF H1";
   ObjectDelete(l_name_32);
   ObjectCreate(l_name_32, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_32, "H1", 7, "Arial Bold", LightSalmon);
   ObjectSet(l_name_32, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_32, OBJPROP_XDISTANCE, 420);
   ObjectSet(l_name_32, OBJPROP_YDISTANCE, 20+y_distance );
   string l_name_40 = "jpy TF M30";
   ObjectDelete(l_name_40);
   ObjectCreate(l_name_40, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_40, "M30", 7, "Arial Bold", LightSalmon);
   ObjectSet(l_name_40, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_40, OBJPROP_XDISTANCE, 400);
   ObjectSet(l_name_40, OBJPROP_YDISTANCE, 20+y_distance );
   string l_name_48 = "jpy TF M15";
   ObjectDelete(l_name_48);
   ObjectCreate(l_name_48, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_48, "M15", 7, "Arial Bold", LightSalmon);
   ObjectSet(l_name_48, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_48, OBJPROP_XDISTANCE, 377);
   ObjectSet(l_name_48, OBJPROP_YDISTANCE, 20+y_distance );
   string l_name_56 = "jpy TF M5";
   ObjectDelete(l_name_56);
   ObjectCreate(l_name_56, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_56, "M5", 7, "Arial Bold", LightSalmon);
   ObjectSet(l_name_56, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_56, OBJPROP_XDISTANCE, 357);
   ObjectSet(l_name_56, OBJPROP_YDISTANCE, 20+y_distance );
   string l_name_64 = "jpy TF M1";
   ObjectDelete(l_name_64);
   ObjectCreate(l_name_64, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_64, "M1", 7, "Arial Bold", LightSalmon);
   ObjectSet(l_name_64, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_64, OBJPROP_XDISTANCE, 340);
   ObjectSet(l_name_64, OBJPROP_YDISTANCE, 20+y_distance );
   string l_name_72 = "jpy Line1";
   ObjectDelete(l_name_72);
   ObjectCreate(l_name_72, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_72, "------------------------------------", 7, "Arial Bold", Gainsboro);
   ObjectSet(l_name_72, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_72, OBJPROP_XDISTANCE, 342);
   ObjectSet(l_name_72, OBJPROP_YDISTANCE, 30+y_distance );
   string l_name_80 = "jpy Line2";
   ObjectDelete(l_name_80);
   ObjectCreate(l_name_80, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_80, "------------------", 7, "Arial Bold", Gainsboro);
   ObjectSet(l_name_80, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_80, OBJPROP_XDISTANCE, 470);
   ObjectSet(l_name_80, OBJPROP_YDISTANCE, 30+y_distance );
   string l_name_88 = "jpy GJ";
   ObjectDelete(l_name_88);
   ObjectCreate(l_name_88, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_88, "GBPJPY", 7, "Arial Bold", Gainsboro);
   ObjectSet(l_name_88, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_88, OBJPROP_XDISTANCE, 280);
   ObjectSet(l_name_88, OBJPROP_YDISTANCE, 50+y_distance );
   string l_name_96 = "jpy EJ";
   ObjectDelete(l_name_96);
   ObjectCreate(l_name_96, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_96, "EURJPY", 7, "Arial Bold", Gainsboro);
   ObjectSet(l_name_96, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_96, OBJPROP_XDISTANCE, 280);
   ObjectSet(l_name_96, OBJPROP_YDISTANCE, 70+y_distance );
   string l_name_104 = "jpy AJ";
   ObjectDelete(l_name_104);
   ObjectCreate(l_name_104, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_104, "AUDJPY", 7, "Arial Bold", Gainsboro);
   ObjectSet(l_name_104, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_104, OBJPROP_XDISTANCE, 280);
   ObjectSet(l_name_104, OBJPROP_YDISTANCE, 90+y_distance );
   string l_name_112 = "jpy NJ";
   ObjectDelete(l_name_112);
   ObjectCreate(l_name_112, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_112, "NZDJPY", 7, "Arial Bold", Gainsboro);
   ObjectSet(l_name_112, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_112, OBJPROP_XDISTANCE, 280);
   ObjectSet(l_name_112, OBJPROP_YDISTANCE, 110+y_distance );
   string l_name_120 = "jpy CfJ";
   ObjectDelete(l_name_120);
   ObjectCreate(l_name_120, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_120, "CHFJPY", 7, "Arial Bold", Gainsboro);
   ObjectSet(l_name_120, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_120, OBJPROP_XDISTANCE, 280);
   ObjectSet(l_name_120, OBJPROP_YDISTANCE, 130+y_distance );
   string l_name_128 = "jpy CdJ";
   ObjectDelete(l_name_128);
   ObjectCreate(l_name_128, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_128, "CADJPY", 7, "Arial Bold", Gainsboro);
   ObjectSet(l_name_128, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_128, OBJPROP_XDISTANCE, 280);
   ObjectSet(l_name_128, OBJPROP_YDISTANCE, 150+y_distance );
   string l_name_136 = "jpy UJ";
   ObjectDelete(l_name_136);
   ObjectCreate(l_name_136, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_136, "USDJPY", 7, "Arial Bold", Gainsboro);
   ObjectSet(l_name_136, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_136, OBJPROP_XDISTANCE, 280);
   ObjectSet(l_name_136, OBJPROP_YDISTANCE, 170+y_distance );
   string l_name_144 = "jpy Line3";
   ObjectDelete(l_name_144);
   ObjectCreate(l_name_144, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_144, "-----------------------------------------------------------", 7, "Arial Bold", Gainsboro);
   ObjectSet(l_name_144, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_144, OBJPROP_XDISTANCE, 342);
   ObjectSet(l_name_144, OBJPROP_YDISTANCE, 190+y_distance );
   string l_name_152 = "jpy Line4";
   ObjectDelete(l_name_152);
   ObjectCreate(l_name_152, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_152, "-----------------------------------------------------------", 7, "Arial Bold", Gainsboro);
   ObjectSet(l_name_152, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_152, OBJPROP_XDISTANCE, 342);
   ObjectSet(l_name_152, OBJPROP_YDISTANCE, 210+y_distance );
   string l_name_160 = "jpy Title";
   ObjectDelete(l_name_160);
   ObjectCreate(l_name_160, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_160, "KG Trend_MTF_Multipairs: JPY Group", 7, "Arial Bold", White);
   ObjectSet(l_name_160, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_160, OBJPROP_XDISTANCE, 342);
   ObjectSet(l_name_160, OBJPROP_YDISTANCE, 200+y_distance );
   return (0);
}

int deinit() 
  {   
   for(int li_0 = ObjectsTotal() - 1; li_0 >= 0; li_0--)
     {
       string l_name_4 = ObjectName(li_0);
       if(StringFind(l_name_4, "", 0) < 0) 
           continue;
       ObjectDelete(l_name_4);
     }
   return (0);
  }

int start() {
   string l_text_4;
   color l_color_12;
   if (Period() < PERIOD_M1) return (0);
   int l_ind_counted_0 = IndicatorCounted();
   double ld_16 = iCustom(NULL, PERIOD_M1, "Formula_2", 2, 1) - iCustom(NULL, PERIOD_M1, "Formula_2", 4, 1);
   double ld_24 = iCustom(NULL, PERIOD_M1, "Formula_2", 2, 0) - iCustom(NULL, PERIOD_M1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_32 = "GBPJPY M1";
   ObjectDelete(l_name_32);
   ObjectCreate(l_name_32, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_32, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_32, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_32, OBJPROP_XDISTANCE, 340);
   ObjectSet(l_name_32, OBJPROP_YDISTANCE, 50+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M5, "Formula_2", 2, 1) - iCustom(NULL, PERIOD_M5, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M5, "Formula_2", 2, 0) - iCustom(NULL, PERIOD_M5, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_40 = "GBPJPY M5";
   ObjectDelete(l_name_40);
   ObjectCreate(l_name_40, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_40, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_40, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_40, OBJPROP_XDISTANCE, 360);
   ObjectSet(l_name_40, OBJPROP_YDISTANCE, 50+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M15, "Formula_2", 2, 1) - iCustom(NULL, PERIOD_M15, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M15, "Formula_2", 2, 0) - iCustom(NULL, PERIOD_M15, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_48 = "GBPJPY M15";
   ObjectDelete(l_name_48);
   ObjectCreate(l_name_48, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_48, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_48, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_48, OBJPROP_XDISTANCE, 380);
   ObjectSet(l_name_48, OBJPROP_YDISTANCE, 50+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M30, "Formula_2", 2, 1) - iCustom(NULL, PERIOD_M30, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M30, "Formula_2", 2, 0) - iCustom(NULL, PERIOD_M30, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_56 = "GBPJPY M30";
   ObjectDelete(l_name_56);
   ObjectCreate(l_name_56, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_56, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_56, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_56, OBJPROP_XDISTANCE, 400);
   ObjectSet(l_name_56, OBJPROP_YDISTANCE, 50+y_distance );
   ld_16 = iCustom(NULL, PERIOD_H1, "Formula_2", 2, 1) - iCustom(NULL, PERIOD_H1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_H1, "Formula_2", 2, 0) - iCustom(NULL, PERIOD_H1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_64 = "GBPJPY H1";
   ObjectDelete(l_name_64);
   ObjectCreate(l_name_64, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_64, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_64, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_64, OBJPROP_XDISTANCE, 420);
   ObjectSet(l_name_64, OBJPROP_YDISTANCE, 50+y_distance );
   ld_16 = iCustom(NULL, PERIOD_H4, "Formula_2", 2, 1) - iCustom(NULL, PERIOD_H4, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_H4, "Formula_2", 2, 0) - iCustom(NULL, PERIOD_H4, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_72 = "GBPJPY H4";
   ObjectDelete(l_name_72);
   ObjectCreate(l_name_72, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_72, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_72, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_72, OBJPROP_XDISTANCE, 440);
   ObjectSet(l_name_72, OBJPROP_YDISTANCE, 50+y_distance );
   ld_16 = iCustom(NULL, PERIOD_D1, "Formula_2", 2, 1) - iCustom(NULL, PERIOD_D1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_D1, "Formula_2", 2, 0) - iCustom(NULL, PERIOD_D1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_80 = "GBPJPY D1";
   ObjectDelete(l_name_80);
   ObjectCreate(l_name_80, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_80, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_80, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_80, OBJPROP_XDISTANCE, 470);
   ObjectSet(l_name_80, OBJPROP_YDISTANCE, 50+y_distance );
   ld_16 = iCustom(NULL, PERIOD_W1, "Formula_2", 2, 1) - iCustom(NULL, PERIOD_W1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_W1, "Formula_2", 2, 0) - iCustom(NULL, PERIOD_W1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_88 = "GBPJPY W1";
   ObjectDelete(l_name_88);
   ObjectCreate(l_name_88, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_88, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_88, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_88, OBJPROP_XDISTANCE, 490);
   ObjectSet(l_name_88, OBJPROP_YDISTANCE, 50+y_distance );
   ld_16 = iCustom(NULL, PERIOD_MN1, "Formula_2", 2, 1) - iCustom(NULL, PERIOD_MN1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_MN1, "Formula_2", 2, 0) - iCustom(NULL, PERIOD_MN1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_96 = "GBPJPY MN";
   ObjectDelete(l_name_96);
   ObjectCreate(l_name_96, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_96, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_96, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_96, OBJPROP_XDISTANCE, 510);
   ObjectSet(l_name_96, OBJPROP_YDISTANCE, 50+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M1, "Formula_2", 1, 1) - iCustom(NULL, PERIOD_M1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M1, "Formula_2", 1, 0) - iCustom(NULL, PERIOD_M1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_104 = "EURJPY M1";
   ObjectDelete(l_name_104);
   ObjectCreate(l_name_104, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_104, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_104, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_104, OBJPROP_XDISTANCE, 340);
   ObjectSet(l_name_104, OBJPROP_YDISTANCE, 70+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M5, "Formula_2", 1, 1) - iCustom(NULL, PERIOD_M5, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M5, "Formula_2", 1, 0) - iCustom(NULL, PERIOD_M5, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_112 = "EURJPY M5";
   ObjectDelete(l_name_112);
   ObjectCreate(l_name_112, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_112, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_112, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_112, OBJPROP_XDISTANCE, 360);
   ObjectSet(l_name_112, OBJPROP_YDISTANCE, 70+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M15, "Formula_2", 1, 1) - iCustom(NULL, PERIOD_M15, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M15, "Formula_2", 1, 0) - iCustom(NULL, PERIOD_M15, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_120 = "EURJPY M15";
   ObjectDelete(l_name_120);
   ObjectCreate(l_name_120, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_120, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_120, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_120, OBJPROP_XDISTANCE, 380);
   ObjectSet(l_name_120, OBJPROP_YDISTANCE, 70+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M30, "Formula_2", 1, 1) - iCustom(NULL, PERIOD_M30, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M30, "Formula_2", 1, 0) - iCustom(NULL, PERIOD_M30, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_128 = "EURJPY M30";
   ObjectDelete(l_name_128);
   ObjectCreate(l_name_128, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_128, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_128, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_128, OBJPROP_XDISTANCE, 400);
   ObjectSet(l_name_128, OBJPROP_YDISTANCE, 70+y_distance );
   ld_16 = iCustom(NULL, PERIOD_H1, "Formula_2", 1, 1) - iCustom(NULL, PERIOD_H1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_H1, "Formula_2", 1, 0) - iCustom(NULL, PERIOD_H1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_136 = "EURJPY H1";
   ObjectDelete(l_name_136);
   ObjectCreate(l_name_136, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_136, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_136, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_136, OBJPROP_XDISTANCE, 420);
   ObjectSet(l_name_136, OBJPROP_YDISTANCE, 70+y_distance );
   ld_16 = iCustom(NULL, PERIOD_H4, "Formula_2", 1, 1) - iCustom(NULL, PERIOD_H4, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_H4, "Formula_2", 1, 0) - iCustom(NULL, PERIOD_H4, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_144 = "EURJPY H4";
   ObjectDelete(l_name_144);
   ObjectCreate(l_name_144, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_144, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_144, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_144, OBJPROP_XDISTANCE, 440);
   ObjectSet(l_name_144, OBJPROP_YDISTANCE, 70+y_distance );
   ld_16 = iCustom(NULL, PERIOD_D1, "Formula_2", 1, 1) - iCustom(NULL, PERIOD_D1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_D1, "Formula_2", 1, 0) - iCustom(NULL, PERIOD_D1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_152 = "EURJPY D1";
   ObjectDelete(l_name_152);
   ObjectCreate(l_name_152, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_152, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_152, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_152, OBJPROP_XDISTANCE, 470);
   ObjectSet(l_name_152, OBJPROP_YDISTANCE, 70+y_distance );
   ld_16 = iCustom(NULL, PERIOD_W1, "Formula_2", 1, 1) - iCustom(NULL, PERIOD_W1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_W1, "Formula_2", 1, 0) - iCustom(NULL, PERIOD_W1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_160 = "EURJPY W1";
   ObjectDelete(l_name_160);
   ObjectCreate(l_name_160, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_160, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_160, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_160, OBJPROP_XDISTANCE, 490);
   ObjectSet(l_name_160, OBJPROP_YDISTANCE, 70+y_distance );
   ld_16 = iCustom(NULL, PERIOD_MN1, "Formula_2", 1, 1) - iCustom(NULL, PERIOD_MN1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_MN1, "Formula_2", 1, 0) - iCustom(NULL, PERIOD_MN1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_168 = "EURJPY MN";
   ObjectDelete(l_name_168);
   ObjectCreate(l_name_168, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_168, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_168, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_168, OBJPROP_XDISTANCE, 510);
   ObjectSet(l_name_168, OBJPROP_YDISTANCE, 70+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M1, "Formula_2", 5, 1) - iCustom(NULL, PERIOD_M1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M1, "Formula_2", 5, 0) - iCustom(NULL, PERIOD_M1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_176 = "AUDJPY M1";
   ObjectDelete(l_name_176);
   ObjectCreate(l_name_176, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_176, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_176, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_176, OBJPROP_XDISTANCE, 340);
   ObjectSet(l_name_176, OBJPROP_YDISTANCE, 90+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M5, "Formula_2", 5, 1) - iCustom(NULL, PERIOD_M5, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M5, "Formula_2", 5, 0) - iCustom(NULL, PERIOD_M5, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_184 = "AUDJPY M5";
   ObjectDelete(l_name_184);
   ObjectCreate(l_name_184, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_184, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_184, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_184, OBJPROP_XDISTANCE, 360);
   ObjectSet(l_name_184, OBJPROP_YDISTANCE, 90+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M15, "Formula_2", 5, 1) - iCustom(NULL, PERIOD_M15, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M15, "Formula_2", 5, 0) - iCustom(NULL, PERIOD_M15, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_192 = "AUDJPY M15";
   ObjectDelete(l_name_192);
   ObjectCreate(l_name_192, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_192, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_192, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_192, OBJPROP_XDISTANCE, 380);
   ObjectSet(l_name_192, OBJPROP_YDISTANCE, 90+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M30, "Formula_2", 5, 1) - iCustom(NULL, PERIOD_M30, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M30, "Formula_2", 5, 0) - iCustom(NULL, PERIOD_M30, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_200 = "AUDJPY M30";
   ObjectDelete(l_name_200);
   ObjectCreate(l_name_200, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_200, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_200, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_200, OBJPROP_XDISTANCE, 400);
   ObjectSet(l_name_200, OBJPROP_YDISTANCE, 90+y_distance );
   ld_16 = iCustom(NULL, PERIOD_H1, "Formula_2", 5, 1) - iCustom(NULL, PERIOD_H1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_H1, "Formula_2", 5, 0) - iCustom(NULL, PERIOD_H1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_208 = "AUDJPY H1";
   ObjectDelete(l_name_208);
   ObjectCreate(l_name_208, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_208, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_208, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_208, OBJPROP_XDISTANCE, 420);
   ObjectSet(l_name_208, OBJPROP_YDISTANCE, 90+y_distance );
   ld_16 = iCustom(NULL, PERIOD_H4, "Formula_2", 5, 1) - iCustom(NULL, PERIOD_H4, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_H4, "Formula_2", 5, 0) - iCustom(NULL, PERIOD_H4, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_216 = "AUDJPY H4";
   ObjectDelete(l_name_216);
   ObjectCreate(l_name_216, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_216, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_216, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_216, OBJPROP_XDISTANCE, 440);
   ObjectSet(l_name_216, OBJPROP_YDISTANCE, 90+y_distance );
   ld_16 = iCustom(NULL, PERIOD_D1, "Formula_2", 5, 1) - iCustom(NULL, PERIOD_D1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_D1, "Formula_2", 5, 0) - iCustom(NULL, PERIOD_D1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_224 = "AUDJPY D1";
   ObjectDelete(l_name_224);
   ObjectCreate(l_name_224, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_224, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_224, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_224, OBJPROP_XDISTANCE, 470);
   ObjectSet(l_name_224, OBJPROP_YDISTANCE, 90+y_distance );
   ld_16 = iCustom(NULL, PERIOD_W1, "Formula_2", 5, 1) - iCustom(NULL, PERIOD_W1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_W1, "Formula_2", 5, 0) - iCustom(NULL, PERIOD_W1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_232 = "AUDJPY W1";
   ObjectDelete(l_name_232);
   ObjectCreate(l_name_232, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_232, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_232, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_232, OBJPROP_XDISTANCE, 490);
   ObjectSet(l_name_232, OBJPROP_YDISTANCE, 90+y_distance );
   ld_16 = iCustom(NULL, PERIOD_MN1, "Formula_2", 5, 1) - iCustom(NULL, PERIOD_MN1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_MN1, "Formula_2", 5, 0) - iCustom(NULL, PERIOD_MN1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_240 = "AUDJPY MN";
   ObjectDelete(l_name_240);
   ObjectCreate(l_name_240, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_240, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_240, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_240, OBJPROP_XDISTANCE, 510);
   ObjectSet(l_name_240, OBJPROP_YDISTANCE, 90+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M1, "Formula_2", 7, 1) - iCustom(NULL, PERIOD_M1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M1, "Formula_2", 7, 0) - iCustom(NULL, PERIOD_M1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_248 = "NZDJPY M1";
   ObjectDelete(l_name_248);
   ObjectCreate(l_name_248, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_248, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_248, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_248, OBJPROP_XDISTANCE, 340);
   ObjectSet(l_name_248, OBJPROP_YDISTANCE, 110+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M5, "Formula_2", 7, 1) - iCustom(NULL, PERIOD_M5, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M5, "Formula_2", 7, 0) - iCustom(NULL, PERIOD_M5, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_256 = "NZDJPY M5";
   ObjectDelete(l_name_256);
   ObjectCreate(l_name_256, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_256, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_256, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_256, OBJPROP_XDISTANCE, 360);
   ObjectSet(l_name_256, OBJPROP_YDISTANCE, 110+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M15, "Formula_2", 7, 1) - iCustom(NULL, PERIOD_M15, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M15, "Formula_2", 7, 0) - iCustom(NULL, PERIOD_M15, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_264 = "NZDJPY M15";
   ObjectDelete(l_name_264);
   ObjectCreate(l_name_264, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_264, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_264, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_264, OBJPROP_XDISTANCE, 380);
   ObjectSet(l_name_264, OBJPROP_YDISTANCE, 110+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M30, "Formula_2", 7, 1) - iCustom(NULL, PERIOD_M30, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M30, "Formula_2", 7, 0) - iCustom(NULL, PERIOD_M30, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_272 = "NZDJPY M30";
   ObjectDelete(l_name_272);
   ObjectCreate(l_name_272, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_272, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_272, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_272, OBJPROP_XDISTANCE, 400);
   ObjectSet(l_name_272, OBJPROP_YDISTANCE, 110+y_distance );
   ld_16 = iCustom(NULL, PERIOD_H1, "Formula_2", 7, 1) - iCustom(NULL, PERIOD_H1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_H1, "Formula_2", 7, 0) - iCustom(NULL, PERIOD_H1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_280 = "NZDJPY H1";
   ObjectDelete(l_name_280);
   ObjectCreate(l_name_280, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_280, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_280, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_280, OBJPROP_XDISTANCE, 420);
   ObjectSet(l_name_280, OBJPROP_YDISTANCE, 110+y_distance );
   ld_16 = iCustom(NULL, PERIOD_H4, "Formula_2", 7, 1) - iCustom(NULL, PERIOD_H4, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_H4, "Formula_2", 7, 0) - iCustom(NULL, PERIOD_H4, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_288 = "NZDJPY H4";
   ObjectDelete(l_name_288);
   ObjectCreate(l_name_288, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_288, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_288, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_288, OBJPROP_XDISTANCE, 440);
   ObjectSet(l_name_288, OBJPROP_YDISTANCE, 110+y_distance );
   ld_16 = iCustom(NULL, PERIOD_D1, "Formula_2", 7, 1) - iCustom(NULL, PERIOD_D1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_D1, "Formula_2", 7, 0) - iCustom(NULL, PERIOD_D1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_296 = "NZDJPY D1";
   ObjectDelete(l_name_296);
   ObjectCreate(l_name_296, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_296, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_296, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_296, OBJPROP_XDISTANCE, 470);
   ObjectSet(l_name_296, OBJPROP_YDISTANCE, 110+y_distance );
   ld_16 = iCustom(NULL, PERIOD_W1, "Formula_2", 7, 1) - iCustom(NULL, PERIOD_W1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_W1, "Formula_2", 7, 0) - iCustom(NULL, PERIOD_W1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_304 = "NZDJPY W1";
   ObjectDelete(l_name_304);
   ObjectCreate(l_name_304, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_304, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_304, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_304, OBJPROP_XDISTANCE, 490);
   ObjectSet(l_name_304, OBJPROP_YDISTANCE, 110+y_distance );
   ld_16 = iCustom(NULL, PERIOD_MN1, "Formula_2", 7, 1) - iCustom(NULL, PERIOD_MN1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_MN1, "Formula_2", 7, 0) - iCustom(NULL, PERIOD_MN1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_312 = "NZDJPY MN";
   ObjectDelete(l_name_312);
   ObjectCreate(l_name_312, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_312, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_312, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_312, OBJPROP_XDISTANCE, 510);
   ObjectSet(l_name_312, OBJPROP_YDISTANCE, 110+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M1, "Formula_2", 3, 1) - iCustom(NULL, PERIOD_M1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M1, "Formula_2", 3, 0) - iCustom(NULL, PERIOD_M1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_320 = "CHFJPY M1";
   ObjectDelete(l_name_320);
   ObjectCreate(l_name_320, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_320, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_320, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_320, OBJPROP_XDISTANCE, 340);
   ObjectSet(l_name_320, OBJPROP_YDISTANCE, 130+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M5, "Formula_2", 3, 1) - iCustom(NULL, PERIOD_M5, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M5, "Formula_2", 3, 0) - iCustom(NULL, PERIOD_M5, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_328 = "CHFJPY M5";
   ObjectDelete(l_name_328);
   ObjectCreate(l_name_328, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_328, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_328, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_328, OBJPROP_XDISTANCE, 360);
   ObjectSet(l_name_328, OBJPROP_YDISTANCE, 130+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M15, "Formula_2", 3, 1) - iCustom(NULL, PERIOD_M15, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M15, "Formula_2", 3, 0) - iCustom(NULL, PERIOD_M15, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_336 = "CHFJPY M15";
   ObjectDelete(l_name_336);
   ObjectCreate(l_name_336, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_336, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_336, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_336, OBJPROP_XDISTANCE, 380);
   ObjectSet(l_name_336, OBJPROP_YDISTANCE, 130+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M30, "Formula_2", 3, 1) - iCustom(NULL, PERIOD_M30, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M30, "Formula_2", 3, 0) - iCustom(NULL, PERIOD_M30, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_344 = "CHFJPY M30";
   ObjectDelete(l_name_344);
   ObjectCreate(l_name_344, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_344, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_344, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_344, OBJPROP_XDISTANCE, 400);
   ObjectSet(l_name_344, OBJPROP_YDISTANCE, 130+y_distance );
   ld_16 = iCustom(NULL, PERIOD_H1, "Formula_2", 3, 1) - iCustom(NULL, PERIOD_H1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_H1, "Formula_2", 3, 0) - iCustom(NULL, PERIOD_H1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_352 = "CHFJPY H1";
   ObjectDelete(l_name_352);
   ObjectCreate(l_name_352, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_352, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_352, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_352, OBJPROP_XDISTANCE, 420);
   ObjectSet(l_name_352, OBJPROP_YDISTANCE, 130+y_distance );
   ld_16 = iCustom(NULL, PERIOD_H4, "Formula_2", 3, 1) - iCustom(NULL, PERIOD_H4, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_H4, "Formula_2", 3, 0) - iCustom(NULL, PERIOD_H4, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_360 = "CHFJPY H4";
   ObjectDelete(l_name_360);
   ObjectCreate(l_name_360, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_360, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_360, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_360, OBJPROP_XDISTANCE, 440);
   ObjectSet(l_name_360, OBJPROP_YDISTANCE, 130+y_distance );
   ld_16 = iCustom(NULL, PERIOD_D1, "Formula_2", 3, 1) - iCustom(NULL, PERIOD_D1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_D1, "Formula_2", 3, 0) - iCustom(NULL, PERIOD_D1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_368 = "CHFJPY D1";
   ObjectDelete(l_name_368);
   ObjectCreate(l_name_368, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_368, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_368, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_368, OBJPROP_XDISTANCE, 470);
   ObjectSet(l_name_368, OBJPROP_YDISTANCE, 130+y_distance );
   ld_16 = iCustom(NULL, PERIOD_W1, "Formula_2", 3, 1) - iCustom(NULL, PERIOD_W1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_W1, "Formula_2", 3, 0) - iCustom(NULL, PERIOD_W1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_376 = "CHFJPY W1";
   ObjectDelete(l_name_376);
   ObjectCreate(l_name_376, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_376, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_376, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_376, OBJPROP_XDISTANCE, 490);
   ObjectSet(l_name_376, OBJPROP_YDISTANCE, 130+y_distance );
   ld_16 = iCustom(NULL, PERIOD_MN1, "Formula_2", 3, 1) - iCustom(NULL, PERIOD_MN1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_MN1, "Formula_2", 3, 0) - iCustom(NULL, PERIOD_MN1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_384 = "CHFJPY MN";
   ObjectDelete(l_name_384);
   ObjectCreate(l_name_384, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_384, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_384, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_384, OBJPROP_XDISTANCE, 510);
   ObjectSet(l_name_384, OBJPROP_YDISTANCE, 130+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M1, "Formula_2", 6, 1) - iCustom(NULL, PERIOD_M1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M1, "Formula_2", 6, 0) - iCustom(NULL, PERIOD_M1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_392 = "CADJPY M1";
   ObjectDelete(l_name_392);
   ObjectCreate(l_name_392, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_392, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_392, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_392, OBJPROP_XDISTANCE, 340);
   ObjectSet(l_name_392, OBJPROP_YDISTANCE, 150+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M5, "Formula_2", 6, 1) - iCustom(NULL, PERIOD_M5, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M5, "Formula_2", 6, 0) - iCustom(NULL, PERIOD_M5, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_400 = "CADJPY M5";
   ObjectDelete(l_name_400);
   ObjectCreate(l_name_400, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_400, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_400, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_400, OBJPROP_XDISTANCE, 360);
   ObjectSet(l_name_400, OBJPROP_YDISTANCE, 150+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M15, "Formula_2", 6, 1) - iCustom(NULL, PERIOD_M15, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M15, "Formula_2", 6, 0) - iCustom(NULL, PERIOD_M15, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_408 = "CADJPY M15";
   ObjectDelete(l_name_408);
   ObjectCreate(l_name_408, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_408, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_408, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_408, OBJPROP_XDISTANCE, 380);
   ObjectSet(l_name_408, OBJPROP_YDISTANCE, 150+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M30, "Formula_2", 6, 1) - iCustom(NULL, PERIOD_M30, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M30, "Formula_2", 6, 0) - iCustom(NULL, PERIOD_M30, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_416 = "CADJPY M30";
   ObjectDelete(l_name_416);
   ObjectCreate(l_name_416, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_416, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_416, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_416, OBJPROP_XDISTANCE, 400);
   ObjectSet(l_name_416, OBJPROP_YDISTANCE, 150+y_distance );
   ld_16 = iCustom(NULL, PERIOD_H1, "Formula_2", 6, 1) - iCustom(NULL, PERIOD_H1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_H1, "Formula_2", 6, 0) - iCustom(NULL, PERIOD_H1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_424 = "CADJPY H1";
   ObjectDelete(l_name_424);
   ObjectCreate(l_name_424, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_424, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_424, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_424, OBJPROP_XDISTANCE, 420);
   ObjectSet(l_name_424, OBJPROP_YDISTANCE, 150+y_distance );
   ld_16 = iCustom(NULL, PERIOD_H4, "Formula_2", 6, 1) - iCustom(NULL, PERIOD_H4, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_H4, "Formula_2", 6, 0) - iCustom(NULL, PERIOD_H4, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_432 = "CADJPY H4";
   ObjectDelete(l_name_432);
   ObjectCreate(l_name_432, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_432, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_432, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_432, OBJPROP_XDISTANCE, 440);
   ObjectSet(l_name_432, OBJPROP_YDISTANCE, 150+y_distance );
   ld_16 = iCustom(NULL, PERIOD_D1, "Formula_2", 6, 1) - iCustom(NULL, PERIOD_D1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_D1, "Formula_2", 6, 0) - iCustom(NULL, PERIOD_D1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_440 = "CADJPY D1";
   ObjectDelete(l_name_440);
   ObjectCreate(l_name_440, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_440, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_440, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_440, OBJPROP_XDISTANCE, 470);
   ObjectSet(l_name_440, OBJPROP_YDISTANCE, 150+y_distance );
   ld_16 = iCustom(NULL, PERIOD_W1, "Formula_2", 6, 1) - iCustom(NULL, PERIOD_W1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_W1, "Formula_2", 6, 0) - iCustom(NULL, PERIOD_W1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_448 = "CADJPY W1";
   ObjectDelete(l_name_448);
   ObjectCreate(l_name_448, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_448, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_448, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_448, OBJPROP_XDISTANCE, 490);
   ObjectSet(l_name_448, OBJPROP_YDISTANCE, 150+y_distance );
   ld_16 = iCustom(NULL, PERIOD_MN1, "Formula_2", 6, 1) - iCustom(NULL, PERIOD_MN1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_MN1, "Formula_2", 6, 0) - iCustom(NULL, PERIOD_MN1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_456 = "CADJPY MN";
   ObjectDelete(l_name_456);
   ObjectCreate(l_name_456, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_456, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_456, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_456, OBJPROP_XDISTANCE, 510);
   ObjectSet(l_name_456, OBJPROP_YDISTANCE, 150+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M1, "Formula_2", 0, 1) - iCustom(NULL, PERIOD_M1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M1, "Formula_2", 0, 0) - iCustom(NULL, PERIOD_M1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_464 = "jpy USDJPY M1";
   ObjectDelete(l_name_464);
   ObjectCreate(l_name_464, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_464, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_464, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_464, OBJPROP_XDISTANCE, 340);
   ObjectSet(l_name_464, OBJPROP_YDISTANCE, 170+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M5, "Formula_2", 0, 1) - iCustom(NULL, PERIOD_M5, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M5, "Formula_2", 0, 0) - iCustom(NULL, PERIOD_M5, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_472 = "jpy USDJPY M5";
   ObjectDelete(l_name_472);
   ObjectCreate(l_name_472, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_472, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_472, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_472, OBJPROP_XDISTANCE, 360);
   ObjectSet(l_name_472, OBJPROP_YDISTANCE, 170+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M15, "Formula_2", 0, 1) - iCustom(NULL, PERIOD_M15, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M15, "Formula_2", 0, 0) - iCustom(NULL, PERIOD_M15, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_480 = "jpy USDJPY M15";
   ObjectDelete(l_name_480);
   ObjectCreate(l_name_480, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_480, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_480, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_480, OBJPROP_XDISTANCE, 380);
   ObjectSet(l_name_480, OBJPROP_YDISTANCE, 170+y_distance );
   ld_16 = iCustom(NULL, PERIOD_M30, "Formula_2", 0, 1) - iCustom(NULL, PERIOD_M30, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_M30, "Formula_2", 0, 0) - iCustom(NULL, PERIOD_M30, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_488 = "jpy USDJPY M30";
   ObjectDelete(l_name_488);
   ObjectCreate(l_name_488, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_488, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_488, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_488, OBJPROP_XDISTANCE, 400);
   ObjectSet(l_name_488, OBJPROP_YDISTANCE, 170+y_distance );
   ld_16 = iCustom(NULL, PERIOD_H1, "Formula_2", 0, 1) - iCustom(NULL, PERIOD_H1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_H1, "Formula_2", 0, 0) - iCustom(NULL, PERIOD_H1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_496 = "jpy USDJPY H1";
   ObjectDelete(l_name_496);
   ObjectCreate(l_name_496, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_496, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_496, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_496, OBJPROP_XDISTANCE, 420);
   ObjectSet(l_name_496, OBJPROP_YDISTANCE, 170+y_distance );
   ld_16 = iCustom(NULL, PERIOD_H4, "Formula_2", 0, 1) - iCustom(NULL, PERIOD_H4, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_H4, "Formula_2", 0, 0) - iCustom(NULL, PERIOD_H4, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_504 = "jpy USDJPY H4";
   ObjectDelete(l_name_504);
   ObjectCreate(l_name_504, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_504, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_504, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_504, OBJPROP_XDISTANCE, 440);
   ObjectSet(l_name_504, OBJPROP_YDISTANCE, 170+y_distance );
   ld_16 = iCustom(NULL, PERIOD_D1, "Formula_2", 0, 1) - iCustom(NULL, PERIOD_D1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_D1, "Formula_2", 0, 0) - iCustom(NULL, PERIOD_D1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_512 = "jpy USDJPY D1";
   ObjectDelete(l_name_512);
   ObjectCreate(l_name_512, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_512, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_512, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_512, OBJPROP_XDISTANCE, 470);
   ObjectSet(l_name_512, OBJPROP_YDISTANCE, 170+y_distance );
   ld_16 = iCustom(NULL, PERIOD_W1, "Formula_2", 0, 1) - iCustom(NULL, PERIOD_W1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_W1, "Formula_2", 0, 0) - iCustom(NULL, PERIOD_W1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_520 = "jpy USDJPY W1";
   ObjectDelete(l_name_520);
   ObjectCreate(l_name_520, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_520, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_520, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_520, OBJPROP_XDISTANCE, 490);
   ObjectSet(l_name_520, OBJPROP_YDISTANCE, 170+y_distance );
   ld_16 = iCustom(NULL, PERIOD_MN1, "Formula_2", 0, 1) - iCustom(NULL, PERIOD_MN1, "Formula_2", 4, 1);
   ld_24 = iCustom(NULL, PERIOD_MN1, "Formula_2", 0, 0) - iCustom(NULL, PERIOD_MN1, "Formula_2", 4, 0);
   if (ld_16 == ld_24) {
      l_text_4 = "ó";
      l_color_12 = DarkOrange;
   } else {
      if (ld_16 < ld_24 && ld_24 > 0.0) {
         l_text_4 = "ñ";
         l_color_12 = Lime;
      }
   }
   if (ld_16 > ld_24 && ld_24 > 0.0) {
      l_text_4 = "ñ";
      l_color_12 = DarkGreen;
   }
   if (ld_16 < ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Maroon;
   }
   if (ld_16 > ld_24 && ld_24 < 0.0) {
      l_text_4 = "ò";
      l_color_12 = Red;
   }
   string l_name_528 = "jpy USDJPY MN";
   ObjectDelete(l_name_528);
   ObjectCreate(l_name_528, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(l_name_528, l_text_4, 10, "Wingdings", l_color_12);
   ObjectSet(l_name_528, OBJPROP_CORNER, Corner);
   ObjectSet(l_name_528, OBJPROP_XDISTANCE, 510);
   ObjectSet(l_name_528, OBJPROP_YDISTANCE, 170+y_distance );
   return (0);
}