Trail Stop for multiple Trades
-
Please I need the help of experts here.
I want my buy trades to be trailed once they are in cumulative profit of 100pips
Trail Start at 100pips
Trail Stop at 50pips
Trail Step at 1pipThanks for your help.
-
@econsulttt Here you have it:

-
Thanks for your response but this is not what I want.
This what I mean: e.g I have 5 open buy trades;
Trade1 = +40pips
Trade2 = +30pips
Trade3 = +15pips
Trade4 = +10pips
Trade5 = +5pipsTotal unrealized profit = +100pips
At this point(+100pips), I want Trail stop loss to start and Stop to be at +50pips and Step at +1pip
I hope you understand my point. Thanks a lot.
-
-
@econsulttt Ok. Then you need this:

-
@l-andorrà It seems not to work.

As you can see from the above image, the trades moved more than 100pips in total, yet the stop loss did not move.
I connected it to the PASS block. Am I wrong?
Please show me how I am supposed to connect it.
Thanks
-
@econsulttt Can you show your project, so we can see what actually happening.
-
@econsulttt Can you please confirm all trades share the same SL level? Any can you please confirm no trade moved beyond 100 pips in profit individually?
-
-
@l-andorrà All `trades didnt share the same stop loss. No single trade moved beyond 100pips, infact, once a trade hits 100pips, it closes all other opened trades. Kindly look into it: https://fxdreema.com/shared/dmkn44m0b
-
Hey Econsulttt
I might be completely off here as I've only started learning fxdreema a few days ago
It sounds like to me that grouping the trades might be a big help here
So for your group of buys that are opened, try allocating them a "1" in their buy now block
I'd have then used the If trade block rather than the pass block, because then you can point specifically to the trades you want. Here you can say "if there is a trade associated with the following group that are only buys, then do the following action".
Then link that up to the trail stop (group of trades) block, and make sure up the top that the same group of trades is selected, that are buys only. You can then select the trail conditions, when the trail should start (i.e. if it is 10 pips away from the trades open price, start the trail) etc etc


-
@econsulttt Then I'm afraid you will need to create a loop to calculate that 'average' SL level. That is not an easy thing to do, or at leats I don't know how to do it, honestly. Probably with a loop, but I'm afraid that goes beyond my knowledge, sorry.