Check Positions Count (Limit Maximum Position Opened)
-
Hi,
I have used the check positions count block to limit the maximum number of open positions. It works when I tested on strategy tester in MT5. However, it opens positions more than I have limited
when I test it in demo account and attach it to several pairings. Check positions count does not work on multiple pairings?my project as shared link below
https://fxdreema.com/shared/74oIDDzdeBelow is the screenshot I limit the opened trades to 2 but it still opened more than 2 positions.
Appreciate your help

-
Does it always open the maximum allowed number of trades +1? And then no more are open, right? This is because having 0 trades and 1 trades are exactly the same for the block. Just decrease the maximum number by one.
-
@l-andorrà Hmm. No. It keeps on opening trades whenever it hits those conditions.
-
Is this the whole project or just a part of it. The logic is correct. No more than 6 open trades should be active at the same time.
-
@l-andorrà said in Check Positions Count (Limit Maximum Position Opened):
st a part o
Whole part. Thanks a lot man. I know why already. Manage to fix it. Need to change the symbol mode to Any Symbol.

-
Good for you!

-
@kyohuat and @l-andorrà Hey guys, pretty cool thread here guys! @kyohuat I totally like the phone notification thing my butt is nailed to the chair too much sometimes. I was wondering if you could get this phone notification to go off during a demo test. DO you know if that is possible?
Also, have you concluded that if you change the EA to show any symbol in the check positions count, that if you use this on any one of those currencies (if you have this on multiple currency pairs) that it will work just like this?
-
@len-1 You can condition if your EA is for a demo or a real account by using any of these:

-
@l-andorrà Thanks I did not know what that was even for
-
@kyohuat hola, si además cambias "symbol mode" a "all" te contaría también todas las operaciones abiertas, tanto las que haya podido abrir otro EA como las que hayas podido abrir manualmente
