Errors, bugs, questions - page 331

 
tester_el_pro:


it's an emulation... I'm talking about the real job.

Under this "emul" and new games go, as on the Windows, and photoshop race :)
In my opinion, build for linux in the next year definitely will not.
Windos one hasn't been released for real yet.
 

Question: How to disable the timeline, if possible, if it is not possible, please ask the developers to enable it.

 
vdv2001:

Question: How to disable the timeline, if possible, if this is not possible please ask the developers to enable it.

Please clarify the question.
 

Developers:

1. Do you plan to introduce Gold, Silver and Oil on your server?

2. Are there any plans to present the major indices on your server (DJI, NASDAQ, DAX and NIKAY and others, to be exact)?

3. Are there plans to introduce Russian issuers on your server (For example - Gazprom, Norilsk Nickel, Lukoil, Rosneft, Sberbank, VTB Bank and others)?

4. Will the following currency pairs be available - GBPAUD, CADJPY?

 
vdv2001:

Question: How to disable the timeline, if possible, if this is not possible please ask the developers to give this option.

If I understand the question correctly, and my memory serves me correctly, the time scale cannot be disabled.
Rosh:
Please clarify the question.

As I understand it, we are talking about the horizontal timeline to which the grid is linked. If I am not mistaken, this scale is also connected to the vertical price scale.

At the same time, like in MT4, you can change its colour (for example, into the background colour of the chart) but not remove it.

 
I tried everything - it doesn't write and doesn't read respectively. I do not understand what is the matter with

FileWriteDouble has no problem, but FileWriteInteger does not read or write. Here it is:

  Per_handle= FileOpen("per.bin", FILE_WRITE|FILE_BIN);
     if(Per_handle<0)
       {
        Print("Записываем разницу Переворот Неоткрывается :-) per.bin");
       }
     int raz=SpBuffer[0]
     FileWriteInteger(Per_handle,raz,4); 
     FileClose(Per_handle);


After we read what is written:

 Per_handle= FileOpen("per.bin",FILE_READ|FILE_BIN);
     if(Perev_handle<0)
       {
        Print("ЧИтаем запись Переворот Неоткрывается FileIsExist= ",FileIsExist("per.bin",0));
       }
     int suk=FileReadInteger(Per_handle,4);
     return (suk);
     FileClose(Per_handle);
     Print("ЧИтаем запись ...suk=",suk);


Same construction with FileWriteDouble. The double reads-writes, the ineger does not!

This is what Print outputs:

KR      0       Per_Dol_raz (USDCHF,M5) 10:47:21        2010.12.06 16:40:00   Записываем Неоткрывается :-) per.bin
ID      0       Per_Dol_raz (USDCHF,M5) 10:47:21        2010.12.06 16:40:00   Записываем ...raz=110

.........

GF      0       Per_Dol_raz (USDCHF,M5) 10:47:21        2010.12.06 16:40:00   ЧИтаем запись  Неоткрывается FileIsExist= true
KE      0       Per_Dol_raz (USDCHF,M5) 10:47:21        2010.12.06 16:40:00   ЧИтаем запись  Неоткрывается FileIsExist= true
OD      0       Per_Dol_raz (USDCHF,M5) 10:47:21        2010.12.06 16:40:00   ЧИтаем запись  Неоткрывается FileIsExist= true
CD      0       Per_Dol_raz (USDCHF,M5) 10:47:21        2010.12.06 16:40:00   ЧИтаем запись  Неоткрывается FileIsExist= true
Документация по MQL5: Общие функции / Print
Документация по MQL5: Общие функции / Print
  • www.mql5.com
Общие функции / Print - Документация по MQL5
 
alexluek:
Tried everything does not write and does not read, respectively. I don't understand what's the matter with

FileWriteDouble has no problem, but FileWriteInteger does not read or write. Here it is:

After we read what is written:

Same construction with FileWriteDouble. The double reads-writes, the ineger does not!

Here is what Print prints out:

First, remove the return(suk) line;

Per_handle= FileOpen("per.bin",FILE_READ|FILE_BIN);
     if(Perev_handle<0)
       {
        Print("ЧИтаем запись Переворот Неоткрывается FileIsExist= ",FileIsExist("per.bin",0));
       }
     int suk=FileReadInteger(Per_handle,4);
     return (suk); // <--- убрать
     FileClose(Per_handle);
     Print("ЧИтаем запись ...suk=",suk);

Secondly, what does Perev_handle have to do with it? If you open a Per_handle

 

With this code, everything works

     Pr_handle= FileOpen("pr.bin", FILE_WRITE|FILE_BIN);
     if(Pr_handle<0)
       {
        Print("-----Неоткрывается :-) pr.bin");
       }
     double S=prPv();
     FileWriteDouble(Pr_handle,S); 
     FileClose(Pr_handle);

and reads.

     Pr_handle= FileOpen("pr.bin",FILE_READ|FILE_BIN);
     if(Pr_handle<0)
       {
        Print("+++++Неоткрывается :-) pr.bin");
       }
     double s=FileReadDouble(Pr_handle);   
     FileClose(Pr_handle);
All outputs and compares the "s"
 
stringo:

Remove the return(suk) line for starters;

I'm sorry I didn't specify.

(substituted double with the right Write/Read parameters does not work either!!!)

Previous code with double works???)

int ReadPr ()
{
     Per_handle= FileOpen("per.bin",FILE_READ|FILE_BIN);
     if(Per_handle<0)
       {
        Print("ЧИтаем запись Переворот Неоткрывается FileIsExist= ",FileIsExist("per.bin",0));
       }
     int suk=FileReadInteger(Per_handle,4);
     FileClose(Per_handle);
     Print("ЧИтаем запись ...suk=",suk);
      return (suk);
}
 

What does this have to do with checking for Perev_handle?

And move return(suk) to the last line of the function. After the print

Very sloppy code

Reason: