//+------------------------------------------------------------------+
//| This MQL is generated by Expert Advisor Builder                  |
//|                http://sufx.core.t3-ism.net/ExpertAdvisorBuilder/ |
//|                                                                  |
//|  In no event will author be liable for any damages whatsoever.   |
//|                      Use at your own risk.                       |
//|                                                                  |
//+------------------- DO NOT REMOVE THIS HEADER --------------------+

#property indicator_chart_window
#property indicator_buffers 1
#property indicator_color1 Black

int G_corner_76 = 0;
extern int y_offset = 0;
extern int x_offset = 0;

int init() {
   string name_0 = "F1 TF M1";
   ObjectDelete(name_0);
   ObjectCreate(name_0, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_0, "M1", 7, "Arial Bold", LightSalmon);
   ObjectSet(name_0, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_0, OBJPROP_XDISTANCE, x_offset + 720 - 600);
   ObjectSet(name_0, OBJPROP_YDISTANCE, 540 - y_offset + 100);
   string name_8 = "F1 TF M5";
   ObjectDelete(name_8);
   ObjectCreate(name_8, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_8, "M5", 7, "Arial Bold", LightSalmon);
   ObjectSet(name_8, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_8, OBJPROP_XDISTANCE, x_offset + 760 - 600);
   ObjectSet(name_8, OBJPROP_YDISTANCE, 540 - y_offset + 100);
   string name_16 = "F1 TF M15";
   ObjectDelete(name_16);
   ObjectCreate(name_16, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_16, "M15", 7, "Arial Bold", LightSalmon);
   ObjectSet(name_16, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_16, OBJPROP_XDISTANCE, x_offset + 800 - 600);
   ObjectSet(name_16, OBJPROP_YDISTANCE, 540 - y_offset + 100);
   string name_24 = "F1 TF M30";
   ObjectDelete(name_24);
   ObjectCreate(name_24, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_24, "M30", 7, "Arial Bold", LightSalmon);
   ObjectSet(name_24, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_24, OBJPROP_XDISTANCE, x_offset + 840 - 600);
   ObjectSet(name_24, OBJPROP_YDISTANCE, 540 - y_offset + 100);
   string name_32 = "F1 TF H1";
   ObjectDelete(name_32);
   ObjectCreate(name_32, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_32, "H1", 7, "Arial Bold", LightSalmon);
   ObjectSet(name_32, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_32, OBJPROP_XDISTANCE, x_offset + 880 - 600);
   ObjectSet(name_32, OBJPROP_YDISTANCE, 540 - y_offset + 100);
   string name_40 = "F1 TF H4";
   ObjectDelete(name_40);
   ObjectCreate(name_40, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_40, "H4", 7, "Arial Bold", LightSalmon);
   ObjectSet(name_40, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_40, OBJPROP_XDISTANCE, x_offset + 920 - 600);
   ObjectSet(name_40, OBJPROP_YDISTANCE, 540 - y_offset + 100);
   string name_48 = "F1 TF D1";
   ObjectDelete(name_48);
   ObjectCreate(name_48, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_48, "D1", 7, "Arial Bold", LightSalmon);
   ObjectSet(name_48, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_48, OBJPROP_XDISTANCE, x_offset + 960 - 600);
   ObjectSet(name_48, OBJPROP_YDISTANCE, 540 - y_offset + 100);
   string name_56 = "F1 TF W1";
   ObjectDelete(name_56);
   ObjectCreate(name_56, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_56, "W1", 7, "Arial Bold", LightSalmon);
   ObjectSet(name_56, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_56, OBJPROP_XDISTANCE, x_offset + 1000 - 600);
   ObjectSet(name_56, OBJPROP_YDISTANCE, 540 - y_offset + 100);
   string name_64 = "F1 TF MN";
   ObjectDelete(name_64);
   ObjectCreate(name_64, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_64, "MN", 7, "Arial Bold", LightSalmon);
   ObjectSet(name_64, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_64, OBJPROP_XDISTANCE, x_offset + 1040 - 600);
   ObjectSet(name_64, OBJPROP_YDISTANCE, 540 - y_offset + 100);
   string name_72 = "Maximum";
   ObjectDelete(name_72);
   ObjectCreate(name_72, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_72, "Highest :", 7, "Arial Bold", Gainsboro);
   ObjectSet(name_72, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_72, OBJPROP_XDISTANCE, x_offset + 650 - 600);
   ObjectSet(name_72, OBJPROP_YDISTANCE, 560 - y_offset + 100);
   string name_80 = "Minimum";
   ObjectDelete(name_80);
   ObjectCreate(name_80, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_80, "Lowest :", 7, "Arial Bold", Gainsboro);
   ObjectSet(name_80, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_80, OBJPROP_XDISTANCE, x_offset + 650 - 600);
   ObjectSet(name_80, OBJPROP_YDISTANCE, 580 - y_offset + 100);
   return (0);
}

