Selecting specific trade/s on current running trades
-
Hi @miro1360,
I found an old thread of you answering a similar inquiry that i have now, but when i tried to open the shared links, it had some problems, maybe due to how old it was. here is the thread i saw:
https://fxdreema.com/forum/topic/4267/select-certain-ordermy project is a grid type which opens multiple orders. https://fxdreema.com/shared/2niaQBFGd
my question is if there are currently 5 trades running, and i want that the first 3 orders will be trailed, how can i avoid the latest 2 orders from being trailed its stop?Thanks in advance.
-
@suyj This is the configuration you need but I guess you will need a variable to define different amount of trades:

-
thank you for your reply @l-andorrà. i also tried your idea and tweak on "skip" and "every" trade option, but it wont work. i guess you are right, the previous thread i saw, @miro1360 used a variable in between blocks.
-
Hi @roar, do you have any suggestions for this idea? your reply is also much appreciated. Thanks in advance!
-
@suyj I would go with the "For each trade" block, just like @l-andorrà. Why doesnt that work?
-
@roar i did the suggestion of l-andorrà, but when it reached to 3 trades all of them are trailed its stops.
or maybe i wasnt clear with my logic at first, here it goes:
A. as number of orders increases, every latest trade/s should not be trailed.
For instance, i have 5 running trades, the 4th and 5th trades should not be trailed, then if it opened the 6th trade, 5th and 6th should not be trailed yet and the 4th should start trailing at this point. which means to say every 2 latest orders should not be trailed yet. i hope you get my logic. sorry for my grammar ^-^ -
@suyj ok, then like this:

-
@roar i did that also but it will still trail the latest opened trade. I guess its a bug? or maybe im wrong?
pic below is Buy Trades starting from the bottom.

-
@suyj hmm, I think the trailing stop block doesnt care about the selection in the pink block. So, you have to construct the trailing stop entirely with pink blocks:
https://fxdreema.com/shared/QlqTmUzab

-
@roar noted. i did the above blocks and worked well. Thanks a lot @roar and @l-andorrà for your help!