How can I limit the number of orders per day or per session [MT5]

High Currency
83
High Currency  

Hello I would like to know which code function in MT5 or how can I limit the number of trades per day o per session.


For example, have just 1 (or 2 or 3) trade per day en each pair. Or to have just 1  (or 2 or 3) trade per session on each pair (Asia, London, NY). 


Is that possible?


Many thanks :)!

William Roeder
24772
William Roeder  

Of course, it's possible - code it. One EA/multiple symbols, one global variable, increment on new order, reset on new day. Multiple EAs on different symbols, use a terminal variable.

You haven't stated a problem, you stated a want. Show us your attempt (using the CODE button) and state the nature of your problem.
          No free help 2017.04.21

Or pay someone. Top of every page is the link Freelance.
          Hiring to write script - General - MQL5 programming forum 2018.05.12

We're not going to code it for you (although it could happen if you are lucky or the problem is interesting).
          No free help 2017.04.21