Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1052

 
Is there any way to make one buffer the background for the others? MT4...
 
Yevhenii Levchenko:
Is there any way to make one buffer the background for the others? MT4...
OBJPROP_BACK
 

Why do the Include/Graphics elements come with an update? I mean it's a library for MQL5, why do they put it in MT4? The update came with different new elements, e.g. ENUM_LINE_END enumeration.

I have several projects crashed at once. How can I clean it all now?

 
leonerd:

Why do the Include/Graphics elements come with an update? I mean it's a library for MQL5, why do they put it in MT4? The update came with different new elements, e.g. ENUM_LINE_END enumeration.

I have several projects crashed at once. How can I clean it all now?

This is a cross-platform library.
 
Artyom Trishkin:
It is a cross-platform library.

So how is it cross-platform if it's not? What about ENUM_LINE_END for example?

 
leonerd:

So how is it cross-platform if it's not? What about ENUM_LINE_END, for example?

OK, got it. The old Canvas.mqh has arrived. I have borrowed it from MQL5 before. Everything is OK.

 
Hello. I have registered a trading account, I want to fund it and I don't know where I will do it, i.e. to whom ? Is it a Bank or a Broker?
 
Diarg:
Hello. I have registered a trading account, I want to fund it and I don't know where I will do it, i.e. to whom ? Is it a Bank or a Broker?
MetaQuotes is not a broker - you need to go to YOUR BROKER'S website
 

After testing, I upload the data to a file - everything works, but I can't figure out why there's an extra space, because I have one at the end of the string

double OnTester()
  {
   ResetLastError();
   int handle = FileOpen("test.txt",FILE_WRITE|FILE_TXT);
   if(handle != INVALID_HANDLE)
     {
      FileWrite(handle," Di HL , Di OC , Di MRB , Phase , Moving , Stability , Density \r\n");
      for(int i = 0; i < inde; i++)
        {
         FileWrite(handle,(string)Values[i][0],",",(string)Values[i][1],",",(string)Values[i][2],",",(string)Values[i][3],",",(string)Values[i][4],",",(string)Values[i][5],",",(string)Values[i][6],",",(string)Values[i][7],"\r\n");
        }; FileClose(handle);
     }
   else
     {Print("ошибка создания файла");}; return(0);
  }


 
Every new FileWrite starts on a new line as it is. Remove the "\r\n" at the end and everything will be fine.
Reason: