Forum

Question regarding string handling and DLL calls.

Can someone please clarify how string arguments are handled when calling DLL functions: i) From what I can tell they are passed in the form of wchar_t *, in other words a pointer to a string of 16-bit wide characters. Is there any native - in other words a function call or macro in MQL5 - to way to

Bug report: concerning function arguments/return values.

Seems I've tracked down why some of my EA code wasn't working, there's a subtle bug. I've created a series of overloaded functions to do simple things like find the maximum of two integers. So, for example, there is one: uint fn__max( const uint in_a, const uint in_b ) { if ( in_a >= in_b ) return

Quotes server slow?

I'd made the mistake of attempting to test my EA's ability to download history data and have found the speed from the access.metaquotes5.com server to be *extremely* slow. At first I thought it was because I was running Windows in a VirtualBox emulator, but my server has a 100Mbps connection direct

Difficulties in Optimisation

At the moment, I'm preparing an EA for the Championship and although time is now very tight, it looks hopeful that I may at least have an entry this year. The problem I am currently having is optimisation. I am a competent in other languages (C/C++/PHP/etc) and as such have a good understanding of

Client build 338; strategy tester bug ruined chances of entering championship.

Before the previous deadline, I had created a fairly involved expert which unfortunately did not make a profit. It relies on a dataset generated by an external C++ program, and in the intervening days I had found an error in the processing that created the external data; having corrected this

Metatrader Historical Time Series Queries (relevant to Championship)

Yes, it may be the eleventh hour but I've got a few queries regarding the historical data in mql5 if anyone has the knowledge to answer, it would be of immense assistance... I intend to write an expert advisor for the championship that is based on a specific type of neural net. Due to the rather