Forum

Possible memory leak in tester

Ok, I have been playing around with a class I had written for weeks now, trying to get to the bottom of a strange problem. For debugging purposes it seems logical to do the debugging of the workings of a class in a script, and whence the class is functional, import it into your expert. When doing

Timer function for debugging

I am trying to create a quick class for timing particular sequences of code (loops and nested functions) to determine where all my cpu cycles are going. So far I have come up with this: class DebugTimer { datetime StartTime; datetime EndTime; bool running; public : bool Start()

Possible bug in passing pointer (descriptor) of an object to a function by reference

I am not absolutely sure if there is some method of passing objects I am not aware of (or I am doing something silly wrong) but extremely erratic behaviour in the contents of an object passed to a function leads me to believe this is a bug.. When declaring a pointer in a block of code, you can

Backtester skipping over blocks

Ive been working with mql5 code for a while now, appreciating the wonders of the object oriented world :) however I have hit a brick wall. Basically I have coded an algorithm (highly computationally intensive) which all classes have been tested and debugged using scripts. The functions execute