ShaKerZ Posted July 27, 2009 Report Share Posted July 27, 2009 Hi, I have a robot that I have a problem. When I close metatrader or when I disable and reactivate the experts, it opens the same trades. Is there a way in the programming that the robot does not trade on a pair that already has a trade in progress ? Thanks ! Quote Link to comment Share on other sites More sharing options...
ryaz Posted July 27, 2009 Report Share Posted July 27, 2009 Re: Expert modify Is there a way in the programming that the robot does not trade on a pair that already has a trade in progress ? Magic numbers regards Quote Ad augusta per angusta Link to comment Share on other sites More sharing options...
ShaKerZ Posted July 27, 2009 Author Report Share Posted July 27, 2009 Re: Expert modify But there is not magic number. It's Insurrection, he works daily. So, a signal can be present many days on the same pair. And if i close metatrader and re-open, Insurrection re-open trade (because he has the signal)... Quote Link to comment Share on other sites More sharing options...
sutanto Posted July 27, 2009 Report Share Posted July 27, 2009 Re: Expert modify May be you use VPS and there are 2 users on the vps.Check at task manager,if there are 2 users,then log off one of them Quote Link to comment Share on other sites More sharing options...
ShaKerZ Posted July 27, 2009 Author Report Share Posted July 27, 2009 Re: Expert modify Hmm i'm on VPS yes but at home, it's same... Quote Link to comment Share on other sites More sharing options...
sutanto Posted July 27, 2009 Report Share Posted July 27, 2009 Re: Expert modify If the problem on your VPS,try to get into VPS, left click at the bottom empty panel,so you see task manager sub menu.then left click on that,you will see the box windows task manager.If you see 2 actve use,your robot will do same trade.You must log off one of them.If it doesn't solve the problem,restart your vps,then activate your MT4 again. May be this help.No matter where is your location,if there are more than one user,it will double your trade. Quote Link to comment Share on other sites More sharing options...
ShaKerZ Posted July 27, 2009 Author Report Share Posted July 27, 2009 Re: Expert modify No I think you don't understand... He open a trade on each pair even if there is an opened trade (it's a robot default i think). So I will modify the robot for that he doesn't open a new trade as the first trade is close... Quote Link to comment Share on other sites More sharing options...
⭐ bbrain Posted July 28, 2009 Report Share Posted July 28, 2009 Re: Expert modify I think the best if you modify the EA to use magic numbers. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.