Any of the programmers here know how to setup CUDA to work with the MetaTrader 5
strategy tester? I have a very expensive GPU with liquid cooling just hanging out
while my CPU could use the help. I am surprised actually this is not implemented into
the MT5 software.
V/R
Bruce Lesko
I can't find the link right now but the only way currently is to write your own native library (dll) which you can import into your EA. Inside the native code library you would call your CUDA or OpenCL code. This may or may not help with backtesting depending on the types of operations your code runs. So basically you have your EA and then explicitly offload your GPU calculations through your own custom code. Here is a link to compiling native code for MT5 using Visual Studio.
https://www.mql5.com/en/articles/249
It's a pain to figure this out, but I have successfully done this in Visual Studio 2010 and Visual Studio 2012 for both MT4 and MT5 using the same code. Note, I had to place my DLL's in the AppData folder for each terminal before they would work.
- 2011.02.09
- investeo
- www.mql5.com
Any of the programmers here know how to setup CUDA to work with the MetaTrader 5
strategy tester? I have a very expensive GPU with liquid cooling just hanging out
while my CPU could use the help. I am surprised actually this is not implemented into
the MT5 software.
V/R
Bruce Lesko
Redfox - Just use A mql5 cloud!
Why would you need to think about gpu acceleration when cloud is so powerful that there is almost idle all the time. On average only 50k jobs/monthly.
Read this article: Speed Up Calculations with the MQL5 Cloud Network
I think there is no need for gpu acceleration.
- cloud.mql5.com
Redfox - Just use A mql5 cloud!
Why would you need to think about gpu acceleration when cloud is so powerful that there is almost idle all the time. On average only 50k jobs/monthly.
Read this article: Speed Up Calculations with the MQL5 Cloud Network
I think there is no need for gpu acceleration.
Cause one GPU can calculate as much as hunderts of CPU or more, depending on what calcuclatiions you run, and cause you don't have to pay other if you use ur own GPU..
Pretty obvious why, don't you think?
If you run a lot of calculations that run bether on GPUs it sure is worth it.
Personally I would prefer it if he uses the cloud so my CPUs have something to do ;)
Cause one GPU can calculate as much as hunderts of CPU or more, depending on what calcuclatiions you run, and cause you don't have to pay other if you use ur own GPU..
Pretty obvious why, don't you think?
If you run a lot of calculations that run bether on GPUs it sure is worth it.
Personally I would prefer it if he uses the cloud so my CPUs have something to do ;)
Yeah, I know where you are coming from. I used to have that enthusiasm too. I know all that great stuff about shader processors and how they can work extremely efficient compared to x86 architecture (Say 100 fold more efficient).
But it's extremely hard to make GPU to calculate those history works, cuz for GPU it's all about parallel.
And actually - WHY BOTHER?
The problem was - Extremely long optimization process. And MQ did find solution - CLOUD. Easily faster than any latest quad sli (single offline system).
Just think about that: You don't need to optimize your EA all the time. While you can provide agents all the time. And they do some calculatins and adds some credit to your account. That all accumulates and when you need a optimization boost - it's there.
Think about cloud like me - thats optimization battery. You charge it,charge it,charge it, and then KABOOM(get results quickly and probably while sitting in some beautiful park with your low energy mobile device).
Btw: I supply agents too and here electricity prices are so dear, that I only can be profitable if all cloud capacity is utilized. Since there is no luck on that. I just want to see some crazy spikes someday, thats is all I need for satisfaction.
Server guy/overclocker fantasy ^^
Cheers!
- www.mql5.com
Yeah, I know where you are coming from. I used to have that enthusiasm too. I know all that great stuff about shader processors and how they can work extremely efficient compared to x86 architecture (Say 100 fold more efficient).
But it's extremely hard to make GPU to calculate those history works, cuz for GPU it's all about parallel.
And actually - WHY BOTHER?
The problem was - Extremely long optimization process. And MQ did find solution - CLOUD. Easily faster than any latest quad sli (single offline system).
Just think about that: You don't need to optimize your EA all the time. While you can provide agents all the time. And they do some calculatins and adds some credit to your account. That all accumulates and when you need a optimization boost - it's there.
Think about cloud like me - thats optimization battery. You charge it,charge it,charge it, and then KABOOM(get results quickly and probably while sitting in some beautiful park with your low energy mobile device).
Btw: I supply agents too and here electricity prices are so dear, that I only can be profitable if all cloud capacity is utilized. Since there is no luck on that. I just want to see some crazy spikes someday, thats is all I need for satisfaction.
Server guy/overclocker fantasy ^^
Cheers!
OpenCL: The Bridge to Parallel Worlds
Do you make your own electricity too?
Sure if you don't value your time much, you can take part of programming and probably somehow make GPU to take off some load of calculations to faster extract results.
Sell your expensive gpu and put small portion 50-100$ on your mql5 account for cloud work. You won't believe how much work in short time cloud will do.
Sorry, but just have feeling that you are more interested in thinkiring about hardware and software not getting your job done.
Do you make your own electricity too?
Sure if you don't value your time much, you can take part of programming and probably somehow make GPU to take off some load of calculations to faster extract results.
Sell your expensive gpu and put small portion 50-100$ on your mql5 account for cloud work. You won't believe how much work in short time cloud will do.
Sorry, but just have feeling that you are more interested in thinkiring about hardware and software not getting your job done.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Any of the programmers here know how to setup CUDA to work with the MetaTrader 5
strategy tester? I have a very expensive GPU with liquid cooling just hanging out
while my CPU could use the help. I am surprised actually this is not implemented into
the MT5 software.
V/R
Bruce Lesko