Alerts
Using Variables in Alerts
Create powerful, informative alerts by incorporating dynamic data directly in your alert messages.
Variable Placeholders
You can customize alert messages with real-time data using special placeholders. For example:
When triggered, this might display as: TSLA:NASDAQ Crossing Down 144.68
Message Formatting Options
Switch between two formatting modes:
- Plain Text Mode: Type variables manually
- JSON Mode: Click variables to insert them or use the ”+” icon to add new ones
Available Variables
Variable | Description |
---|---|
{{exchange}} | Trading venue (NASDAQ, NYSE, etc.) |
{{ticker}} | Symbol of the instrument (TSLA, AAPL) |
{{time_frame}} | Chart timeframe (1m, 1h, D) |
{{session}} | Trading session (regular, extended) |
{{condition_type}} | Alert trigger type (crossing, reaching) |
{{open}} | Opening price of the bar |
{{high}} | Highest price of the bar |
{{low}} | Lowest price of the bar |
{{close}} | Closing price of the bar |
{{volume}} | Trading volume |
{{time}} | Time of the price bar |
{{condition_source_0}} | First series value |
{{condition_source_1}} | Second series value (if applicable) |
{{condition_source_2}} | Third series value (if applicable) |
{{time_now}} | Current time when alert triggers |
Examples
Simple price alert:
Multi-condition alert: