Based on the request.
viewtopic.php?f=27&t=65478&p=116619#p116619
Stop level (in pips) is defined via parameters.
Limit level (in pips) is defined via parameters.
Execute via addCommand functionality, Execute Now.
Or at set time.
Helper will add two entry orders, x pips above below the current price.
Orders above price will be long
Orders below bellow will be short
Additionally,
the user can define the termination period for entry orders in seconds.
If any entry order is still present after this time, it will be deleted.
the user can define the termination period for executed entry orders (positions) in seconds.
If any positions are still present after this time, it will be closed.
Additionally, if the position is executed, the user can define a stop level shift step.
If the position has x pips in profit, the stop/limit level will be shifted for x pips.
Reset Profit counter.
If the position has reached x pips in profit from that level,
the stop/limit level will be shifted for x pips.
Reset Profit counter
And so on.