Bug fixed versions of CRect and CCanvas which are part of the standard library
This file replaces the WndContainer.mqh original file. It prevents the chart from being affected when you click and hold the mouse inside a container area
I was wondering, that macros sometimes dont appear in their correct color, so that one can see: This is a macro. And I figured out. Example: There is a macro named "abstract" which I use ... the sense is not important here. The macro is defined in a file in Line number #37 When I use this macro now
No further information, impossible to debug, since it happens with indicators when the profile is changed and when the indicator terminates. And it happens after everything is already shut down, like IPC connections etc. Next problem: It happens sometimes. Randomly. Any ideas? Source code is >39.000
#define func(arg1, arg2) Print (arg1); arg2; func( "Hello" , ExpertRemove ()) // fine func( "Hello" ,) // Warning Makes no sense for me. There are many cases, when I explicitly do not want to have the second argument, but I also dont wanna mess up my code with even more macros with different names
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 pattern and vertical lines, this comes from a BitmapLabel
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 matter where the brokers-server is located, the DST rule
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 today in Europe, while the servers DST did not
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 procedure: Whenever the chart changes, I collect all the chart data
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
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. public static void MyFunc( IntPtr data ) Then simply use
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> T Get( int index, T defaultvalue=(T) NULL ) { // ... if