Comparaison des fichiers tst1.txt et TST2.TXT
***** tst1.txt
datetime tim1, tim2, tim_STCr, tim_STCr2, tim3, tim4, tim5, tim6, tim7, tim_l1=0, tim_l2=0, tim1s, tim_pnd=0, ttmp=0, tim9, t_OH=0, t_M5=0, t_M5b=0, t_M1=0, t_M1b=0, t_M15=0, t_M1c=0, t_mOrd=0;

***** TST2.TXT
datetime tim1, tim2, tim_STCr, tim_STCr2, tim3, tim4, tim5, tim6, tim7, tim_l1=0, tim_l2=0, tim1s, tim_pnd=0, ttmp=0, tim9, t_OH=0, t_M5=0, t_M5b=0, t_M1=0, t_M1b=0, t_M15=0,
   t_M1c=0, t_mOrd=0, t_prf=0;

*****

***** tst1.txt
1, "New folder\\ADX.ex4", 7, 0, 0) > adx_7 - 2.0 && ! tst8b &&
                  ! tst7b && iATR(NULL, PERIOD_M1, 7, 0) > 1.25) || tst13) && opt12))) && tim1s < StrToInteger(line_read[ArraySize(line_read)/15-i][13]))) && (Hour() < 22 || fh > 2) &&
***** TST2.TXT
1, "New folder\\ADX.ex4", 7, 0, 0) > adx_7 - 2.0 && ! tst8b &&
                  ! tst7b && iATR(NULL, PERIOD_M1, 7, 0) < 1.25) || tst13) && opt12))) && tim1s < StrToInteger(line_read[ArraySize(line_read)/15-i][13]))) && (Hour() < 22 || fh > 2) &&
*****

