Download MetaTrader 5

Weekend code issue

To add comments, please log in or register
MQL5 language supports OpenCL. Try it!
turny
106
turny 2016.07.26 15:14 

Hi,

 

I have an Expert Advisor someone wrote for me a while back and one of the rules was to close all trades at weekends, start again at the open as forex gaps can be brutal.

I want to remove this from the code but the person who did it originally is not about and I know nothing about code.  I think I have narrowed it down to the pictured section but how do I remove this without errors?

I don't want any rule about weekends, I just want it to carry on like any normal day.  Is there more in the code elsewhere that needs changing too? 

 

 

Nguyen Nga
6554
Nguyen Nga 2016.07.26 17:06  
remove lines from 2234 to 2245
turny
106
turny 2016.07.26 17:13  
Nguyen Nga:
remove lines from 2234 to 2245
Thats it, thanks.  Tried a few combinations of deleting and got errors, not this time! 
To add comments, please log in or register