* int copy_file(string tmp, int item) *
item = 0 ->	20210813-o.log
s1_coporder = "0 Liste_dObjets_EA 0 0 ATS 1.01 Ultimate PERIOD_" + (tmfr==PERIOD_M1? "M1": tmfr==PERIOD_M5? "M5": tmfr==PERIOD_M15? "M15": tmfr==PERIOD_M30? 
	"M30": tmfr==PERIOD_H1? "H1": tmfr==PERIOD_H4? "H4": tmfr==PERIOD_D1? "D1": tmfr==PERIOD_W1? "W1": "MN1") + " " + Symbol() + " " + (Bullish? "BUY": "SELL") + " CLOT | " +
	IntegerToString(Typ) + " " + DoubleToStr(Bullish? Ask: Bid, 2) + " " + IntegerToString(int(Typ==1? blue_time: Time[BarNum])) + " " + IntegerToString(Code) + " " + IntegerToString(Bullish);

item = 1 ->	EA_List_Orders_M5.log / EA_List_Orders_M15.log
(s2_coporder="** -> ATS 1.01 Ultimate PERIOD_" + (tmfr==PERIOD_M1? "M1": tmfr==PERIOD_M5? "M5": tmfr==PERIOD_M15? "M15": tmfr==PERIOD_M30? "M30": 
	tmfr==PERIOD_H1? "H1": tmfr==PERIOD_H4? "H4": tmfr==PERIOD_D1? "D1": tmfr==PERIOD_W1? "W1": "MN1") + " " + Symbol() + " " + (Bullish? "BUY": "SELL"))
s2_coporder = TimeToStr(TimeCurrent(),TIME_DATE|TIME_SECONDS) + " " + s2_coporder + ", DrawArrow_OS(" + IntegerToString(Typ) + ")";

s3_coporder="Stop Suiveur Atteint (VM"+IntegerToString(Period())+") Trade Cloturé. ("+DoubleToStr(bullish? Profit_Top: 
	Profit_Bottom,1)+" "+IntegerToString(Hour())+"h "+DoubleToStr(bullish? t_Low: t_High, 1)+" "+DoubleToStr((bullish? 
	Profit_Top - t_Low: t_High - Profit_Bottom)*(1.0-Profit_Back), 2)+")"+(str!=""?"\r\n\t\t"+str:"")));
s3_coporder = TimeToStr(TimeCurrent(),TIME_DATE|TIME_SECONDS) + " " + s3_coporder + ", FollowTrade()";

item = 2 ->	Price_List.csv
(s4_coporder=TimeToStr(TimeCurrent(),TIME_DATE|TIME_SECONDS) +
	";Liste dObjets EA;" + DoubleToStr(LinePrice,1) + ";" + (Bullish? "Buy": "Sell") + ";B/A;" + DoubleToStr(Bullish? Ask: Bid, 1) + ";Typ=" + IntegerToString(Typ))

--------------------------------------
* void copy_file_(int Item, string tmp) *
item < 3 ->	EA-write-file_List-Trades(item + 1).txt
copy_file_(0, TimeToStr(TimeCurrent(),TIME_DATE|TIME_MINUTES|TIME_SECONDS) + "." +
      IntegerToString(getCurrentMs()%1000)+" ** - RECTANGLE : "+IntegerToString(Period())+" - "+TimeToStr(ObjectGet(rect_str, OBJPROP_TIME1), 
      TIME_DATE|TIME_MINUTES)+" - "+TimeToStr(last_rect, TIME_DATE|TIME_MINUTES)+" - "+TimeToStr(Time[0], TIME_DATE|TIME_MINUTES)+" **");

