Help / Alerts
Creating alerts
Alerts are watched on our servers around the clock, so they fire whether or not OpenTapefolio is open.
The quickest ways#
- Alt+A: an alert at the crosshair’s price.
- Right-click the chart: Add alert at that price, or at the nearest support or resistance.
- The + beside the price scale.
- Select a line you drew and choose Add an alert on this line.
- In plain English: at the top of the Alerts tab, type “tell me when BTC breaks 90k” and press Read it. Check what it understood, then save. A sentence can also say how often (“every bar close”), until when, where to send it (“by email”, “to my webhook”) and an extra condition (“while RSI is under 30”); if a symbol could mean several, it offers the others. The card says when the alert ends and which channels it sends by.
Making an alert step by step#
- Press Alert in the top bar.
- Condition. Pick a quick setup (golden cross, RSI oversold, up 5% in a day…) or build one: what to watch (price, an indicator, or one of your scripts’ alert conditions), how (crossing, crossing up, greater than, moving up %, entering a channel…) and against what (a value, another indicator, or a line you drew). + Add condition (and…) adds more that must all be true.
- Timeframe: the bars the condition is checked on. On a seconds timeframe (
30s,15s…) only a price against a level can be watched: indicators, bar closes and lines drawn by bar need a minute or more. - Trigger: how often it may fire.
- Expiration: open-ended, or until a date.
- Name (optional): how it’s listed, and
{{alert_name}}in its message. - Message: what you’ll be told. Placeholders fill in when it fires (below).
- Type a level either way:
1,0850and1.0850both read as one point something, and84,500as eighty-four thousand. The dialog shows what it read, and warns when it’s more than half the price away. - Where it goes: push to your devices and a chime (both on unless you untick them), a webhook, email, Telegram (see Notifications). Under the condition, the dialog says how often it would have fired on the chart’s bars. Then save.
Triggers
| Trigger | Fires |
|---|---|
| Only once | The first time, then stops. On a watchlist alert, once for each symbol: the alert stops when every symbol has fired |
| Once per bar | At most once in each bar, as soon as the condition is true |
| Once per bar close | Only when a bar closes with the condition true: no false starts mid-bar |
| Once per minute | At most once a minute while it stays true |
Message placeholders
{{symbol}} {{ticker}} {{exchange}} {{interval}} {{price}} {{condition}}
{{time}} (UTC) {{time_local}} (your time zone) {{alert_name}} {{alert_id}} {{fire_count}}
{{open}} {{high}} {{low}} {{close}} {{volume}} a script's {{plot_0}} {{plot("RSI")}} {{message}}
{{left}} or {{value}} (the left side: an RSI's value) {{right}} {{upper}} (a channel's other edge)
an indicator's value by its plot or id: {{plot("rsi")}} {{plot("value")}}
Numbers for a bot: {{price|raw}} (no thousands separators), {{close|2}} (two decimals)
e.g. "{{symbol}} crossed {{price}} on the {{interval}} chart"One alert for a whole watchlist#
In the dialog, Set it on › Every symbol in a watchlist makes one alert that follows the list: symbols you add are watched, ones you remove dropped. Each symbol is checked on its own, and the log says which one fired. It counts as one alert, and covers the list’s first 50 shared symbols (not ones from your own data keys). Each symbol’s push keeps its own place in your notifications.
Moving up or down
Moving up fires when the price is that far above the lowest close of the last N bars (Moving down: below the highest), so a dip and a bounce inside the window counts, not just the move from the close N bars ago. The move is in % or in its units (BTC up $1,000 within 5 bars), and can be an indicator’s instead of the price’s: RSI up 15 points in 3 bars, volume up 300%.
When a channel stops working
If an alert’s webhook or email is refused for good (a deleted webhook, an address that bounces), the alert tells you once a day, in the app and by push. Check the address, and send a test from the alert’s settings.
Two things the dialog warns about
- A cumulative indicator (OBV, A/D, PVT, ASI, or CVD without a reset) adds up from where its history starts, so the alert server’s level can differ from the chart’s. Compare it with its signal line or another indicator rather than a fixed number.
- An alert on a stock reads prices as the chart shows them: as traded, split-adjusted, or adjusted for dividends too, as the chart was set when you made it.
Managing alerts#
- The Alerts tab lists them with their status: Active, Paused, Triggered or Expired. Search, filter by status, sort, or group them by symbol; pause, restart, edit, copy or delete one, or pause, restart or delete all those shown.
- Drag an alert’s line on the chart to move its price. An alert on a line you drew moves with the line, and is paused if you delete it. Editing a paused alert keeps it paused.
- Deleted one by mistake? Press Undo on the message that appears: it comes back as it was, paused or not, with its channels, its history and its fire count (for active and paused alerts).
- Log shows what fired, with where each went and whether it got there; click an alert’s count for its own history; Show older goes back further. The log keeps 180 days. Export CSV downloads it. The Log tab counts fires you haven’t seen.
- An alert that can’t fire says why in the list, and tells you once: its bars can’t be read, its line has ended, an indicator needs more history than kept, its data stream has gone quiet while the market is open, or it expired. One that fires more than 15 times in 3 minutes pauses itself; restart it when you want.
TradingView and Pine Script are trademarks of TradingView, Inc. OpenTapefolio is not affiliated with or endorsed by TradingView.