When setting up alerts through charts, leave the alert name blank. If you set up an alert name also, trades may not go properly. Refer screenshot.
Please refer to the Note in this link to see the details on the update and Alert format, https://mycoder.pro/apibridge/how-to-set-powerful-algo-alerts-in-tradingview/.