'Pine Script - Alert function being called yet alert not sent

I have a strategy that's being calculated on every tick and it has 2 alerts below 2 separate if statements. Both of these statements come true (strategy functions normally within pine, and displays label.new -s at correct time and price), yet only the first alert is sent.

I have simplified the conditions and tried to reproduce the error to no avail, it produced 2 alarms as it should:

alert("1",alert.freq_once_per_bar_close)

if barstate.isconfirmed

alert("2",alert.freq_once_per_bar)

My question: is there something fundamental I'm missing? I have a PRO account and 10 of these strategies are running in parallel, producing 10 alert "1" -s every bar close, but sometimes alert "2" is triggered when there should be 10+ alerts sent out. I suspected barstate.isconfirmed and calculate_on_every tick doesn't like each other, but the simplified version works just fine.

Thanks for the help!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source