Comparing files tst1.txt and TST2.TXT
***** tst1.txt
         fmax(GlobalVariableGet(Symbol() + "_H4_tim1"), GlobalVariableGet(Symbol() + "_H4_tim2"));
      if ((! iCustom(NULL, 0, "Entry_Points_Pro.ex4", "", 1000, "", 0, 0, 500, "", 0, "", "01:00", "23:00", "", 1, 90,
***** TST2.TXT
         fmax(GlobalVariableGet(Symbol() + "_H4_tim1"), GlobalVariableGet(Symbol() + "_H4_tim2"));

// dnTrend GBPJPY.i240 2022.12.08 08:00 O
      for (int pos=ObjectsTotal()-1; pos >= 0 && ! tst; pos --) {
         datetime OTim1=0, OTim2=0;       string name = ObjectName(pos);      OTim1 = ObjectGet(name, OBJPROP_TIME1);      // t
ype = ObjectType(name);
         tst = (StringSubstr(name, 0, 7) == "dnTrend" || StringSubstr(name, 0, 7) == "upTrend") && StringSubstr(name, 8, String
Len(Symbol())) == Symbol() &&
            floor(OTim2 / (60 * Period())) > floor(tim1 / (60 * Period())) && tim1 > 0;     // && floor(TimeCurrent() / (60 * P
eriod())) - floor(OTim1 / (60 * Period())) < 720 / Period();
         if (OTim1 > OTim2) OTim2 = OTim1; }             // if (tst && ! OrdersTotal()) tst = false;
if (tst && AccountInfoInteger(ACCOUNT_TRADE_ALLOWED))
   Alert("*** --Trend! (2) - " + name + " - " + TimeToStr(OTim1, TIME_MINUTES) + " - " + TimeToStr(OTim2, TIME_MINUTES) + " - "
 + TimeToStr(tim1, TIME_MINUTES) + " ***");

      if ((! iCustom(NULL, 0, "Entry_Points_Pro.ex4", "", 1000, "", 0, 0, 500, "", 0, "", "01:00", "23:00", "", 1, 90,
*****

***** tst1.txt
      2, DeepSkyBlue, Red, LimeGreen, LightSkyBlue, "", false, 2, f_wBars(tim1, TimeCurrent())) &&
      (GlobalVariableGet(Symbol() + "_M5_Buy") || GlobalVariableGet(Symbol() + "_H4_Buy"))) || ! tim1) {
         if (Period() < 30) { GlobalVariableSet(Symbol() + "_M5_Buy", 0);     GlobalVariableSet(Symbol() + "_M5_tim1", 0); }
***** TST2.TXT
      2, DeepSkyBlue, Red, LimeGreen, LightSkyBlue, "", false, 2, f_wBars(tim1, TimeCurrent())) &&
      (GlobalVariableGet(Symbol() + "_M5_Buy") || GlobalVariableGet(Symbol() + "_H4_Buy"))) || ! tim1 || tst) { 		***
         if (Period() < 30) { GlobalVariableSet(Symbol() + "_M5_Buy", 0);     GlobalVariableSet(Symbol() + "_M5_tim1", 0); }
*****

***** tst1.txt
      2, DeepSkyBlue, Red, LimeGreen, LightSkyBlue, "", false, 3, f_wBars(tim1, TimeCurrent())) &&
      (GlobalVariableGet(Symbol() + "_M5_Sell") || GlobalVariableGet(Symbol() + "_H4_Sell"))) || ! tim1) {
         if (Period() < 30) { GlobalVariableSet(Symbol() + "_M5_Sell", 0);    GlobalVariableSet(Symbol() + "_M5_tim2", 0); }
***** TST2.TXT
      2, DeepSkyBlue, Red, LimeGreen, LightSkyBlue, "", false, 3, f_wBars(tim1, TimeCurrent())) &&
      (GlobalVariableGet(Symbol() + "_M5_Sell") || GlobalVariableGet(Symbol() + "_H4_Sell"))) || ! tim1 || tst) {		***
         if (Period() < 30) { GlobalVariableSet(Symbol() + "_M5_Sell", 0);    GlobalVariableSet(Symbol() + "_M5_tim2", 0); }
*****

