Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1487

 
Alexey Viktorov #:

Vladimir, before writing about bugs, you should check everything on MQ demo. It works without any problems in my Expert Advisor. Accordingly, no one will react to it....

Thank you, Alexey. I didn't even suspect that such "bugs" can occur on individual identifiers at my forex-dealer. Live and learn. ))

Regards, Vladimir.

 

There is a design:

  MqlDateTime dt0,dt1,dt2;
  TimeToStruct(iTime(_Symbol,PERIOD_MN1,0),dt0);
  TimeToStruct(iTime(_Symbol,PERIOD_MN1,1),dt1);
  TimeToStruct(iTime(_Symbol,PERIOD_MN1,2),dt2);

Question:

How to calculate and what to replace with

iTime(_Symbol,PERIOD_MN1,
0 )

to get the start dates of months without jerking the monthly timestamp

This is needed for the function of calculating profit for the last three months

 
Vitaly Muzichenko #:

There's a design:

Question:

How to count and what to replace with

to get the start dates of months without jerking the monthly timestamp

This is needed for the function of calculating profit for the last three months

https://www.mql5.com/ru/forum/170952/page234#comment_50523898

 
Good afternoon! Question for experts - please suggest a script for MT5, which can divide the area of one instrument tab into 3 (for different times of one instrument or for comparison with another instrument). Exactly not in the terminal window area, but in the open tab of some instrument. Or by name, so that it could be scanned in the market. I have no idea how to name a family of such scripts to find the right one. Thank you very much for your feedback!!!!!!!!!!!!!!
 
Dema73 #:
Good afternoon! Question for experts - please suggest a script for MT5, which can divide the area of one instrument tab into 3 (for different times of one instrument or for comparison with another instrument). Exactly not in the terminal window area, but in the open tab of some instrument. Or by name, so that it could be scanned in the market. I have no idea how to name a family of such scripts to find the right one. Thank you very much for your response!!!!!!!!!!!!!!.

Maybe this.


 
Good day. Happy holidays to all.
Can you tell me why the visual tester becomes slower if I include Comment in the EA code?
What options are there to fix this?
Does it affect the speed of optimisation?
 
Maksim Burov Comment in the EA code?
What options are there to fix this?
Does it affect the speed of optimisation?

On each tick to display Comment you have to redraw the whole chart. You can try to use kanvas, but Nikolay Semko will tell you about it better.

 
Maksim Burov Comment in the EA code?
What options are there to fix this?
Does it affect the speed of optimisation?
If the information has not changed, then do not call Comment
 
Alexey Viktorov #:

On each tick, to display Comment you have to redraw the whole chart. You can try to use canvas, but Nikolay Semko will tell you more about it.

Googled...
Cool type) where he can't deal with my problems))))))

Reason: