angmeacaslel21
06-20-2015 07:30, 07:30 AM
Hello all pro coders,
I wrote an ea to move away from spending hundreds of hours on the tracks. I'm performing some back testing but whenever I run a rear test I get the next error:
Warning: Can not execute new OP_SELL order for Symbol EURUSD. Maximum number of open positions attained.
Now the strange thing is that if I run it on demo/live account, it works fine and does what is meant for. So you may ask what is the issue? Well I would love to bring some more logic like a trade manager and few more items, and suppose I have to do the back testing to reach confidence to go live trading.
I've attached the code, thanks in advance for any help provided
https://www.nigeriaforextrading.com/attachments/15275576571161365451.mq4
I wrote an ea to move away from spending hundreds of hours on the tracks. I'm performing some back testing but whenever I run a rear test I get the next error:
Warning: Can not execute new OP_SELL order for Symbol EURUSD. Maximum number of open positions attained.
Now the strange thing is that if I run it on demo/live account, it works fine and does what is meant for. So you may ask what is the issue? Well I would love to bring some more logic like a trade manager and few more items, and suppose I have to do the back testing to reach confidence to go live trading.
I've attached the code, thanks in advance for any help provided
https://www.nigeriaforextrading.com/attachments/15275576571161365451.mq4