Forum

I think I found a bug in strategy tester

My saved input parameters changed themselves to an unknown version that breaks my EA. It rarely happens but it's at least the second time I notice this behaviour

OBJPROP_RAY property not working

Hi, I don't know why I'm having an issue with something so easy. I draw vertical lines and I don't want them so appear on subwindows. The solution should be simple: ObjectSet( "My object name" , OBJPROP_RAY , false ); All the other object properties work but not this one. I'm definitely using the

How to delete all objects created by a custom indicator?

Alternatively, how do I delete all OBJ_VLINES with a certain string in their name? If I do the following, only about half the matching lines get deleted. int obj_total= ObjectsTotal (); int result; string name; for ( int i= 0 ;i<obj_total;i++) { name = ObjectName (i); result =

My expert has started behaving crazy in the strategy tester

There is no relation between my code and its behavior now. I had noticed some inputs parameters stop working too. There is no file to clear in the cache. Any idea

Can't logout of MQL5 community

The link to logout of the MQL5 community in the right top corner of Meta Trader4 doesn't work

Strategy Tester: Optimization not working

Hi, the problem is that optimization only produces empty results (0.0) despite the fact that the expert advisor is working normally in the strategy tester . The problem didn't occur with a different EA

Strategy tester: why have my Expert properties changed ?

I understand when you switch EA or maybe restart MT4, the EA's parameters are loaded automatically from the saved config file. Also, when you are just editing the Expert, tweaking its properties and doing tests, the changes you make are persistent between iterations. But just now my EA began acting

How to set default chart properties in strategy tester

Options > Charts setting are not applied, and neither is the default template

Very strange: a line of code does nothing despite not being commented

I don't understand at all. How is it possible? A line of code calls a function with: Print ( "BEGIN" ) at the very top. Below the function call there is: Print ( "FUNCTION WAS CALLED" ); The program prints FUNCTION WAS CALLED but NOT BEGIN ! All files are freshly compiled and there is only one

When we use MQL5 Cloud Protector, are dependencies protected too ?

If I protect an Expert Advisor in MT4, will the dependencies be protected as well