***** tst1.txt
r-trend_.ex4", 10, fact_2,/*S*/ 1, iBarShift(NULL, PERIOD_M1,
         t_M1c))))) && myHour() < 22), tst14, tst14b, tst14c/*=(iCustom(NULL, PERIOD_M1, "New folder\\ADX.ex4", 14, 0, 0) < iCustom(NULL, PERIOD_M1, "New folder\\ADX.ex4",
         14, 2, 0) || iCustom(NULL, PERIOD_M1, "New folder\\ADX.ex4", 14, 0, 0) < iCustom(NULL, PERIOD_M1, "New folder\\ADX.ex4
***** TST2.TXT
r-trend_.ex4", 10, fact_2,/*S*/ 1, iBarShift(NULL, PERIOD_M1,
         t_M1c)))) || opt13) && myHour() < 22), tst14, tst14b, tst14c/*=(iCustom(NULL, PERIOD_M1, "New folder\\ADX.ex4", 14, 0, 0) < iCustom(NULL, PERIOD_M1, "New folder\\ADX.ex4",
         14, 2, 0) || iCustom(NULL, PERIOD_M1, "New folder\\ADX.ex4", 14, 0, 0) < iCustom(NULL, PERIOD_M1, "New folder\\ADX.ex4
*****

***** tst1.txt
      14, 0, 0) <= adx_14 - 2.0) && iCustom(NULL, PERIOD_M1, "New folder\\ADX.ex4", 7, 0, 0) > adx_7 - 2.0 && ! tst8b && ! tst7b && iATR(NULL, PERIOD_M1, 7, 0) > 1.25) ||
      tst13) && opt12))) && Hour() < 22 && ticket <= 0 && ticket2 <= 0 && sl2) {
***** TST2.TXT
      14, 0, 0) <= adx_14 - 2.0) && iCustom(NULL, PERIOD_M1, "New folder\\ADX.ex4", 7, 0, 0) > adx_7 - 2.0 && ! tst8b && ! tst7b && iATR(NULL, PERIOD_M1, 7, 0) < 1.25) ||
      tst13) && opt12))) && Hour() < 22 && ticket <= 0 && ticket2 <= 0 && sl2) {
*****

***** tst1.txt

#ifdef BT   double px0=px2;#endif      datetime ttmp2;         t_Time = t_Time && (myHour() < 23 || Minute() < 44);
   if (ticket && OrderSelect(ticket, SELECT_BY_TICKET)) if (OrderCloseTime()) { ticket = 0;
***** TST2.TXT

#ifdef BT   double px0=px2;#endif      datetime ttmp2;         t_Time = t_Time && myHour() < 21;      //(myHour() < 23 || Minute() < 44);
   if (ticket && OrderSelect(ticket, SELECT_BY_TICKET)) if (OrderCloseTime()) { ticket = 0;
*****

***** tst1.txt
erTicket()) ticket2 = OrderTicket();
   if (/*(tst_M1 || tst_M5 || tst_M15) && */((ticket2 && OrderSelect(ticket2, SELECT_BY_TICKET) && OrderType() < 2) || (ticket 
***** TST2.TXT
erTicket()) ticket2 = OrderTicket();
   bool tst_M1b=tst_M1 || opt13;
/* - */
   if (/*(tst_M1 || tst_M5 || tst_M15) && */((ticket2 && OrderSelect(ticket2, SELECT_BY_TICKET) && OrderType() < 2) || (ticket 
*****

***** tst1.txt
&& OrderSelect(ticket, SELECT_BY_TICKET) && OrderType() < 2)) &&
   ! OrderCloseTime() && (((OrderType() && Bid > iCustom(NULL, tst_M1? PERIOD_M1: tst_M15? PERIOD_M15: PERIOD_M5, "super-trend_.ex4", 10, fact_2, 1, 2) + (Bid > 20? tst_M15? 50.0: 20.0: 5.0) * Point()) ||
   (! OrderType() && Ask < iCustom(NULL, tst_M1? PERIOD_M1: tst_M15? PERIOD_M15: PERIOD_M5, "super-trend_.ex4", 10, fact_2, 0, 2) - (Bid > 20? tst_M15? 50.0: 20.0: 5.0) * Point() && iCustom(NULL,
   tst_M1? PERIOD_M1: tst_M15? PERIOD_M15: PERIOD_M5, "super-trend_.ex4", 10, fact_2, 0, 2) < 2147483640)) && iCustom(NULL, tst_M1? PERIOD_M1: tst_M15? PERIOD_M15: PERIOD_M5, "super-trend_.ex4", 10,
   fact_2, 1, 2) != iCustom(NULL, tst_M1? PERIOD_M1: tst_M15? PERIOD_M15: PERIOD_M5, "super-trend_.ex4", 10, fact_2, 0, 2)) && ((OrderType() && OrderStopLoss() > iCustom(NULL, tst_M1? PERIOD_M1:
   tst_M15? PERIOD_M15: PERIOD_M5, "super-trend_.ex4", 10, fact_2, 1, 2) + (Bid > 20? tst_M15? 120.0: 80.0: 15.0) * Point()) || (! OrderType() && OrderStopLoss() < iCustom(NULL, tst_M1? PERIOD_M1: tst_M15?
   PERIOD_M15: PERIOD_M5, "super-trend_.ex4", 10, fact_2, 0, 2) - (Bid > 20? tst_M15? 120.0: 80.0: 15.0) * Point())) && mOrdrModify(26, OrderTicket(), OrderOpenPrice(), OrderType()? iCustom(NULL, tst_M1?
   PERIOD_M1: tst_M15? PERIOD_M15: PERIOD_M5, "super-trend_.ex4", 10, fact_2, 1, 2) + (Bid > 20? tst_M15? 120.0: 80.0: 15.0) * Point(): iCustom(NULL, tst_M1? PERIOD_M1: tst_M15? PERIOD_M15: PERIOD_M5,
   "super-trend_.ex4", 10, fact_2, 0, 2) - (Bid > 20? tst_M15? 120.0: 80.0: 15.0) * Point(), OrderTakeProfit(), OrderExpiration(), clrNONE, fact_2, st_bull)) {}
   else if (((OrderType() && Ask > iCustom(NULL, tst_M1? PERIOD_M1: tst_M15? PERIOD_M15: PERIOD_M5, "super-trend_.ex4", 10, fact_2, 1, 2) + (Bid > 20? tst_M15? 120.0: 80.0: 15.0) * Point()) ||
   (! OrderType() && Bid < iCustom(NULL, tst_M1? PERIOD_M1: tst_M15? PERIOD_M15: PERIOD_M5, "super-trend_.ex4", 10, fact_2, 0, 2) - (Bid > 20? tst_M15? 120.0: 80.0: 15.0) * Point() && iCustom(NULL,
   tst_M1? PERIOD_M1: tst_M15? PERIOD_M15: PERIOD_M5, "super-trend_.ex4", 10, fact_2, 0, 2) < 2147483640)) && iCustom(NULL, tst_M1? PERIOD_M1: tst_M15? PERIOD_M15: PERIOD_M5, "super-trend_.ex4", 10,
   fact_2, 1, 2) != iCustom(NULL, tst_M1? PERIOD_M1: tst_M15? PERIOD_M15: PERIOD_M5, "super-trend_.ex4", 10, fact_2, 0, 2)) if (OrderClose(OrderTicket(), OrderLots(), OrderType()? MarketInfo(Symb,
      MODE_ASK): MarketInfo(Symb, MODE_BID), 5, clrNONE)) {}      else  Alert("******* ERREUR de Clôture / Super Trend ! ******
***** TST2.TXT
&& OrderSelect(ticket, SELECT_BY_TICKET) && OrderType() < 2)) &&
   ! OrderCloseTime() && (((OrderType() && Ask < iCustom(NULL, tst_M1b? PERIOD_M1: tst_M15? PERIOD_M15: PERIOD_M5, "super-trend_.ex4", 10, fact_2, 1, 2) + (Bid > 20? tst_M15? 50.0: 20.0: 5.0) * Point() &&
   iCustom(NULL, tst_M1b? PERIOD_M1: tst_M15? PERIOD_M15: PERIOD_M5, "super-trend_.ex4", 10, fact_2, 1, 2) < 2147483640) || (! OrderType() && Bid > iCustom(NULL, tst_M1b? PERIOD_M1: tst_M15? PERIOD_M15:
   PERIOD_M5, "super-trend_.ex4", 10, fact_2, 0, 2) - (Bid > 20? tst_M15? 50.0: 20.0: 5.0) * Point())) && iCustom(NULL, tst_M1b? PERIOD_M1: tst_M15? PERIOD_M15: PERIOD_M5, "super-trend_.ex4", 10, fact_2,
   1, 2) != iCustom(NULL, tst_M1b? PERIOD_M1: tst_M15? PERIOD_M15: PERIOD_M5, "super-trend_.ex4", 10, fact_2, 0, 2)) && ((OrderType() && OrderStopLoss() > iCustom(NULL, tst_M1b? PERIOD_M1: tst_M15? PERIOD_M15:
   PERIOD_M5, "super-trend_.ex4", 10, fact_2, 1, 2) + (Bid > 20? tst_M15?80.0:tst_M5?40.0:20.0: 15.0) * Point()) || (! OrderType() && OrderStopLoss() < iCustom(NULL, tst_M1b? PERIOD_M1: tst_M15? PERIOD_M15:
   PERIOD_M5, "super-trend_.ex4", 10, fact_2, 0, 2) - (Bid > 20? tst_M15?80.0:tst_M5?40.0:20.0: 15.0) * Point())) && mOrdrModify(26, OrderTicket(), OrderOpenPrice(), OrderType()? iCustom(NULL, tst_M1b?
   PERIOD_M1: tst_M15? PERIOD_M15: PERIOD_M5, "super-trend_.ex4", 10, fact_2, 1, 2) + (Bid > 20? tst_M15?80.0:tst_M5?40.0:20.0: 15.0) * Point(): iCustom(NULL, tst_M1b? PERIOD_M1: tst_M15? PERIOD_M15:
   PERIOD_M5, "super-trend_.ex4", 10, fact_2, 0, 2) - (Bid > 20? tst_M15?80.0:tst_M5?40.0:20.0: 15.0) * Point(), OrderTakeProfit(), OrderExpiration(), clrNONE, fact_2, st_bull)) {}
   else if (((OrderType() && Ask > iCustom(NULL, tst_M1b? PERIOD_M1: tst_M15? PERIOD_M15: PERIOD_M5, "super-trend_.ex4", 10, fact_2, 1, 2) + (Bid > 20? tst_M15?80.0:tst_M5?40.0:20.0: 15.0) * Point()) ||
   (! OrderType() && Bid < iCustom(NULL, tst_M1b? PERIOD_M1: tst_M15? PERIOD_M15: PERIOD_M5, "super-trend_.ex4", 10, fact_2, 0, 2) - (Bid > 20? tst_M15?80.0:tst_M5?40.0:20.0: 15.0) * Point() && iCustom(NULL,
   tst_M1b? PERIOD_M1: tst_M15? PERIOD_M15: PERIOD_M5, "super-trend_.ex4", 10, fact_2, 0, 2) < 2147483640)) && iCustom(NULL, tst_M1b? PERIOD_M1: tst_M15? PERIOD_M15: PERIOD_M5, "super-trend_.ex4", 10,
   fact_2, 1, 2) != iCustom(NULL, tst_M1b? PERIOD_M1: tst_M15? PERIOD_M15: PERIOD_M5, "super-trend_.ex4", 10, fact_2, 0, 2)) if (OrderClose(OrderTicket(), OrderLots(), OrderType()? MarketInfo(Symb,
      MODE_ASK): MarketInfo(Symb, MODE_BID), 5, clrNONE)) {}      else  Alert("******* ERREUR de Clôture / Super Trend ! ******
*****

***** tst1.txt
      adx_7m = iCustom(NULL, PERIOD_M5, "New folder\\ADX.ex4", 7, 0, 0); }
   bool res=false;         tst13 = (((tst=(tick_m1 && OrderSelect(tick_m1, SELECT_BY_TICKET))) || t_M1c) && f_wBarP(tst? OrderCloseTime(): t_M1c,
      TimeCurrent(), PERIOD_M1) < (iCustom(NULL, PERIOD_M5, "New folder\\ADX.ex4", 7, 0, iBarShift(NULL, PERIOD_M5, t_M1c)) > a
***** TST2.TXT
      adx_7m = iCustom(NULL, PERIOD_M5, "New folder\\ADX.ex4", 7, 0, 0); }
   bool res=false;         tst13 = ((((tst=(tick_m1 && OrderSelect(tick_m1, SELECT_BY_TICKET))) || t_M1c) && f_wBarP(tst? OrderCloseTime(): t_M1c,
      TimeCurrent(), PERIOD_M1) < (iCustom(NULL, PERIOD_M5, "New folder\\ADX.ex4", 7, 0, iBarShift(NULL, PERIOD_M5, t_M1c)) > a
*****

***** tst1.txt
      0, tst? OrderCloseTime(): t_M1c))): iCustom(NULL, 0, "super-trend_.ex4", 10, fact_2,/*S*/ 1, iBarShift(NULL, 0, tst? OrderCloseTime(): t_M1c))))) && myHour() < 22);
   if (tst13b && ((HA_Bull(PERIOD_M1, 1) && tst13b > 0) || (! HA_Bull(PERIOD_M1, 1) && tst13b < 0))) tst13b = 0;
   if (tst13 && (iATR(NULL, PERIOD_M5, 14, 0) </* 2.0*/ 1.25 || iATR(NULL, PERIOD_M1, 7, 0) > 1.25) && ((ticket && OrderSelect(ticket, SELECT_BY_TICKET)) ||
   (ticket2 && OrderSelect(ticket2, SELECT_BY_TICKET))) && ! OrderCloseTime()) { if ((tst=(ticket2 && OrderSelect(ticket2, SELE
***** TST2.TXT
      0, tst? OrderCloseTime(): t_M1c))): iCustom(NULL, 0, "super-trend_.ex4", 10, fact_2,/*S*/ 1, iBarShift(NULL, 0, tst? OrderCloseTime(): t_M1c)))))) || opt13) && myHour() < 22;
   if (tst13b && ((HA_Bull(PERIOD_M1, 1) && tst13b > 0) || (! HA_Bull(PERIOD_M1, 1) && tst13b < 0))) tst13b = 0;
   if (tst13 && (iATR(NULL, PERIOD_M5, 14, 0) </* 2.0*/ 1.8 || iATR(NULL, PERIOD_M1, 7, 0) > 1.25) && ((ticket && OrderSelect(ticket, SELECT_BY_TICKET)) ||
   (ticket2 && OrderSelect(ticket2, SELECT_BY_TICKET))) && ! OrderCloseTime()) { if ((tst=(ticket2 && OrderSelect(ticket2, SELE
*****

***** tst1.txt
      DoubleToStr(iCustom(NULL, PERIOD_M1, "New folder\\ADX.ex4", 7, 0, 0), 2) + " |atr " + DoubleToStr(iATR(NULL, PERIOD_M5, 14, 0), 2) + " - " + DoubleToStr(iATR(NULL, PERIOD_M1, 7, 0), 2)); } }
//   if (tst13 && (iATR(NULL, PERIOD_M5, 14, 0) </* 2.0*/ 1.25 || iATR(NULL, PERIOD_M1, 7, 0) > 1.25)) tst13 = false;
***** TST2.TXT
      DoubleToStr(iCustom(NULL, PERIOD_M1, "New folder\\ADX.ex4", 7, 0, 0), 2) + " |atr " + DoubleToStr(iATR(NULL, PERIOD_M5, 14, 0), 2) + " - " + DoubleToStr(iATR(NULL, PERIOD_M1, 7, 0), 2));
      if (! tick_st || ! tick_st2) { dtmp = myHour() < 13? tst_M15? 120.0: tst_M5? 100.0: 80.0: tst_M15? 160.0: tst_M5? 130.0: 100.0;
         tmp_snd = tst7 + "-" + tst7a + "-" + tst8 + "-" + tst11 + "-" + tst13 + "-(" + tst13b + ") |fh " + IntegerToString(fh);
         int itick=mOrdrSend(23, Symb, OrderType()? 5: 4, lot, OrderType()? Ask - (Bid > 20? dtmp: 15.0) * Point(): Bid + (Bid > 20? dtmp: 15.0) * Point(), 5, OrderType()? Ask: Bid,
            OrderType()? 0.99 * Bid: 1.01 * Ask, mgcnum + "55541_z", Period() == 30? 5555541: Period() == 60? 5555542: 5555543, TimeCurrent() + 600, clrNONE);
         tmp_snd = "";           if (! tick_st) tick_st = itick;        else  tick_st2 = itick; } } }          bool t_buy1, t_buy2;
