Kucoin reverse close

hi
i set 2 alerts in tradingview, a buy and a sell. i want that my position closes in reverse alert and opens a new position. what shall i do?

Hello Pedram,
You can make use of our Multi Commands option. This simply means setting two commands under 1 alert. The first command is to close any open position, followed by the command to buy/sell on the second line.

See an example here of ETHUSDT on KuCoin Futures:
Close ETHUSDTM A=FUTURES
BUY ETHUSDTM Q=1 A=FUTURES