__Worked like a charm, amazing. Thank you!

Is there a way to make it edit the pending orders every X seconds though? I noticed tthat 'on tick' isn't quite stable, sometimes it edits them and sometimes it doesn't. It would be easier if I could just put 30 seconds or something and it would edit them automatically. I made one EA already with your tools and it had that feature but those were on positions already open, not on pending orders.

Thank you in advance[/quote:2sv0zpgj]

There is "on Timer" as well and this runs on every X seconds, no matter if there are ticks or not. The problem is that this can't be backtested and you don't really need that accurate seconds, i guess.
Under "on Tick" you can try some of the blocks in "Time Filters". They are not that accurate because ticks are not accurate, but I think that "Once per seconds" can do the job