Doerk Hilger / Profile
- Information
|
9+ years
experience
|
0
products
|
0
demo versions
|
|
0
jobs
|
0
signals
|
0
subscribers
|
I have programming experience since 30 years with Assembler, Basic, C and C++, released many articles about programming, wrote books, got a honory title for informatics and worked as a lecturer in the past.
Currently I am focusing on Metatrader MQL5, especially object oriented programming and front end design.
Currently I am focusing on Metatrader MQL5, especially object oriented programming and front end design.
Doerk Hilger
Added topic Z-Order with chart-objects. What works?
Hi, since I dont know when, I try to figure out how the z-order works with MQL chart objects and my conclusion is so far that nothing works, no matter which value I give a chart object and its always random. For example: The picture shows a
Doerk Hilger
Added topic Server-timezones DST - what is the standard?
Since we deal with different timezones to convert between local time and chart/server-time, we need to define rules in the code. The timezones are just one thing which is easy, but the DST rules are another. Based on my experience, it does not
Doerk Hilger
Added topic CopyRates - BUG
CopyRates freezes when switching timeframe, in this case from H1 to M15 for 60 seconds. As far as I see, it happens mainly when an indicator in the same chart with the EA accesses the same bars data. Its surely not a coincidence, that the DST changed
Doerk Hilger
Added topic ChartGetInteger(chart_id,CHART_FIRST_VISIBLE_BAR) - BUG
Hi, the function in general works, but since the usage of the function results in unacceptable lagging of the whole EA when frequently used, it has to be called a bug. And its not new, its there since years. MQ doesn´t fix it. My
Doerk Hilger
Added topic No one of the overloads can be applied to the function call ... MT bug?
double, string, string, color, color Nothing wrong here but I get an error. Build 5200 In Detail where CVSButtonMenu inherits from CVSwitch, while definition in CVSButtonMenu is and in CVSwitch it is
Doerk Hilger
Added topic Importing DLL / struct - documentation is incomplete
https://www.mql5.com/en/docs/runtime/imports I want to refer to the import of structs. Structs can be passed by reference. In the import section you define like void MyFunc( mystruct &data ); And within C# you define the param as IntPtr.
Doerk Hilger
Added topic Compiles in Commandline-Mode but not from Editor (template/typename T)
Hi, phenomenon. This piece of code is rejected when I compile from the editor, but not when its compiled via commandline. Editor compiler reports: "T" unexpected token for the first line. public : template < typename T>
Doerk Hilger
Added topic Canvas incredibly slow. Why?
Hi, when I see samples of how people use the CCanvas class, Im always surprised. When I use the class, I have to work asynchronously all the time since it is simply way too slow and I don`t know why. This little piece of code, which does not
Doerk Hilger
Added topic MQL Service EA for custom symbol - how to?
Hi, besides EAs and indicators, there is this service-thing. I remember I read somewhere, that such can be used to support custom-symbols. Is this possible? What I would like to to is to restrict a given symbol, like EURUSD , and then restrict it to
Doerk Hilger
Added topic Access violation read (0x00000070), "Incorrect casting of pointers" etc. with Indicators
Since Build 1380, also with the current build 1400 we face this issue in MT4 that occurs either when changing the timeframe of an indicator or when terminating the indicator within the code. This is is clearly a BUG in MT4. That we talk about a
Doerk Hilger
Added topic Commandline version of MetaEditor.exe buggy - needs far too long to open a file after a while
Since the latest builds, at least since 3802 of MT5, the commandline execution of MetaEditor does not work proper anymore. The MetaEditor.exe can be executed with the parameter of the file to be opened in the editor. When the editor is already opened
Doerk Hilger
Added topic Freezing charts - Error 4203
Hi, its frequently that we have to deal with frozen charts. Any function like ObjectGetInteger(), even ObjectName() or similar, then needs seconds to return and the error code is always 4203. The error code makes no sense at all, since
Doerk Hilger
Added topic What happened since Build 2755? (Chart freezing - bug not resolved since 2 years!)
Since two years we are facing the same bug in MT5 which wasn´t there before. 2755 was the last build which made no problems, all builds afterwards come with the same issue. There must have been a general change within the task management of
Doerk Hilger
Added topic Two years later - still the same problems in the Editor (Build 2755 > 3521)
Hi MetaQuotes, I was sticking to Build 2755 for almost two years coz it was the most stable version, until I was forced now to update the latest build, since a connection to most of the brokers was not possible anymore. Now I have to use MT5 Build
Doerk Hilger
Added topic How to overload the subscripting assignment operator '[]=' ?
Hi all, the example is generic, since I have no idea how to overload the indexed assignment ... does anyone know how to do? class CIntArray { int
Doerk Hilger
Added topic Global initialization failed - Build 1340
Hi, got that message, just like that. 1. Compile with 1330, execute with 1330 - works 2. Compile with 1330, execute with 1340 - works 3. Compile with 1340, execute with 1340 - error I found this topic already with a very much older version of MT4
Doerk Hilger
Added topic Skipped constructor with ArrayResize() - Bug?
Hi, this is a bug, right? The constructor should always be excecuted, also with ArrayResize. When changing struct to class, it works in both cases, struct works only with first case, not when using ArrayResize() struct CA {
Doerk Hilger
Added topic Long to char array - where is the bug?
Hi, I need to store a long or ulong value into a char array. Therefore I split the value into pieces of 8 bit and store these parts into 8 elements of a char array. Following macro is used: #define L64_TO_UCHAR(value,array,pos) {
Share on social networks · 1
4
Doerk Hilger
Added topic MQL-Obfuscator
I created an obfuscator for MQL (encryption of source code) for my own purposes and would like to know, if there is any kind of a general/common interest. The obfuscator works so far without problems, but surely has some restrictions which would
Doerk Hilger
Added topic Static var empty - how is this possible?
Please see the picture. Debugger is at line 1233 and values for cats and f are an empty string. Actually impossible. And of course the if-statement returns false. When I change the code like that, that I set var f manually/explicitly, its
: