"Alarms" block

Modified on Fri, 18 Aug 2023 at 05:18 PM

The block displays active and triggered alarms that the user sets on the chart. When the price crosses a specified line, an alarm is triggered.



"Alarms" tab


The tab displays fulfilled notifications. 



"List" tab


Displays a list of alarms the user created, from which the user can manage alarms (stop, start, view, delete).



Contains a "trash can" indicator at the top right - pressing it deletes all DISPLAYED alarms in the list:



There are two checkboxes that control the list of alarms:



1. This symbol

  • When the checkbox is inactive, all created alarms on all symbols and exchanges are in the list; clicking the "trash can" indicator deletes all alarms, but not more than 50 at a time. 
  • When the checkbox is active, only alarms for the active trading symbol are in the list; clicking the "trash can" indicator deletes all alarms for the current active symbol, but not more than 50 at a time.

2. Active: When the checkbox is active, all deactivated alarms (highlighted with a red activation slider on the left side of the name) are hidden.


Adding the "Alarms" block

The block is enabled by default, but if it's not visually detected, the article "Header" explains how to hide/add blocks.

Alarm creation


There are several ways to create an alarm:


  • Basic:
  • Draw a trend line on the TV chart (Ray, Horizontal ray, Arrow, Line):


  • On the top panel of the "Chart" block, click the "bell" icon labeled "Alarm". The action creates an alarm for the selected instrument, and adds it to the alarms list. An alarm also appears by right-clicking on the selected instrument or any empty space to open the context menu and selecting "Create alarm" or by using the keyboard shortcut ALT+A:


  • Fast:
    • When hovering the cursor over the "Chart" block, on the right side along the vertical price column, a "plus" indicator appears. Hovering and clicking on it creates a "Horizontal Ray" tool with an alarm right at the current selected price:



Users have the option to quickly create alarms using either the "Horizontal Ray" or "Horizontal Line" tool. To effect this change, navigate to the "Settings" section, select "Interface" from the menu on the left, and then, within the "Strategies settings" submenu, switch the tool from "Ray" to "Line".:



Important! When creating a fast alarm using the "Horizontal Ray" tool, the starting point of its drawing is determined by the formula "coordinates of the last candle on the chart, minus 3 candles", on the selected Timeframe. When changing Timeframes downwards (for example from "1h" to "15m"), immediately after creating the alarm, the starting point of the "Horizontal Ray" tool may shift to the left. This is due to the peculiarities of the coordinate grid of the TradingView chart and is not an error.


Notification


After previous actions, the alarm is active and displayed in the list of alarms. At this moment, a notification pops up and a click on it opens the edit window


The edit window:


The edit window is also available by clicking the "bell" again in the toolbar or by right-clicking in the context menu.



In the edit menu, you can set:


  • "Name": The specified name appears in the list of alarms, in the pop-up modal window, and in the telegram bot's message when the price triggers alarm.
  • "Remove alarm in": a "lifetime" of the alarm. After the specified duration, if no activation occurs, the alarm automatically disappears. 
  • "Delete after activation" checkbox: If checked, the alarm automatically disappears from the alarms list after it is triggered. Otherwise, the alarm remains in the list but become inactive (the slider to the right of the name changes position, turning red instead of green):



  • "Copy Alarm Information" button: for copying alarm information (name, coordinates, id) to the clipboard.


The alarm is visualized on the TV chart by a "bell" that appears on the linked line and indicating its activity.


Also, the alarm appears on the list:


When the price crosses the alarming line, the user receives notification:
 
  • In the browser window with sound when the platform is open


Indication «Upper breakout»


Indication «Lower breakout»


  • In the telegram bot:
Indication «Upper breakout»


Indication «Lower breakout»


Editing. Work with active alarms

1. Users can move the line with an active alarm. The alarm reconfigures automatically according to the new line position (the alarm name remains the same).

2. Users can change the alarm name directly from the chart. For that user opens the toolbar window on the chart and click on the "bell", or through the context menu by right-clicking.

View on the active alarm on the chart

1. Click the "eye" icon on the "List" tab to display the alarm line on the chart.


2. When the symbol, which location you want to see, is open, the line becomes active on the chart. Also, if the alarm is active but the line is not displayed on the chart, clicking the "eye" icon redraws the line on the chart according to the initially set coordinates.

3. When another symbol is open, an auto switch to the viewed sy occurs with the line activation on the chart.

"Alarms" tab

  • Alarm notification can have a "new" status (green dot)


  • All notifications initially have a "new" status. Users remove "new" status when get a notification in the tab and click "Ok"

  • Users can also remove the "new" status by clicking on the notification itself in the list.

  • When the list of notifications becomes too long, users can clear it by clicking the "trash can" icon:


In addition:

1. Users delete the line with the linked alarm.


2. We strictly recommend saving the chart before turning it off, to display a created alarm correctly. 


3. After an alarm creation, the "Delete after activation" checkbox is enabled by default. If users turn off the checkbox, the next alarms work without this function.


4. There is a possibility to set an alarm on the indicator, but when the alarm is triggered, the notifications won't activate.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article