if (! (Seconds() % 20)#ifdef BT || ticket || ticket2 || tst14d#endif) Print("***** st2: (" + opt13 + " && ! (" + ticket + " && " + OrderSelect(ticket, SELECT_BY_TICKET) +
   " && ! " + OrderCloseTime() + " && " + ticket + " != " + tick_st + " && " + ticket + " != " + tick_st2 + ") && ! (" + ticket2 + " && " + OrderSelect(ticket2, SELECT_BY_TICKET) +
   " && ! " + OrderCloseTime() + " && " + ticket + " != " + tick_st + " && " + ticket + " != " + tick_st2 + ") && ((" + tick_st + " && " + OrderSelect(tick_st, SELECT_BY_TICKET) + " && ! " +
   OrderCloseTime() + " && " + OrderExpiration() + " >\n\t\t\t\t\t\t\t\t " + TimeCurrent() + " && " + (t_buy1=OrderType()) + " > 1 && ! (" + tick_st2 + " && " + OrderSelect(tick_st2,
   SELECT_BY_TICKET) + " && ! " + OrderCloseTime() + " && " + OrderExpiration() + " > " + TimeCurrent() + " && " + (t_buy2=OrderType()) + " > 1)) || (! (" + tick_st + " && " + OrderSelect(tick_st,
   SELECT_BY_TICKET) + " && ! " + OrderCloseTime() + " && " + OrderExpiration() + " > " + TimeCurrent() + ") && " + tick_st2 + " && " + OrderSelect(tick_st2, SELECT_BY_TICKET) + " && ! " +
   OrderCloseTime() + " && " + OrderExpiration() + " > " + TimeCurrent() + " && " + (t_buy2=OrderType()) + " > 1)) &&\n\t\t\t\t\t\t\t\t ((" + t_buy1 + " && " + OrderSelect(tick_st, SELECT_BY_TICKET) +
   " && ((" + (t_buy1 % 2) + " > 0 && " + iCustom(NULL, 0, "super-trend_.ex4", 10, fact_2, 1, 2) + " < 2147483640 && " + iCustom(NULL, 0, "super-trend_.ex4", 10, fact_2, 1, 2) + " && ((" +
   OrderOpenPrice() + ") || (! " + (t_buy1 % 2) + " && " + iCustom(NULL, 0, "super-trend_.ex4", 10, fact_2, 0, 2) + " < " + OrderOpenPrice() + "))) || (" + t_buy2 + " && " + OrderSelect(tick_st2,
   SELECT_BY_TICKET) + " && ((" + (t_buy2 % 2) + " > 0 && " + iCustom(NULL, 0, "super-trend_.ex4", 10, fact_2, 1, 2) + " < 2147483640 &&\n\t\t\t\t\t\t\t\t " + iCustom(NULL, 0, "super-trend_.ex4",
   10, fact_2, 1, 2) + " > " + OrderOpenPrice() + ") || (! " + (t_buy2 % 2) + " && " + iCustom(NULL, 0, "super-trend_.ex4", 10, fact_2, 0, 2) + " < " + OrderOpenPrice() + "))))) *****");
      if (opt13 && ! (ticket && OrderSelect(ticket, SELECT_BY_TICKET) && ! OrderCloseTime() && ticket != tick_st && ticket != tick_st2) && ! (ticket2 && OrderSelect(ticket2,			<--- opt13 ??
      SELECT_BY_TICKET) && ! OrderCloseTime() && ticket2 != tick_st && ticket2 != tick_st2) && ((tick_st && OrderSelect(tick_st, SELECT_BY_TICKET) && ! OrderCloseTime() &&
      OrderExpiration() > TimeCurrent() && (t_buy1=OrderType()) > 1 && ! (tick_st2 && OrderSelect(tick_st2, SELECT_BY_TICKET) && ! OrderCloseTime() && OrderExpiration() >
      TimeCurrent() && (t_buy2=OrderType()) > 1)) || (! (tick_st && OrderSelect(tick_st, SELECT_BY_TICKET) && ! OrderCloseTime() && OrderExpiration() > TimeCurrent()) &&
      tick_st2 && OrderSelect(tick_st2, SELECT_BY_TICKET) && ! OrderCloseTime() && OrderExpiration() > TimeCurrent() && (t_buy2=OrderType()) > 1)) && ((t_buy1 &&
      OrderSelect(tick_st, SELECT_BY_TICKET) && (((t_buy1 % 2) > 0 && iCustom(NULL, 0, "super-trend_.ex4", 10, fact_2, 1, 2) < 2147483640 && iCustom(NULL, 0,
      "super-trend_.ex4", 10, fact_2, 1, 2) > OrderOpenPrice()) || (! (t_buy1 % 2) && iCustom(NULL, 0, "super-trend_.ex4", 10, fact_2, 0, 2) < OrderOpenPrice()))) ||
      (t_buy2 && OrderSelect(tick_st2, SELECT_BY_TICKET) && (((t_buy2 % 2) > 0 && iCustom(NULL, 0, "super-trend_.ex4", 10, fact_2, 1, 2) < 2147483640 && iCustom(NULL,
      0, "super-trend_.ex4", 10, fact_2, 1, 2) > OrderOpenPrice()) || (! (t_buy2 % 2) && iCustom(NULL, 0, "super-trend_.ex4", 10, fact_2, 0, 2) < OrderOpenPrice()))))) {
         tmp_snd = tst7 + "-" + tst7a + "-" + tst8 + "-" + tst11 + "-" + tst13 + "-(" + tst13b + ") |fh " + IntegerToString(fh);
         itick = mOrdrSend(24, Symb, ! (t_buy1 % 2) || ! (t_buy2 % 2)? 5: 4, lot, ! (t_buy1 % 2) || ! (t_buy2 % 2)? iCustom(NULL, 0, "super-trend_.ex4", 10, fact_2, 0, 2) -
            (Bid > 20? tst_M15?40.0:tst_M5?30.0:20.0: 5.0) * Point(): iCustom(NULL, 0, "super-trend_.ex4", 10, fact_2, 1, 2) + (Bid > 20? tst_M15?40.0:tst_M5?30.0:20.0: 5.0) *
            Point(), 5, ! (t_buy1 % 2) || ! (t_buy2 % 2)? Ask: Bid, ! (t_buy1 % 2) || ! (t_buy2 % 2)? 0.99 * Bid: 1.01 * Ask, mgcnum + "55541_A", Period() == 30? 5555541:
            Period() == 60? 5555542: 5555543, TimeCurrent() + 600, clrNONE);
            tmp_snd = "";           if (! tick_st) tick_st = itick;        else  tick_st2 = itick; }
