Wishes for the work of the mql5.com forum - page 3

 
Andrei01:
Not always. An EA can also do calculations and not trade as an indicator, so an EA is a general case, it makes no sense to single out indicators separately. Indicators are just a relic of the past.
Of course the EA does the calculations, but the indicators are optimised to do it more efficiently.
 
Urain:
Of course the EA does the calculations, but the indicators are optimised to do it more efficiently.
Are you saying that the same calculations will be much faster in an indicator than in an EA?
 
Andrei01:
Are you saying that the same calculations in an indicator will be much faster than in an EA?
Exactly. Just look at the fact that the data in the indicator is already there by default, while in the EA you still need to get it through functional queries.
 
Andrei01:
Are you saying that the same calculations will be much faster in indicator than in Expert Advisor?

Yeah. In 5, maybe a little, but still faster. In the tester of course the emulation will be faster, but online shit.

Old theme, old faces. Remind me where it ended?

And another thing -- not every indicator is used in an EA.

 
papaklass:
But you load as much information as you need into the Expert Advisor. And in the indicator buffers all the history. Indicators are meaningless memory eaters.
The loading of information in the indicator is optimized at a low level, while in the EA you call the MQL functionality, which itself is a high-level.
 
papaklass:
The difference is substantial. You can check.
Did you check for identical operation? On loss of connectivity, reboots, etc.? Identical?
 
papaklass:
Nikolay, write a multivariant (12 currencies) with a couple of indicators, see its (owl) memory consumption in Task Manager. Transfer the calculation of indicators to the Expert Advisor code and look it up in Task Manager too. I did it during preparation for the previous Championship. The difference is great. You may check it.
Do you have 64 Kb of RAM? Probably, 32 Kb?
 

In 10 years on minutes, one buffer is calculated to take up 28 mb.

In the five-minute periods, 5 mb.

On fifteen minutes, 2 mb.

Is there a problem?

 
papaklass:
Nikolay, write a multivariant (12 currencies) with a couple of indicators, see its (owl) memory usage in dispatcher. Transfer the calculation of indicators to expert code and look in the task manager too. I did it during preparation for the previous Championship. The difference is great. You may check it.

Transferring indicator calculations to the Expert Advisor can be beneficial if their calculation is simple. Transferring complex calculations to Expert Advisor will kill it.

 
Lizar:

Transferring complex calculations to an expert will kill it.

What is the reason? Have the developers deliberately put brakes on complex calculations in the Expert Advisor?