Here's what you can do with OpenCL directly in MetaTrader 5 without any DLLs - page 16

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
I will check the rendition.
Without double maths there is nothing to do in our field. All the more so in 2020.
Whereas in the early days of OpenCL one could still look for compromises and be deceived by the notion "well, you can calculate something in float", today it is not so.
Any attempt to convert double -> int -> double completely kills performance and profit, especially on large sizes.
The correct option is to use native formats and more modern cards with new drivers.
The support is there:
A request to you Renat. Please add in the MQL5 manual (OpenCL section) a disclaimer stating that before using double data and calculations in graphics cards/graphical coprocessors, you should verify that they are supported by these devices. So that MQL5 newbies do not have any illusions on old hardware.
This is already written in the automatic map test and it is not selectable: done in the latest release
It is safe to say about old maps without double support that they are absolutely useless for mathematical calculations.
This is the reality.
This is already written in the automatic map test and it is not selectable: done in the latest release
Some examples come with the MQL5 package. Totally procedure-oriented programming. I'm not sure about MQL4
and if
Result:
Why is there one output (line) in one case and two in the other?
Not clear Result:
and if
Result:
Why is there one output(line) in one case and two in the other?
Thank you for the message.
Fixed.
OpenCL handle overflow due to frequent over usage of the handle, more than SHORT_MAX times
and a week ago it was working fine. Why disable OpenCL if there is no support for double and it is not used?
Yes, decided not to use old cards without double support at all.
The old cards in general are very bad, including bad unrepaired drivers that often crash, dropping the terminal.
The reality is that you should already explicitly control the versions of the drivers, like the developers of PC games do. Microsoft's default drivers won't get you very far.