if (! (Seconds() % 20)#ifdef BT || ticket || ticket2 || tst14d#endif) Print("***** tst13x : " + tst13 + " - " + tst13b + " - " + DoubleToStr(iATR(NULL, PERIOD_M5, 14, 0), 2) + " - " +
   DoubleToStr(iATR(NULL, PERIOD_M1, 7, 0), 2) + " - " + f_wBarP(OrderCloseTime(), TimeCurrent(), PERIOD_M5) + " - " + f_wBarP(t_M1c, TimeCurrent(), PERIOD_M5) + " *****");
//   if (tst13 && (iATR(NULL, PERIOD_M5, 14, 0) </* 2.0*/ 1.25 || iATR(NULL, PERIOD_M1, 7, 0) > 1.25)) tst13 = false;
*****

***** tst1.txt
 > 4) ||
   (iATR(NULL, PERIOD_M5, 14, 0) </* 2.0*/ 1.25 || iATR(NULL, PERIOD_M1, 7, 0) > 1.35/* ou 1.25*/))) tst13 = false;
   if (HA#ifndef BT && (fh == 2 || (opt11 && fh <= 7))#endif && t_Time) { if (StringSubstr(line_read[ArraySize(line_read)/15-is
***** TST2.TXT
 > 4) ||
   ((iATR(NULL, PERIOD_M5, 14, 0) </* 2.0*/ 1.8 && ! opt13) || iATR(NULL, PERIOD_M1, 7, 0) > 1.35/* ou 1.25*/))) tst13 = false;
   if (HA#ifndef BT && (fh == 2 || (opt11 && fh <= 7))#endif && t_Time) { if (StringSubstr(line_read[ArraySize(line_read)/15-is
*****

***** tst1.txt
      (((iCustom(NULL, 0, "New folder\\ADX.ex4", 7, 0, 0) < adx_7b || iCustom(NULL, 0, "New folder\\ADX.ex4", 14, 0, 0) < adx_14 || iCustom(NULL, 0,
      "New folder\\ADX.ex4", 28, 0, 0) > adx_7) && iATR(NULL, PERIOD_M5, 14, 0) < 3.0 && ((f_wBars(t_M5b, TimeCurrent()) && f_wBarP(t_M1, TimeCurrent(), PERIOD_M5)) ||
      (tst12=(! tst14d && opt12 && iCustom(NULL, PERIOD_M5, "New folder\\ADX.ex4", 7, 0, 0) > adx_7c - 2.0 && ((iCustom(NULL, PERIOD_M5, "New folder\\ADX.ex4", 7, 1, 0) >
      iCustom(NULL, PERIOD_M5, "New folder\\ADX.ex4", 7, 2, 0) && mOrderType && Ask > iHigh(NULL, PERIOD_M5, 1)) || (iCustom(NULL, PERIOD_M5, "New folder\\ADX.ex4", 7, 1, 0) <
      iCustom(NULL, PERIOD_M5, "New folder\\ADX.ex4", 7, 2, 0) && ! mOrderType && Bid < iLow(NULL, PERIOD_M5, 1)))))) && ! tst_M1 && ! tst13) || tst_M5) && tst)) || (tst11=(((((! tst7b &&
      ! tst8b) || tst13c) && iATR(NULL, PERIOD_M1, 7, 0) > 1.25) || tst_M1) && opt12 && ((((mOrderType && HA_Bull(PERIOD_M1, 1)) || (! mOrderType && ! HA_Bull(PERIOD_M1, 1))) &&
      (((iCustom(NULL, PERIOD_M5, "New folder\\ADX.ex4", 7, 0, 0) < adx_7b - 2.0 || iCustom(NULL, PERIOD_M5, "New folder\\ADX.e
***** TST2.TXT
      (((iCustom(NULL, 0, "New folder\\ADX.ex4", 7, 0, 0) < adx_7b || iCustom(NULL, 0, "New folder\\ADX.ex4", 14, 0, 0) < adx_14 || iCustom(NULL, 0, "New folder\\ADX.ex4",
      28, 0, 0) > adx_7) && iATR(NULL, PERIOD_M5, 14, 0) < 3.0 && ((f_wBars(t_M5b, TimeCurrent()) && f_wBarP(t_M1, TimeCurrent(), PERIOD_M5)) || (tst12=(! tst14d && opt12 &&
      iCustom(NULL, PERIOD_M5, "New folder\\ADX.ex4", 7, 0, 0) > adx_7c - 2.0 && ((iCustom(NULL, PERIOD_M5, "New folder\\ADX.ex4", 7, 1, 0) > iCustom(NULL, PERIOD_M5,
      "New folder\\ADX.ex4", 7, 2, 0) && mOrderType && Ask > iHigh(NULL, PERIOD_M5, 1)) || (iCustom(NULL, PERIOD_M5, "New folder\\ADX.ex4", 7, 1, 0) < iCustom(NULL, PERIOD_M5,
      "New folder\\ADX.ex4", 7, 2, 0) && ! mOrderType && Bid < iLow(NULL, PERIOD_M5, 1)))))) && ! tst_M1 && ! tst13) || tst_M5) && tst)) || (tst11=(((((! tst7b && ! tst8b) ||
      tst13c) && iATR(NULL, PERIOD_M1, 7, 0) < 1.25/* || opt13)*/) || tst_M1) && opt12 && ((((mOrderType && HA_Bull(PERIOD_M1, 1)) || (! mOrderType && ! HA_Bull(PERIOD_M1, 1))) &&
      (((iCustom(NULL, PERIOD_M5, "New folder\\ADX.ex4", 7, 0, 0) < adx_7b - 2.0 || iCustom(NULL, PERIOD_M5, "New folder\\ADX.e
*****

***** tst1.txt
 " > 0)) && (" + n_prf2 + " < 9 || (" + n_prf2 +
   " == 9 && " + OrderProfit() + " > 0)) && (" + n_prf3 + " < 19 || (" + n_prf3 + " == 19 && " + OrderProfit() + " > 0)) && (! " + mOrdrsTotal(0, 0) + " || (" + mOrdrsTotal(0, 0) +
   " == 1 && (" + tick_st + " || " + tick_st2 + "))) && " + tst8b + ") *****"); */
         if ((n_prf < 3 || (n_prf == 3 && OrderProfit() > 0)) && (n_prf2 < 9 || (n_prf2 == 9 && OrderProfit() > 0)) && (n_prf3 < 19 || (n_prf3 == 19 && OrderProfit() > 0)) &&
         (! mOrdrsTotal(0, 0) || (mOrdrsTotal(0, 0) == 1 && (tick_st || tick_st2))) && tst8b) { double dtmp2, fact;
            dtmp = (tst11 || tst8) && (tst14 || tst14b)? ! mOrderType? ((dtmp=iCustom(NULL, PERIOD_M1, "super-trend_.ex4", 10, 
***** TST2.TXT
 " > 0)) && (" + n_prf2 + " < 9 || (" + n_prf2 +
   " == 9 && " + OrderProfit() + " > 0)) && (" + n_prf3 + " < 19 || (" + n_prf3 + " == 19 && " + OrderProfit() + " > 0)) &&\n\t\t\t\t\t\t\t\t (! " + mOrdrsTotal(0, 0) + " || (" +
   mOrdrsTotal(0, 0) + " == 1 && (" + tick_st + " || " + tick_st2 + "))) && " + tst8b + ") *****"); */           //               if (tst || (! tst7 && ! tst8))
         tst8b = tst8b && (! tst || ! (ticket && OrderSelect(ticket, SELECT_BY_TICKET) && ! OrderCloseTime() && OrderType() < 2));
//         if (! (n_prf < 3 || (n_prf == 3 && OrderProfit() > 0)) || ! (n_prf2 < 9 || (n_prf2 == 9 && OrderProfit() > 0)) || ! (n_prf3 < 19 || (n_prf3 == 19 && OrderProfit() > 0))) t_prf = TimeCurrent();
         if (! (n_prf < 3 || (n_prf == 3 && OrderProfit() > 0)) || ! (n_prf2 < 9 || (n_prf2 == 9 && OrderProfit() > 0)) || ! (n_prf3 < 19 || (n_prf3 == 19 && OrderProfit() > 0)))		<--- opt13 ??
            if (f_wBarP(t_prf, TimeCurrent(), PERIOD_M1) > 240) { if (f_wBars(t_prf, TimeCurrent()) < 245 && (n_prf || n_prf2 || n_prf3)) { n_prf = 0;      n_prf2 = 0;       n_prf3 = 0;
                  tim9 = TimeCurrent() - 600; }                else if (tickt_c != OrdersTotal()) t_prf = TimeCurrent(); }
         if ((((n_prf < 3 || (n_prf == 3 && OrderProfit() > 0)) && (n_prf2 < 9 || (n_prf2 == 9 && OrderProfit() > 0)) && (n_prf3 < 19 || (n_prf3 == 19 && OrderProfit() > 0))) ||
         (opt13 && f_wBars(t_prf, TimeCurrent()) > 240)) && (! mOrdrsTotal(0, 0) || (mOrdrsTotal(0, 0) == 1 && (tick_st || tick_st2))) && tst8b) { double dtmp2, fact;
            dtmp = (tst11 || tst8) && (tst14 || tst14b)? ! mOrderType? ((dtmp=iCustom(NULL, PERIOD_M1, "super-trend_.ex4", 10, 
*****

***** tst1.txt
7483640? dtmp: iHigh(NULL, PERIOD_M15, iHighest(NULL, PERIOD_M15,
               MODE_HIGH, 14, 1))) + (Bid > 20? 100.0: 10.0) * Point(): ! mOrderType? Bid: Ask;          dtmp = NormPrice(dtmp, Symb);
            tst14 = ((tst11 || tst8) && (tst14 || tst14b)) || ((tst8 || tst7) && (tst14b || tst14c)) || (tst7 && tst14c) ||
               (tst15=(((mOrderType && (fabs(Ask - (dtmp2=iCustom(NULL, tst11? PERIOD_M1: tst8? PERIOD_M5: PERIOD_M15, "super-t
***** TST2.TXT
7483640? dtmp: iHigh(NULL, PERIOD_M15, iHighest(NULL, PERIOD_M15,
               MODE_HIGH, 14, 1))) + (Bid > 20? 100.0: 10.0) * Point(): ! mOrderType? Bid: Ask;
            tst14 = (((tst11 || tst8) && (tst14 || tst14b)) || ((tst8 || tst7) && (tst14b || tst14c)) || (tst7 && tst14c) ||
               (tst15=(((mOrderType && (fabs(Ask - (dtmp2=iCustom(NULL, tst11? PERIOD_M1: tst8? PERIOD_M5: PERIOD_M15, "super-t
*****

***** tst1.txt
               fabs(Ask - (dtmp2=iCustom(NULL, tst11? PERIOD_M1: tst8? PERIOD_M5: PERIOD_M15, "super-trend_.ex4", 10, (fact=fact_2), 0, 2))) < 80.0 * Point())))));
Print("***2* " + IntegerToString(fh) + " -HA- " + HA + " -opt11- " + opt11 + " -isig- " + isig + " -nprf- " + n_prf + " -nprf2-
***** TST2.TXT
               fabs(Ask - (dtmp2=iCustom(NULL, tst11? PERIOD_M1: tst8? PERIOD_M5: PERIOD_M15, "super-trend_.ex4", 10, (fact=fact_2), 0, 2))) < 80.0 * Point())))))) && ! opt13;			<--- opt13 ??
            dtmp = NormPrice(dtmp, Symb);             dtmp2 = NormPrice(dtmp2, Symb);
Print("***2* " + IntegerToString(fh) + " -HA- " + HA + " -opt11- " + opt11 + " -isig- " + isig + " -nprf- " + n_prf + " -nprf2-
*****

