By default TradingView Addon will execute the first alert it gets, unless you have some protection that doesn't allow Gunbot execute it, so first come first serve. In the case first alert is not executed for any reason, under normal conditions, it will just pass and execute the second one and so on. If you want to keep trying to execute the first one, you would need to activate "retry_order" parameter.