Script set 2 stop orders – two pending orders.
This version of the script is an assistant for placing pending orders in two directions at once.

Can be used for trading both according to a breakout strategy and on a trend rebound.
Allows you to immediately set all the necessary stop order parameters, the volume of planned transactions, the take profit and stop loss values, and the direction of the pending order.
In my opinion, the script is a little awkward to use, but perhaps someone will be able to use it more effectively.
Places buy-stop and sell-stop orders, so you can correctly assess the current forex trend.
Setting up.
After installation, you should restart the trader's terminal and open the pending order script settings window.
There are two tabs for configuration.
General:
The direction of the transaction - long and short, only short, only long, we choose depending on what pending orders we will place.
Allow signals – put a tick.
Automatic trading – allow the advisor to trade, tick the box, and manual confirmation – also tick the box.
Input parameters.
Lots – volume of future transactions in lots.
Stop-loss – the value of the stop-loss order depending on your strategy.
Take-Profit – the planned profit amount at which the order will be closed.
Distance set – distance to the current price in points.
Slippage – the amount of slippage at which an open order will still be triggered.
In addition, the pending order script also has a sound effect that beeps unpleasantly when used.

