TradingView Alerts not triggering? test and report them like this (Patreon)
Content
I've recently noticed that TradingView alerts are not as reliable as before.
At first it's not easy to tell if there's a technical capacity issue on TV's side, a misconfiguration issue or an actual problem with your indicator.
How can we confirm alerts are actually working without getting biased by a broken indicator?
You can easily do a health check on your side in 2 minutes to confirm the alert setup is actually working by just following these easy steps:
1) go to tradingView chart website on a Desktop computer (no mobile app, no mobile website).
2) remove all indicators or start from a clean chart
3) load any symbol, I'm loading BTC because why not! Select the 1 minute chart. If you select a higher timeframe the alert will make you wait for longer to trigger!!! but it's up to you!
4) Select the bottom tab "Pine editor" and then "Open" and "new blank indicator"
5) Empty the editor ( select all the code in the editor and delete it).
6) Copy-Paste the following "dummy" indicator code in the editor area.
//@version=3
study("Simple alert script")
your_condition = close > 50
alertcondition(your_condition, 'Simple alert', 'Now close is bigger than 50')
plot(your_condition ? 1 : 0)
Your window should like like this:
7) Select "Save" and give it a name like for example "Simple alert script".
8) Select add to Chart. You should be able to see now the indicator underneath the price chart.
7) Let's create the alert now. Select the "create alert" icon (it looks like an old alarm clock).
8) Configure the new alert as follow: condition = the indicator name you picked before, in our case "Simple alert script". Options: "once per bar close". Check the same boxes as the image below shows:
9) Save your alert. Your new alert should appear in the list of your existing alerts in the right hand side left menu.
If you configured all correctly and alerts are working then you should see the indicator appearing in the chart and receive one alert per minute, including the email and the alert log showing each event.
If not you can report the issue with TradingView support. Remember to select "alert" as the issue type.
https://www.tradingview.com/support/tickets/
Bonus: How can I check if TradingView alerts are actually operational? you can easily check the report for alerts in the status page:
https://status.tradingview.com/