Max number of open trades
-
I want to add one EA that is making trades with different currency pairs, but it should not take any new trades if there are more than the number of trades set.
So, if I set Max trades to 3, the EA should not take any trades if there are 3 or more open trades running.I guess I can't use the Bucket of Trades, since the EA I am working on will only open trades and then another EA will take care of the open trades. So I just need to make sure that there are not too many trades open when taking a new trade.
I tried the following block, but it won't take any trades at all when using this (at least when I tried it in the strategy tester).
Is this the correct block to use for this idea?

-
Actually I think I solved it. It should have been connected to the yellow dot. I mixed up the True/False when using larger than.
-
That "Compare" option can also be changed
I prefer to use the orange output whenever possible, it's less confusion. Just use < or <=, instead of > -
had you been done it?