Limit on trade duplicate trades. Filter is not working for me
-
The for each position filter doesn't seem to work. I seem to be getting a lot of trades even when I set the limit in "On trade" I want to be able to limit the number of trades.
On Trade


On Init

-
Hard to tell. May you share your project?
-
-
@jzfusion Okay. The on Trade part I don't understand. You should use that tab only if a trade event is happening such as trade closed, opened or modified and so on. I understand that you want to open a buy condition each bar, when price closes above BB upper band (btw. you should specify candle ID 1 on BB indicator either). But what for you need the For each Position block?
-
This one is resolved. I added a "loop pass n times" in between the buy and the conditions block on trade and it did what I wanted.
Thanks -
In general, a 'For each position' block should not be used in the same structure that launches trades. It is a loop block for already open trades!