Download MetaTrader 5
To add comments, please log in or register
Having questions to the author of an article? Discuss them on the Forum!
nick13
41
nick13 2015.02.17 14:23  
So, how to change that?
Keith Watford
Moderator
9468
Keith Watford 2015.02.17 21:30  

The return() is like a barrier that prevents the code from proceeding any further. Like any barrier, if you don't want it there, you remove it.

Just be sure that you fully understand the logic of the code and that removing the barrier won't cause further problems.

In this case, it appears that the code is (poorly) constructed to only have 1 open order at a time 

/ /12
To add comments, please log in or register