How to limit the TOTAL number of multi-currency trades?
-
Hi, I created an EA that works great. It will open positions on multiple currency pairs, even though I placed it on just one.
The problem now is that it is opening too many trades, like 10 and 20+ most are winners. But there will always be some drawdown. When you have too many small drawdowns, they add up to a big drawdown, and it can negatively affect your account.
How can I create a standalone EA that will limit the number of total trades (all currency pairs combined) that will be opened at a time?
So let's say 20 pairs meet the condition to place a trade; this EA will only allow, say, 5 pairs to be opened at a time.
Thanks in advance.
-
Have you tried the check positions count node? I'm not sure exactly how to set it up off the top but I'm sure it doesn't take much work.
-
Hmm, don't remember seeing that block, but I will try it. Thank you.
-
@JerryCrypto JayPhillbrooks means this:

-
I tried this before, but it didn't work as I thought it would. Maybe because I have multiple currencies. I will try it again. Thanks again.
-
Technically, the 'Any symbol' option should work on all charts regardless the currency.