Still having problems to understand how to set this up. Sorry.
For simplicity, how can I set up a single BE and Trail stop that applies to one or multiple trades in the same group?
One that sets a SL of 20 pips, for all open trades (either 1 or multiple)
That moves all the stops to BE +1, when all open trades in the group are in profit of +20
When reaching 50 pips of profit from all trades in the group, trail stop, that only allows 30% drawdown from the maximum profit.
Of course, when a new trade kicks in, everything gets calculated again.
Thanks FxDreema
__I think you are missing something important here - each of these blocks will run on every tick. You probably think that block 21 must finish it's work before going to block 22, but this is not the case. Blocks 21, 22 and 23 always pass, even if there is no trade at all.
Trailing Stop is the distance of the SL relative to the current price.
Trailing Step is how often to move SL. This value is normally much lower than Trailing Stop.
Trailing Start is the profit that the trade must make before doing something with it's SL. This is distance relative to the Open Price of the trade. If the price is above this level, then SL can move, otherwise not.
Again, no block waits for other block to do it's job. Especially these blocks, they pass every time even if they did nothing at all. Inside each of them there is a loop that iterates through all trades and moves (or not) their SL. There blocks does not communicate. Each of them is doing it's job and does not care what is connected after[/quote:1fc7whih]
