Download MetaTrader 5
To add comments, please log in or register
Learning MQL5? Start with documentation!
ReeBok
45
ReeBok 2014.06.23 13:09 

Hi:

I've most probably developed a monster that haunts me. It (this monster EA) trades with NO issues if I trade ONE pair. But its designed to trade up to 25 pairs at the same time. So - when I put it on (say) 15 pairs it also goes well - but up to a point. That point is where one or more of the pairs are stopped out, or took profit or took a partial profit or something. I think that is the point where the MT4 Tradestation are being closed down (switched off) by some external force or something. Meaning - when I looked in my VPS - this tradestation is shut down.

I did a little test on my home computer using the Task Manager. With no EA activated - the MetaTrader App "memory" = +/- 25 MB. With 13 EA's attached to 13 different pairs the Memory is at 72MB. So - I don't know what this all means but do you think I have a memory problem or not..? If not - any sugessions how to pinpoint such a vague issue that causes the trade station to shut down..?

 I thank you very much...!!!! 

Ian Venner
2583
Ian Venner 2014.06.23 15:30  

I think you need to test it further on your home computer to find out what it going wrong. Let it trade 15 pairs on a demo account.

whroeder1
13610
whroeder1 2014.06.23 16:18  
apes001: That point is where one or more of the pairs are stopped out, or took profit or took a partial profit or something.
72MB is nothing, even 720MB.
Are you verifying that you have sufficient margin at the Most Adverse Excursion (i.e. SL) for ALL open and pending orders to avoid margin calls? See my lotsize
ReeBok
45
ReeBok 2014.06.23 18:42  

@SDC & WHRoeder

I thank you gentlemen - for your comments...! I appreciate.

At least I don't have a memory problem. That's important because if it was I surely would have dumped the project. Thanks for that assurance WHRoeder.

I agree SDC - that's the only way forward now... at least I know now the problem lies in the coding somewhere.  (I will double check my lotsizes first.)

/
To add comments, please log in or register