@breeeeen You could add 1 every time a trade is placed, reset when all are closed, use all group numbers in the other blocks like, 1,2,3,4,5,6,7,8,9,10 etc.
Best posts made by jstap
-
RE: How to keep profitable trades separate from other trades? [solved]posted in Questions & Answers
-
RE: How would I do this….(MA double cross)posted in Questions & Answers
@gtoat777 I use a loop for counting candles for doing this:
: -
RE: Indicator code change - coders pleaseposted in Questions & Answers
@alphaomega I don't know what to do, this indicator has got 2 buffers that return a value that you can get on FX (just put them in a comment), it won't work on my back test, so I cant find out if the value changes, I assume it does but this this is why I don't program I do all on FX, sorry:

-
RE: Children modified TPposted in Questions & Answers
@alphaomega Have you tried instead of modifying so you place a child trade, place a new trade with a separate group number?
-
RE: 'input' - unexpected token error when compiling mq5 fileposted in Questions & Answers
@smallous I agree with @ambrogio, if this was MT4 I would try changing the type to int, not sure if this works on MT5 though,
-
RE: Still not sending notifications, please help and checkposted in Questions & Answers
@bjay31fx you have nothing in the label box, nothing will work when this box is empty.

-
RE: For each closed position in MT5 not working .. is there a bug ?posted in Questions & Answers
@saeed-2 Add a shared project so blocks can be internally looked at, for each is the start of a separate tree, probably what is causing problems.
-
RE: Please help why some time the ea Buy 2 times Sell 2 times when it is in the condition even I put once per trade already how to not let the ea buy more than 1 time per trade?posted in Questions & Answers
@zarbitz if you only want 1trade put a no trade block on top.
-
RE: Please help why some time the ea Buy 2 times Sell 2 times when it is in the condition even I put once per trade already how to not let the ea buy more than 1 time per trade?posted in Questions & Answers
@zarbitz I would put the filters above all but should make no difference, Not sure why you have more than 1 trade.
-
RE: How to open new trade when a trade is closedposted in Questions & Answers
@jacksonuk Read your last post then! The answer you want was there if you deleted before learning what you need, then the problem is yours.
-
RE: how can i record highest atr during specific time periodposted in Questions & Answers
@akallai86 Haven't tested but this should work: https://fxdreema.com/shared/22Svk5CEb
-
RE: Crossover Variable Value not working?posted in Questions & Answers
@fx_casey https://fxdreema.com/shared/GNVzhJKSd This works, it was something to do with filter blocks, I do use regularly though, I also changed when lines ae deleted so what's happening can be easily checked, I also replaced the check win/loss blocks, let me know if you have any other problems.