soniabvc:
However
it loads very slowly (it pulls the data then needs to match it with the
However
it loads very slowly (it pulls the data then needs to match it with the
corresponding bars). I understand creating a DLL the pushes the valuesin MT4 will speed up the process
Unlikely!
MQL4 code is slower than optimised C code indeed (that in turn might have an overhead by C++ compiler).
However it's worth beginning with the existing code optimisation. It's proven many times that low level optimisation can't compete with high level optimisation. In other words if you use the same algorithm implemented in DLL the performance price will not be as dramatic as if you improve the algorithm itself no matter which language you use for the implementation.
May be there are nested loops in the algorithm that are avoidable?
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
and displays them in an indicator window as histogram and lines. However
it loads very slowly (it pulls the data then needs to match it with the
corresponding bars). I understand creating a DLL the pushes the valuesin MT4 will speed up the process but what about the type of database from where the values are taken?
In you opinion and experience which is the database (csv,xls,txt or other) that MT4 can access the fastest?