i want to say:
if my open order is negative -€ since 2 bars or more than -100€ the system must sell this order and buy in other direction
You do seem to like to move the goal posts a lot. Also we are a long way from the original topic. Calculating in Euro just adds unnecessary complication – you can work out using your own calculation how many pips = 100 euro.
a = summation[2](close < positionprice) >= 2
b = close < positionprice - (your calculated number of pips that equals 100 euro)
if a or b then
sellshort 1 contract at market
endif