Study Alerts

Study Alerts are signals generated when a study-based condition is met. You can use pre-defined or custom studies to trigger an alert.

To set up a Study Alert:

  1. Click the MarketWatch tab and choose Alerts from the sub-tab row.
  2. Choose the symbol to issue alerts for.
  3. Click the Study Alert button. The Study Alerts window opens and is divided into three sections:
    • Condition Setup: Define the study-based conditions that trigger the alert
    • Notify with: Choose how you want to receive the alert. 
    • Options: Control alert timing, expiration, and reverse crossover behavior. 
  4. After configuring the alert, click Create in the lower-right corner of the window.

For details about the Notify with and Options sections, refer to the Alerts article.

Condition Setup

Use the Condition Setup section to define the study-based conditions that trigger the alert. If you prefer to use a pre-defined (or previously created) study, choose one from the Study list. This interface allows you to specify the study plot to analyze the values for, input parameters, and aggregation period. For numerical plots, you can choose a triggering direction relative to the threshold value. For boolean plots, you can specify whether to issue the alert when the value is true or false. Note that Look and Feel inputs (e.g. colors, painting strategies, etc.) are NOT available in "Study Alerts"; constant plots are not included in the Plots list.

Example

Considering the following script:

close > expaverage(close, 60) and ADX(length = 14) > 18

This condition is used in the Volume Zone Oscillator study; it checks whether the price is above the 60 period EMA and 14 period ADX value is higher than 18, which could possibly mean that the market is in strong uptrend.

If you would like to be notified when this condition is met, choose TRUE from the Trigger If list. If you prefer to trigger the alert when the condition is not satisfied, choose FALSE.

Specific Usage

In Study Alerts, you can use either a regular study or an expression. Here is a list of thinkScript® usage specifics in Study Alerts:

  • You can use bid and ask functions.
  • Studies must have exactly one plot.