temp = "** -> DrawArrow_OS ATS "+(obj_bars[prv_pos] >= Bars-1)+" "+bull+" "+Bid+" "+Ask+" "+prv_pos+" "+
      obj_bars[prv_pos]+" "+(Bars-obj_bars[prv_pos])+" "+TimeToStr(Time[Bars-obj_bars[prv_pos]],TIME_MINUTES)+" | "+pos+" "+iClose(NULL,0,Bars-i+1)+" "+vScale+
      " - Op_Liq2-4 "+Op_Liq2+"-"+Op_Liq4+" **";
temp = "** -> DrawArrow_OS *5 "+(obj_bars[prv_pos] >= Bars-1)+" "+bull+" "+Bid+" "+Ask+" "+prv_pos+" "+
      obj_bars[prv_pos]+" "+(Bars-obj_bars[prv_pos])+" "+TimeToStr(Time[Bars-obj_bars[prv_pos]],TIME_MINUTES)+" | "+pos+" "+iClose(NULL,0,Bars-i+1)+" "+vScale+
      " - Op_Liq2-4 "+Op_Liq2+"-"+Op_Liq4+" **";
copy_file_(1, TimeToStr(TimeCurrent())+":"+IntegerToString(Seconds())+"."+IntegerToString(getCurrentMs()%1000)+" "+temp);

copy_file_(2, TimeToStr(TimeCurrent())+":"+IntegerToString(Seconds())+"."+IntegerToString(getCurrentMs()%1000)+
            " ** -> OrderSend ("+Typ+") "+ticket+" "+OrderProfit()+" - "+OrderSwap()+" - "+OrderCommission()+" - "+
            DoubleToStr(OrderOpenPrice(),5)+" - "+DoubleToStr(OrderClosePrice(),5)+" **");
copy_file_(2, TimeToStr(TimeCurrent())+":"+IntegerToString(Seconds())+"."+IntegerToString(getCurrentMs()%1000)+
            " ** -> OrderSend ("+Typ+") "+ticket+" "+OrderProfit()+" - "+OrderSwap()+" - "+OrderCommission()+" - "+
            DoubleToStr(OrderOpenPrice(),5)+" - "+DoubleToStr(OrderClosePrice(),5)+" - Op_Liq2-4 "+Op_Liq2+"-"+Op_Liq4+" **");

item = 3 ->	EA-write-file_List TF + HA.txt
copy_file_(3, TimeToStr(TimeCurrent(),TIME_DATE|TIME_MINUTES)+" "+Symbol()+": ** Initial. OK1-3 "+IntegerToString(ChartPeriod(Chart_M5))+" - "+IntegerToString(Chart_M5)+" **");
copy_file_(3, TimeToStr(TimeCurrent(),TIME_DATE|TIME_MINUTES)+" "+Symbol()+": ***** PASSAGE EN M30 ! ("+str_DCC+") *****");

temp = "** Passage en "+(str=="-HKG"?"M1":"M5")+" à "+IntegerToString(fmax(H1,H3))+" H ! (Period()="+IntegerToString(Period())+", t1="+
            IntegerToString(t1) + ", t2=" + IntegerToString(t2) + (t2==17 ? ", err2=" + IntegerToString(err2) : "") + ") **";
copy_file_(3, TimeToStr(TimeCurrent(),TIME_DATE|TIME_MINUTES) +" "+Symbol()+","+stmfr+": " + temp);

Item == 4 ->	EA-write-file_Logs COMPLET.txt
#ifdef v_dump_1/2	copy_file_(4, f_tmp); #endif

Item == 9 ->	Accélération_write-file_params.txt
	dans "ind Accélération ++.mqh"

Item == 5 ->	EA-write-file_List v-TmFr.csv
copy_file_(5, "1_;"+TimeToStr(TimeCurrent(),TIME_DATE|TIME_MINUTES)+";"+IntegerToString(TimeCurrent())+";"+IntegerToString(Period())); #endif

--------------------------------------
* void a_copy_file_(int Item, string tmp) *
Item 	"Accélération_write-file_prices.csv": "Accélération_write-file_prices.txt";
	dans "ind Accélération ++.mqh"

--------------------------------------
