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

 
STARIJ:
I thought I explained that it would work forever.

of course, or else everything that the kodobase has built up over 10 years will stop working. there are start-up functions everywhere.

 

why change the name of the function in the first place? O_o

 
Максим Дмитриев:

why change the name of the function in the first place? O_o.

Switching to MT5.

The languages are very close. The difference is minimal. But MT4 development is already stopped - only support is left - bug fixes.

Everything is being done gradually.

 
Максим Дмитриев: why change the name of the function in the first place? O_o.

It was changed during the transition from MQ4 to MQ5. And then moved it all to MQ4 to unify MetaEditor and Executor

 

changed to reflect the essence of the function.

ontic = every tick, and start is essentially only at start

 
Taras Slobodyanik:

changed to reflect the essence of the function.

ontic = every tick, and start is essentially only at start


it's already clear that if it's a script, it's executed at start.


how does oncalculate translate?)


it used to be convenient. in all types of programmes the function was called the same.

 
Максим Дмитриев:


how does oncalculate translate?)


Obviously - according to the calculator)

"at the next calculation"

 

Hello.

Question onstrategy tester

I can't reduce the font or column sizes to fit the entries within the 640 pixels window

how do I do this?

I have reduced the window size, but the information is crumpled.

Files:
 
Sergey Musin:

Hello.

Question onstrategy tester

I can't reduce the font or column sizes to fit the entries within the 640 pixels window

how do I do this?

I have reduced the window size, but the information is crumpled.


There is such a thing...

Here is part of the correspondence with the moderator

  • All captions on screenshots must be clearly legible, must not contain links to third-party resources or hints of profit. The exception is the results of the strategy tester report.
 

Guys, could you please advise how to convert the date 29.01.2008 to a format like 1201564800 ? What function is used to do this?

I need to compare TimeCurrent () with a given historical date...


If you convert the current time to a second format via iTime: int iTime = TimeCurrent();

then how can it be compared to other dates which are written in the 29.01.2008 format?


Or somehow compare it without converting it to seconds, if you can do it straight away...

like

if TimeCurrent() > 29.01.2008 then a = 123456

but it doesn't work in this form... ((

Reason: