I would do it more like this, so it resets back to the original value when there is 0 trades, is a simple continual way but would need more conditions added: https://fxdreema.com/shared/FxWncGSqc
@adeildo You have these values in a variable so condition block market properties =< open variable, in the sell block put the stop loss variable in as a custom price level
@adeildo I said what to above, make a test project, if you struggle to get working put a shared project here with a description of problem you are having.
I'm not sure whether you are talking about pending orders or running orders, but the max/min can be get from here: 0_1556380162165_91ff8015-cba4-4502-9d1e-28e691b9834c-image.png