int deinit() {
   string name_4;
   for (int Li_0 = ObjectsTotal() - 1; Li_0 >= 0; Li_0--) {
      name_4 = ObjectName(Li_0);
      if (StringSubstr(name_4, 0, 5) == "Index") ObjectDelete(name_4);
   }
   return (0);
}

int start() {
   string Ls_unused_4;
   string Ls_unused_12;
   string text_20;
   string text_28;
   if (Period() < PERIOD_M1) return (0);
   int ind_counted_0 = IndicatorCounted();
   color color_36 = SlateBlue;
   color color_40 = Yellow;
   double icustom_44 = iCustom(NULL, PERIOD_M1, "Formula_2", 0, 0);
   double icustom_52 = iCustom(NULL, PERIOD_M1, "Formula_2", 1, 0);
   double icustom_60 = iCustom(NULL, PERIOD_M1, "Formula_2", 2, 0);
   double icustom_68 = iCustom(NULL, PERIOD_M1, "Formula_2", 3, 0);
   double icustom_76 = iCustom(NULL, PERIOD_M1, "Formula_2", 4, 0);
   double icustom_84 = iCustom(NULL, PERIOD_M1, "Formula_2", 5, 0);
   double icustom_92 = iCustom(NULL, PERIOD_M1, "Formula_2", 6, 0);
   double icustom_100 = iCustom(NULL, PERIOD_M1, "Formula_2", 7, 0);
   double Ld_108 = MathMax(icustom_44, icustom_52);
   double Ld_116 = MathMax(Ld_108, icustom_60);
   double Ld_124 = MathMax(Ld_116, icustom_68);
   double Ld_132 = MathMax(Ld_124, icustom_76);
   double Ld_140 = MathMax(Ld_132, icustom_84);
   double Ld_148 = MathMax(Ld_140, icustom_92);
   double Ld_156 = MathMax(Ld_148, icustom_100);
   double Ld_164 = MathMin(icustom_44, icustom_52);
   double Ld_172 = MathMin(Ld_164, icustom_60);
   double Ld_180 = MathMin(Ld_172, icustom_68);
   double Ld_188 = MathMin(Ld_180, icustom_76);
   double Ld_196 = MathMin(Ld_188, icustom_84);
   double Ld_204 = MathMin(Ld_196, icustom_92);
   double Ld_212 = MathMin(Ld_204, icustom_100);
   if (Ld_156 == icustom_44) text_20 = "USD";
   if (Ld_156 == icustom_52) text_20 = "EUR";
   if (Ld_156 == icustom_60) text_20 = "GBP";
   if (Ld_156 == icustom_68) text_20 = "CHF";
   if (Ld_156 == icustom_76) text_20 = "JPY";
   if (Ld_156 == icustom_84) text_20 = "AUD";
   if (Ld_156 == icustom_92) text_20 = "CAD";
   if (Ld_156 == icustom_100) text_20 = "NZD";
   if (Ld_212 == icustom_44) text_28 = "USD";
   if (Ld_212 == icustom_52) text_28 = "EUR";
   if (Ld_212 == icustom_60) text_28 = "GBP";
   if (Ld_212 == icustom_68) text_28 = "CHF";
   if (Ld_212 == icustom_76) text_28 = "JPY";
   if (Ld_212 == icustom_84) text_28 = "AUD";
   if (Ld_212 == icustom_92) text_28 = "CAD";
   if (Ld_212 == icustom_100) text_28 = "NZD";
   string name_220 = "max M1";
   ObjectDelete(name_220);
   ObjectCreate(name_220, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_220, text_20, 7, "Arial Bold", color_36);
   ObjectSet(name_220, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_220, OBJPROP_XDISTANCE, x_offset + 715 - 600);
   ObjectSet(name_220, OBJPROP_YDISTANCE, 560 - y_offset + 100);
   string name_228 = "min M1";
   ObjectDelete(name_228);
   ObjectCreate(name_228, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_228, text_28, 7, "Arial Bold", color_40);
   ObjectSet(name_228, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_228, OBJPROP_XDISTANCE, x_offset + 715 - 600);
   ObjectSet(name_228, OBJPROP_YDISTANCE, 580 - y_offset + 100);
   icustom_44 = iCustom(NULL, PERIOD_M5, "Formula_2", 0, 0);
   icustom_52 = iCustom(NULL, PERIOD_M5, "Formula_2", 1, 0);
   icustom_60 = iCustom(NULL, PERIOD_M5, "Formula_2", 2, 0);
   icustom_68 = iCustom(NULL, PERIOD_M5, "Formula_2", 3, 0);
   icustom_76 = iCustom(NULL, PERIOD_M5, "Formula_2", 4, 0);
   icustom_84 = iCustom(NULL, PERIOD_M5, "Formula_2", 5, 0);
   icustom_92 = iCustom(NULL, PERIOD_M5, "Formula_2", 6, 0);
   icustom_100 = iCustom(NULL, PERIOD_M5, "Formula_2", 7, 0);
   Ld_108 = MathMax(icustom_44, icustom_52);
   Ld_116 = MathMax(Ld_108, icustom_60);
   Ld_124 = MathMax(Ld_116, icustom_68);
   Ld_132 = MathMax(Ld_124, icustom_76);
   Ld_140 = MathMax(Ld_132, icustom_84);
   Ld_148 = MathMax(Ld_140, icustom_92);
   Ld_156 = MathMax(Ld_148, icustom_100);
   Ld_164 = MathMin(icustom_44, icustom_52);
   Ld_172 = MathMin(Ld_164, icustom_60);
   Ld_180 = MathMin(Ld_172, icustom_68);
   Ld_188 = MathMin(Ld_180, icustom_76);
   Ld_196 = MathMin(Ld_188, icustom_84);
   Ld_204 = MathMin(Ld_196, icustom_92);
   Ld_212 = MathMin(Ld_204, icustom_100);
   if (Ld_156 == icustom_44) text_20 = "USD";
   if (Ld_156 == icustom_52) text_20 = "EUR";
   if (Ld_156 == icustom_60) text_20 = "GBP";
   if (Ld_156 == icustom_68) text_20 = "CHF";
   if (Ld_156 == icustom_76) text_20 = "JPY";
   if (Ld_156 == icustom_84) text_20 = "AUD";
   if (Ld_156 == icustom_92) text_20 = "CAD";
   if (Ld_156 == icustom_100) text_20 = "NZD";
   if (Ld_212 == icustom_44) text_28 = "USD";
   if (Ld_212 == icustom_52) text_28 = "EUR";
   if (Ld_212 == icustom_60) text_28 = "GBP";
   if (Ld_212 == icustom_68) text_28 = "CHF";
   if (Ld_212 == icustom_76) text_28 = "JPY";
   if (Ld_212 == icustom_84) text_28 = "AUD";
   if (Ld_212 == icustom_92) text_28 = "CAD";
   if (Ld_212 == icustom_100) text_28 = "NZD";
   string name_236 = "max M5";
   ObjectDelete(name_236);
   ObjectCreate(name_236, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_236, text_20, 7, "Arial Bold", color_36);
   ObjectSet(name_236, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_236, OBJPROP_XDISTANCE, x_offset + 755 - 600);
   ObjectSet(name_236, OBJPROP_YDISTANCE, 560 - y_offset + 100);
   string name_244 = "min M5";
   ObjectDelete(name_244);
   ObjectCreate(name_244, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_244, text_28, 7, "Arial Bold", color_40);
   ObjectSet(name_244, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_244, OBJPROP_XDISTANCE, x_offset + 755 - 600);
   ObjectSet(name_244, OBJPROP_YDISTANCE, 580 - y_offset + 100);
   icustom_44 = iCustom(NULL, PERIOD_M15, "Formula_2", 0, 0);
   icustom_52 = iCustom(NULL, PERIOD_M15, "Formula_2", 1, 0);
   icustom_60 = iCustom(NULL, PERIOD_M15, "Formula_2", 2, 0);
   icustom_68 = iCustom(NULL, PERIOD_M15, "Formula_2", 3, 0);
   icustom_76 = iCustom(NULL, PERIOD_M15, "Formula_2", 4, 0);
   icustom_84 = iCustom(NULL, PERIOD_M15, "Formula_2", 5, 0);
   icustom_92 = iCustom(NULL, PERIOD_M15, "Formula_2", 6, 0);
   icustom_100 = iCustom(NULL, PERIOD_M15, "Formula_2", 7, 0);
   Ld_108 = MathMax(icustom_44, icustom_52);
   Ld_116 = MathMax(Ld_108, icustom_60);
   Ld_124 = MathMax(Ld_116, icustom_68);
   Ld_132 = MathMax(Ld_124, icustom_76);
   Ld_140 = MathMax(Ld_132, icustom_84);
   Ld_148 = MathMax(Ld_140, icustom_92);
   Ld_156 = MathMax(Ld_148, icustom_100);
   Ld_164 = MathMin(icustom_44, icustom_52);
   Ld_172 = MathMin(Ld_164, icustom_60);
   Ld_180 = MathMin(Ld_172, icustom_68);
   Ld_188 = MathMin(Ld_180, icustom_76);
   Ld_196 = MathMin(Ld_188, icustom_84);
   Ld_204 = MathMin(Ld_196, icustom_92);
   Ld_212 = MathMin(Ld_204, icustom_100);
   if (Ld_156 == icustom_44) text_20 = "USD";
   if (Ld_156 == icustom_52) text_20 = "EUR";
   if (Ld_156 == icustom_60) text_20 = "GBP";
   if (Ld_156 == icustom_68) text_20 = "CHF";
   if (Ld_156 == icustom_76) text_20 = "JPY";
   if (Ld_156 == icustom_84) text_20 = "AUD";
   if (Ld_156 == icustom_92) text_20 = "CAD";
   if (Ld_156 == icustom_100) text_20 = "NZD";
   if (Ld_212 == icustom_44) text_28 = "USD";
   if (Ld_212 == icustom_52) text_28 = "EUR";
   if (Ld_212 == icustom_60) text_28 = "GBP";
   if (Ld_212 == icustom_68) text_28 = "CHF";
   if (Ld_212 == icustom_76) text_28 = "JPY";
   if (Ld_212 == icustom_84) text_28 = "AUD";
   if (Ld_212 == icustom_92) text_28 = "CAD";
   if (Ld_212 == icustom_100) text_28 = "NZD";
   string name_252 = "max M15";
   ObjectDelete(name_252);
   ObjectCreate(name_252, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_252, text_20, 7, "Arial Bold", color_36);
   ObjectSet(name_252, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_252, OBJPROP_XDISTANCE, x_offset + 795 - 600);
   ObjectSet(name_252, OBJPROP_YDISTANCE, 560 - y_offset + 100);
   string name_260 = "min M15";
   ObjectDelete(name_260);
   ObjectCreate(name_260, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_260, text_28, 7, "Arial Bold", color_40);
   ObjectSet(name_260, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_260, OBJPROP_XDISTANCE, x_offset + 795 - 600);
   ObjectSet(name_260, OBJPROP_YDISTANCE, 580 - y_offset + 100);
   icustom_44 = iCustom(NULL, PERIOD_M30, "Formula_2", 0, 0);
   icustom_52 = iCustom(NULL, PERIOD_M30, "Formula_2", 1, 0);
   icustom_60 = iCustom(NULL, PERIOD_M30, "Formula_2", 2, 0);
   icustom_68 = iCustom(NULL, PERIOD_M30, "Formula_2", 3, 0);
   icustom_76 = iCustom(NULL, PERIOD_M30, "Formula_2", 4, 0);
   icustom_84 = iCustom(NULL, PERIOD_M30, "Formula_2", 5, 0);
   icustom_92 = iCustom(NULL, PERIOD_M30, "Formula_2", 6, 0);
   icustom_100 = iCustom(NULL, PERIOD_M30, "Formula_2", 7, 0);
   Ld_108 = MathMax(icustom_44, icustom_52);
   Ld_116 = MathMax(Ld_108, icustom_60);
   Ld_124 = MathMax(Ld_116, icustom_68);
   Ld_132 = MathMax(Ld_124, icustom_76);
   Ld_140 = MathMax(Ld_132, icustom_84);
   Ld_148 = MathMax(Ld_140, icustom_92);
   Ld_156 = MathMax(Ld_148, icustom_100);
   Ld_164 = MathMin(icustom_44, icustom_52);
   Ld_172 = MathMin(Ld_164, icustom_60);
   Ld_180 = MathMin(Ld_172, icustom_68);
   Ld_188 = MathMin(Ld_180, icustom_76);
   Ld_196 = MathMin(Ld_188, icustom_84);
   Ld_204 = MathMin(Ld_196, icustom_92);
   Ld_212 = MathMin(Ld_204, icustom_100);
   if (Ld_156 == icustom_44) text_20 = "USD";
   if (Ld_156 == icustom_52) text_20 = "EUR";
   if (Ld_156 == icustom_60) text_20 = "GBP";
   if (Ld_156 == icustom_68) text_20 = "CHF";
   if (Ld_156 == icustom_76) text_20 = "JPY";
   if (Ld_156 == icustom_84) text_20 = "AUD";
   if (Ld_156 == icustom_92) text_20 = "CAD";
   if (Ld_156 == icustom_100) text_20 = "NZD";
   if (Ld_212 == icustom_44) text_28 = "USD";
   if (Ld_212 == icustom_52) text_28 = "EUR";
   if (Ld_212 == icustom_60) text_28 = "GBP";
   if (Ld_212 == icustom_68) text_28 = "CHF";
   if (Ld_212 == icustom_76) text_28 = "JPY";
   if (Ld_212 == icustom_84) text_28 = "AUD";
   if (Ld_212 == icustom_92) text_28 = "CAD";
   if (Ld_212 == icustom_100) text_28 = "NZD";
   string name_268 = "max M30";
   ObjectDelete(name_268);
   ObjectCreate(name_268, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_268, text_20, 7, "Arial Bold", color_36);
   ObjectSet(name_268, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_268, OBJPROP_XDISTANCE, x_offset + 835 - 600);
   ObjectSet(name_268, OBJPROP_YDISTANCE, 560 - y_offset + 100);
   string name_276 = "min M30";
   ObjectDelete(name_276);
   ObjectCreate(name_276, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_276, text_28, 7, "Arial Bold", color_40);
   ObjectSet(name_276, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_276, OBJPROP_XDISTANCE, x_offset + 835 - 600);
   ObjectSet(name_276, OBJPROP_YDISTANCE, 580 - y_offset + 100);
   icustom_44 = iCustom(NULL, PERIOD_H1, "Formula_2", 0, 0);
   icustom_52 = iCustom(NULL, PERIOD_H1, "Formula_2", 1, 0);
   icustom_60 = iCustom(NULL, PERIOD_H1, "Formula_2", 2, 0);
   icustom_68 = iCustom(NULL, PERIOD_H1, "Formula_2", 3, 0);
   icustom_76 = iCustom(NULL, PERIOD_H1, "Formula_2", 4, 0);
   icustom_84 = iCustom(NULL, PERIOD_H1, "Formula_2", 5, 0);
   icustom_92 = iCustom(NULL, PERIOD_H1, "Formula_2", 6, 0);
   icustom_100 = iCustom(NULL, PERIOD_H1, "Formula_2", 7, 0);
   Ld_108 = MathMax(icustom_44, icustom_52);
   Ld_116 = MathMax(Ld_108, icustom_60);
   Ld_124 = MathMax(Ld_116, icustom_68);
   Ld_132 = MathMax(Ld_124, icustom_76);
   Ld_140 = MathMax(Ld_132, icustom_84);
   Ld_148 = MathMax(Ld_140, icustom_92);
   Ld_156 = MathMax(Ld_148, icustom_100);
   Ld_164 = MathMin(icustom_44, icustom_52);
   Ld_172 = MathMin(Ld_164, icustom_60);
   Ld_180 = MathMin(Ld_172, icustom_68);
   Ld_188 = MathMin(Ld_180, icustom_76);
   Ld_196 = MathMin(Ld_188, icustom_84);
   Ld_204 = MathMin(Ld_196, icustom_92);
   Ld_212 = MathMin(Ld_204, icustom_100);
   if (Ld_156 == icustom_44) text_20 = "USD";
   if (Ld_156 == icustom_52) text_20 = "EUR";
   if (Ld_156 == icustom_60) text_20 = "GBP";
   if (Ld_156 == icustom_68) text_20 = "CHF";
   if (Ld_156 == icustom_76) text_20 = "JPY";
   if (Ld_156 == icustom_84) text_20 = "AUD";
   if (Ld_156 == icustom_92) text_20 = "CAD";
   if (Ld_156 == icustom_100) text_20 = "NZD";
   if (Ld_212 == icustom_44) text_28 = "USD";
   if (Ld_212 == icustom_52) text_28 = "EUR";
   if (Ld_212 == icustom_60) text_28 = "GBP";
   if (Ld_212 == icustom_68) text_28 = "CHF";
   if (Ld_212 == icustom_76) text_28 = "JPY";
   if (Ld_212 == icustom_84) text_28 = "AUD";
   if (Ld_212 == icustom_92) text_28 = "CAD";
   if (Ld_212 == icustom_100) text_28 = "NZD";
   string name_284 = "max H1";
   ObjectDelete(name_284);
   ObjectCreate(name_284, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_284, text_20, 7, "Arial Bold", color_36);
   ObjectSet(name_284, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_284, OBJPROP_XDISTANCE, x_offset + 875 - 600);
   ObjectSet(name_284, OBJPROP_YDISTANCE, 560 - y_offset + 100);
   string name_292 = "min H1";
   ObjectDelete(name_292);
   ObjectCreate(name_292, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_292, text_28, 7, "Arial Bold", color_40);
   ObjectSet(name_292, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_292, OBJPROP_XDISTANCE, x_offset + 875 - 600);
   ObjectSet(name_292, OBJPROP_YDISTANCE, 580 - y_offset + 100);
   icustom_44 = iCustom(NULL, PERIOD_H4, "Formula_2", 0, 0);
   icustom_52 = iCustom(NULL, PERIOD_H4, "Formula_2", 1, 0);
   icustom_60 = iCustom(NULL, PERIOD_H4, "Formula_2", 2, 0);
   icustom_68 = iCustom(NULL, PERIOD_H4, "Formula_2", 3, 0);
   icustom_76 = iCustom(NULL, PERIOD_H4, "Formula_2", 4, 0);
   icustom_84 = iCustom(NULL, PERIOD_H4, "Formula_2", 5, 0);
   icustom_92 = iCustom(NULL, PERIOD_H4, "Formula_2", 6, 0);
   icustom_100 = iCustom(NULL, PERIOD_H4, "Formula_2", 7, 0);
   Ld_108 = MathMax(icustom_44, icustom_52);
   Ld_116 = MathMax(Ld_108, icustom_60);
   Ld_124 = MathMax(Ld_116, icustom_68);
   Ld_132 = MathMax(Ld_124, icustom_76);
   Ld_140 = MathMax(Ld_132, icustom_84);
   Ld_148 = MathMax(Ld_140, icustom_92);
   Ld_156 = MathMax(Ld_148, icustom_100);
   Ld_164 = MathMin(icustom_44, icustom_52);
   Ld_172 = MathMin(Ld_164, icustom_60);
   Ld_180 = MathMin(Ld_172, icustom_68);
   Ld_188 = MathMin(Ld_180, icustom_76);
   Ld_196 = MathMin(Ld_188, icustom_84);
   Ld_204 = MathMin(Ld_196, icustom_92);
   Ld_212 = MathMin(Ld_204, icustom_100);
   if (Ld_156 == icustom_44) text_20 = "USD";
   if (Ld_156 == icustom_52) text_20 = "EUR";
   if (Ld_156 == icustom_60) text_20 = "GBP";
   if (Ld_156 == icustom_68) text_20 = "CHF";
   if (Ld_156 == icustom_76) text_20 = "JPY";
   if (Ld_156 == icustom_84) text_20 = "AUD";
   if (Ld_156 == icustom_92) text_20 = "CAD";
   if (Ld_156 == icustom_100) text_20 = "NZD";
   if (Ld_212 == icustom_44) text_28 = "USD";
   if (Ld_212 == icustom_52) text_28 = "EUR";
   if (Ld_212 == icustom_60) text_28 = "GBP";
   if (Ld_212 == icustom_68) text_28 = "CHF";
   if (Ld_212 == icustom_76) text_28 = "JPY";
   if (Ld_212 == icustom_84) text_28 = "AUD";
   if (Ld_212 == icustom_92) text_28 = "CAD";
   if (Ld_212 == icustom_100) text_28 = "NZD";
   string name_300 = "max H4";
   ObjectDelete(name_300);
   ObjectCreate(name_300, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_300, text_20, 7, "Arial Bold", color_36);
   ObjectSet(name_300, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_300, OBJPROP_XDISTANCE, x_offset + 915 - 600);
   ObjectSet(name_300, OBJPROP_YDISTANCE, 560 - y_offset + 100);
   string name_308 = "min H4";
   ObjectDelete(name_308);
   ObjectCreate(name_308, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_308, text_28, 7, "Arial Bold", color_40);
   ObjectSet(name_308, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_308, OBJPROP_XDISTANCE, x_offset + 915 - 600);
   ObjectSet(name_308, OBJPROP_YDISTANCE, 580 - y_offset + 100);
   icustom_44 = iCustom(NULL, PERIOD_D1, "Formula_2", 0, 0);
   icustom_52 = iCustom(NULL, PERIOD_D1, "Formula_2", 1, 0);
   icustom_60 = iCustom(NULL, PERIOD_D1, "Formula_2", 2, 0);
   icustom_68 = iCustom(NULL, PERIOD_D1, "Formula_2", 3, 0);
   icustom_76 = iCustom(NULL, PERIOD_D1, "Formula_2", 4, 0);
   icustom_84 = iCustom(NULL, PERIOD_D1, "Formula_2", 5, 0);
   icustom_92 = iCustom(NULL, PERIOD_D1, "Formula_2", 6, 0);
   icustom_100 = iCustom(NULL, PERIOD_D1, "Formula_2", 7, 0);
   Ld_108 = MathMax(icustom_44, icustom_52);
   Ld_116 = MathMax(Ld_108, icustom_60);
   Ld_124 = MathMax(Ld_116, icustom_68);
   Ld_132 = MathMax(Ld_124, icustom_76);
   Ld_140 = MathMax(Ld_132, icustom_84);
   Ld_148 = MathMax(Ld_140, icustom_92);
   Ld_156 = MathMax(Ld_148, icustom_100);
   Ld_164 = MathMin(icustom_44, icustom_52);
   Ld_172 = MathMin(Ld_164, icustom_60);
   Ld_180 = MathMin(Ld_172, icustom_68);
   Ld_188 = MathMin(Ld_180, icustom_76);
   Ld_196 = MathMin(Ld_188, icustom_84);
   Ld_204 = MathMin(Ld_196, icustom_92);
   Ld_212 = MathMin(Ld_204, icustom_100);
   if (Ld_156 == icustom_44) text_20 = "USD";
   if (Ld_156 == icustom_52) text_20 = "EUR";
   if (Ld_156 == icustom_60) text_20 = "GBP";
   if (Ld_156 == icustom_68) text_20 = "CHF";
   if (Ld_156 == icustom_76) text_20 = "JPY";
   if (Ld_156 == icustom_84) text_20 = "AUD";
   if (Ld_156 == icustom_92) text_20 = "CAD";
   if (Ld_156 == icustom_100) text_20 = "NZD";
   if (Ld_212 == icustom_44) text_28 = "USD";
   if (Ld_212 == icustom_52) text_28 = "EUR";
   if (Ld_212 == icustom_60) text_28 = "GBP";
   if (Ld_212 == icustom_68) text_28 = "CHF";
   if (Ld_212 == icustom_76) text_28 = "JPY";
   if (Ld_212 == icustom_84) text_28 = "AUD";
   if (Ld_212 == icustom_92) text_28 = "CAD";
   if (Ld_212 == icustom_100) text_28 = "NZD";
   string name_316 = "max D1";
   ObjectDelete(name_316);
   ObjectCreate(name_316, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_316, text_20, 7, "Arial Bold", color_36);
   ObjectSet(name_316, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_316, OBJPROP_XDISTANCE, x_offset + 955 - 600);
   ObjectSet(name_316, OBJPROP_YDISTANCE, 560 - y_offset + 100);
   string name_324 = "min D1";
   ObjectDelete(name_324);
   ObjectCreate(name_324, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_324, text_28, 7, "Arial Bold", color_40);
   ObjectSet(name_324, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_324, OBJPROP_XDISTANCE, x_offset + 955 - 600);
   ObjectSet(name_324, OBJPROP_YDISTANCE, 580 - y_offset + 100);
   icustom_44 = iCustom(NULL, PERIOD_W1, "Formula_2", 0, 0);
   icustom_52 = iCustom(NULL, PERIOD_W1, "Formula_2", 1, 0);
   icustom_60 = iCustom(NULL, PERIOD_W1, "Formula_2", 2, 0);
   icustom_68 = iCustom(NULL, PERIOD_W1, "Formula_2", 3, 0);
   icustom_76 = iCustom(NULL, PERIOD_W1, "Formula_2", 4, 0);
   icustom_84 = iCustom(NULL, PERIOD_W1, "Formula_2", 5, 0);
   icustom_92 = iCustom(NULL, PERIOD_W1, "Formula_2", 6, 0);
   icustom_100 = iCustom(NULL, PERIOD_W1, "Formula_2", 7, 0);
   Ld_108 = MathMax(icustom_44, icustom_52);
   Ld_116 = MathMax(Ld_108, icustom_60);
   Ld_124 = MathMax(Ld_116, icustom_68);
   Ld_132 = MathMax(Ld_124, icustom_76);
   Ld_140 = MathMax(Ld_132, icustom_84);
   Ld_148 = MathMax(Ld_140, icustom_92);
   Ld_156 = MathMax(Ld_148, icustom_100);
   Ld_164 = MathMin(icustom_44, icustom_52);
   Ld_172 = MathMin(Ld_164, icustom_60);
   Ld_180 = MathMin(Ld_172, icustom_68);
   Ld_188 = MathMin(Ld_180, icustom_76);
   Ld_196 = MathMin(Ld_188, icustom_84);
   Ld_204 = MathMin(Ld_196, icustom_92);
   Ld_212 = MathMin(Ld_204, icustom_100);
   if (Ld_156 == icustom_44) text_20 = "USD";
   if (Ld_156 == icustom_52) text_20 = "EUR";
   if (Ld_156 == icustom_60) text_20 = "GBP";
   if (Ld_156 == icustom_68) text_20 = "CHF";
   if (Ld_156 == icustom_76) text_20 = "JPY";
   if (Ld_156 == icustom_84) text_20 = "AUD";
   if (Ld_156 == icustom_92) text_20 = "CAD";
   if (Ld_156 == icustom_100) text_20 = "NZD";
   if (Ld_212 == icustom_44) text_28 = "USD";
   if (Ld_212 == icustom_52) text_28 = "EUR";
   if (Ld_212 == icustom_60) text_28 = "GBP";
   if (Ld_212 == icustom_68) text_28 = "CHF";
   if (Ld_212 == icustom_76) text_28 = "JPY";
   if (Ld_212 == icustom_84) text_28 = "AUD";
   if (Ld_212 == icustom_92) text_28 = "CAD";
   if (Ld_212 == icustom_100) text_28 = "NZD";
   string name_332 = "max W1";
   ObjectDelete(name_332);
   ObjectCreate(name_332, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_332, text_20, 7, "Arial Bold", color_36);
   ObjectSet(name_332, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_332, OBJPROP_XDISTANCE, x_offset + 995 - 600);
   ObjectSet(name_332, OBJPROP_YDISTANCE, 560 - y_offset + 100);
   string name_340 = "min W1";
   ObjectDelete(name_340);
   ObjectCreate(name_340, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_340, text_28, 7, "Arial Bold", color_40);
   ObjectSet(name_340, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_340, OBJPROP_XDISTANCE, x_offset + 995 - 600);
   ObjectSet(name_340, OBJPROP_YDISTANCE, 580 - y_offset + 100);
   icustom_44 = iCustom(NULL, PERIOD_MN1, "Formula_2", 0, 0);
   icustom_52 = iCustom(NULL, PERIOD_MN1, "Formula_2", 1, 0);
   icustom_60 = iCustom(NULL, PERIOD_MN1, "Formula_2", 2, 0);
   icustom_68 = iCustom(NULL, PERIOD_MN1, "Formula_2", 3, 0);
   icustom_76 = iCustom(NULL, PERIOD_MN1, "Formula_2", 4, 0);
   icustom_84 = iCustom(NULL, PERIOD_MN1, "Formula_2", 5, 0);
   icustom_92 = iCustom(NULL, PERIOD_MN1, "Formula_2", 6, 0);
   icustom_100 = iCustom(NULL, PERIOD_MN1, "Formula_2", 7, 0);
   Ld_108 = MathMax(icustom_44, icustom_52);
   Ld_116 = MathMax(Ld_108, icustom_60);
   Ld_124 = MathMax(Ld_116, icustom_68);
   Ld_132 = MathMax(Ld_124, icustom_76);
   Ld_140 = MathMax(Ld_132, icustom_84);
   Ld_148 = MathMax(Ld_140, icustom_92);
   Ld_156 = MathMax(Ld_148, icustom_100);
   Ld_164 = MathMin(icustom_44, icustom_52);
   Ld_172 = MathMin(Ld_164, icustom_60);
   Ld_180 = MathMin(Ld_172, icustom_68);
   Ld_188 = MathMin(Ld_180, icustom_76);
   Ld_196 = MathMin(Ld_188, icustom_84);
   Ld_204 = MathMin(Ld_196, icustom_92);
   Ld_212 = MathMin(Ld_204, icustom_100);
   if (Ld_156 == icustom_44) text_20 = "USD";
   if (Ld_156 == icustom_52) text_20 = "EUR";
   if (Ld_156 == icustom_60) text_20 = "GBP";
   if (Ld_156 == icustom_68) text_20 = "CHF";
   if (Ld_156 == icustom_76) text_20 = "JPY";
   if (Ld_156 == icustom_84) text_20 = "AUD";
   if (Ld_156 == icustom_92) text_20 = "CAD";
   if (Ld_156 == icustom_100) text_20 = "NZD";
   if (Ld_212 == icustom_44) text_28 = "USD";
   if (Ld_212 == icustom_52) text_28 = "EUR";
   if (Ld_212 == icustom_60) text_28 = "GBP";
   if (Ld_212 == icustom_68) text_28 = "CHF";
   if (Ld_212 == icustom_76) text_28 = "JPY";
   if (Ld_212 == icustom_84) text_28 = "AUD";
   if (Ld_212 == icustom_92) text_28 = "CAD";
   if (Ld_212 == icustom_100) text_28 = "NZD";
   string name_348 = "max MN";
   ObjectDelete(name_348);
   ObjectCreate(name_348, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_348, text_20, 7, "Arial Bold", color_36);
   ObjectSet(name_348, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_348, OBJPROP_XDISTANCE, x_offset + 1035 - 600);
   ObjectSet(name_348, OBJPROP_YDISTANCE, 560 - y_offset + 100);
   string name_356 = "min MN";
   ObjectDelete(name_356);
   ObjectCreate(name_356, OBJ_LABEL, 0, 0, 0);
   ObjectSetText(name_356, text_28, 7, "Arial Bold", color_40);
   ObjectSet(name_356, OBJPROP_CORNER, G_corner_76);
   ObjectSet(name_356, OBJPROP_XDISTANCE, x_offset + 1035 - 600);
   ObjectSet(name_356, OBJPROP_YDISTANCE, 580 - y_offset + 100);
   return (0);
}
