
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Here's info from fxsaber on thisissue:https://www.mql5.com/ru/forum/366029/page3#comment_22547881 https://www.mql5.com/ru/forum/366029/page3#comment_22547881
@RashidUmarov
please ask developers to respond.
After the publication of the brakes of work with history, a lot of work was done by developers to create caches. The brakes have gone away.
Perhaps there is a mechanism of more economical caching. But it is certainly impossible to allow brakes.
ZY There are no comments on how to work with history the fastest way. At the moment 100% fast way is to call only HistorySelect everywhere.
After the publication of the brakes of work with history, a lot of work was done by developers to create caches. The brakes are gone.
Perhaps there is a mechanism of more economical caching. But it is certainly impossible to allow brakes.
ZY There are no comments on the fastest way to work with history. At the moment 100% fast way is to call only HistorySelect everywhere.
where t is an arbitrary date that is not very long ago and does not change from call to call (a constant unified for the whole programme)?
Why not
where t is an arbitrary date that is not very old and does not change from call to call (a constant, uniform for the whole programme)?
I'm not sure that this will make the cache smaller.
I'm not sure if that would make the cache smaller.
Consumption is reduced. I used to prescribe it in the beginning.
But I had to give up because of serious problems.
Run result on Terminal with one M1 chart, 5000 bars, one symbol, no resources and no graphics.
It's a lot. 10 synchronous (OrderSend) EAs eats 4 gigs. Two options:
There is no other way. (unless, of course, you cut off the old history and redo the whole algorithm of working with history, but this is only if MQ do not return the old sorting).
Hi, folks!
It would be helpful that @MetaQuotes upgrade this article with Trade Classes (CAccountInfo, CSymbolInfo, COrderInfo, CHistoryOrderInfo, CPositionInfo, CDealInfo, CTrade, CTerminalInfo). Develop EA under Object-Oriented paradigm could modify (and simplify) this operations of synchronize cache and to get data over symbols, orders, positions, deals, trades, etc.
Am I right?
if you please how to calculate order commision with profit to be like this
" Profit += profit + swap + commision "