Hi,
I am new to MQL4 programming but I've been able to create a very simple EA for an entry egy I want to automate. The entry component of this works but I am having an issue limiting the amount of orders that the EA opens simultaneously. When I tested the EA it opened bunches of orders all. I didn't need this.
Is there a function I can use to tell the EA to limit the amount of orders it opens when the entry signal is triggered? I really don't have an issue with orders being available at at precisely the time, I just don't need more than 1 order to be opened on precisely the time bar.
I have looked on Google and on those boards and I haven't really found what I believe I want. Can any 1 help or point me in the ideal direction? I really don't require whole code, I just need to know exactly what it is and if there is.
Thanks.