All indicators

Custom Screener with Alerts

Jul 15, 2020

Static chart image
SignalsOscillatorsDashboard

The Custom Screener with Alerts indicator provides a flexible framework for monitoring technical conditions across 40 different symbols simultaneously and receiving real-time notifications when those conditions are met. It aims to simplify multi-asset monitoring by consolidating status updates into a single visual label and automated alert messages.

Usage

The tool tracks a specific condition—by default, an RSI overbought state—across a list of 40 user-defined symbols. When the condition is met for any symbol, the ticker and its current value are displayed in a dynamic label on the chart.

To use this script for automated notifications:

  1. Apply the script to your chart.
  2. Create a new alert and select this strategy/indicator.
  3. Use the {{strategy.order.alert_message}} placeholder (if using the strategy entries) or the standard alert function to receive the full list of triggered symbols directly in your notification.
  4. The output is formatted to be compatible with webhook services like Alertatron for redirection to platforms like Telegram.

Details

The script utilizes the request.security() function to fetch data for 40 different symbols, which is the current limit for security calls in Pine Script. It is built using a modular screenerFunc(), which defines the logic for both the value to be displayed and the boolean condition that triggers a filter.

To customize the screening logic, users can modify the screenerFunc within the script's code to calculate different indicators (e.g., Moving Average crosses, MACD signals, or Bollinger Band breaches). The visual label and alert messages are dynamically constructed by concatenating strings for every symbol where the condition evaluates to true.

Settings

  • RSI Length: Determines the lookback period for the RSI calculation used in the default screening logic.
  • RSI Overbought Level: Sets the threshold above which a symbol is considered "triggered" and added to the screener list.
  • Symbol 1 - 40: Individual inputs to specify the tickers you wish to monitor.

FAQ

How do I add more than 40 symbols?

Due to TradingView's architectural limits on the number of request.security calls, a single script can only monitor 40 symbols. To monitor more, you can apply multiple instances of the script to your chart with different symbol sets.

How do I change the screening criteria?

You can change the screening criteria by modifying the screenerFunc() in the Pine Script editor. Simply change the val and cond variables to reflect your desired technical logic.

How can I access the Custom Screener with Alerts?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.