Hi @l-andorrà thanks for answer. yes. on a sell trade.
it should be: Put the SL above (e.g. +2 pips) the last candle (ID1) but only if the current exisiting SL is above the new one
It is hard to explain, so I have made a picture, I hope this helps:

Hi @l-andorrà thanks for answer. yes. on a sell trade.
it should be: Put the SL above (e.g. +2 pips) the last candle (ID1) but only if the current exisiting SL is above the new one
It is hard to explain, so I have made a picture, I hope this helps:

Hi, I want to create a new SL only when the new is lower then the existing.
I tried the Trailing Stop Block, with Market Properities -> Highest Value of the Last 3 Candles, but he always puts the SL at the Current Price (+2 Pips from the adjustment).
BTW: Even if this would work it would not be the right solution. I want a new SL only when the new is lower (on a sell trade) then the existing. But I have no Idea how to do this.
Can you help me please?

Thanks in advance!
Siggi
Not sure if I understand if this is what you want but:
You might have to check conditions under Candle ID 1?
I am not sure if I understand what your problem is.
Is it about the numbers in the Comment Message?
@l-andorrà
would you be so kind and show me how to do it with loops? I never worked with loops before and I might need that in future... Thank you very much 
Hi, I did an EA who checks if one of the Candles with ID 1-5 had a Price higher then an MA.
I did use 1 Condition Block for each Candle, which leads leads to 5 consecutive Conditions, it is working but it looks bad.
So I want to ask: Is there another design to check if one of the Candle 1-5 has crossed the MA?
https://fxdreema.com/shared/JhtXIHbjc
Thanks in Advance!
@l-andorrà Hi, I have just tested it, but nothing happens. It looks like something is missing?
Is "Script" correct here? Or do I need something else in the code?
@l-andorrà looks nice! Thank you very much!!!
@l-andorrà nope, just one vertical line on the first candle of monday, but adding lines at specific time on a specific date would also be nice.
Hi, is it possible to write a script that creates a vertical line at every Monday from date x to date y?
I have used the weekday filter and draw line, but nothing happend, so i added once a day, but still nothing in the chart.
Does anyone have a Idea?
https://fxdreema.com/shared/gBR1iV7jd
Thanks in advance
Siggi