All indicators

4All-Alert Script for an easier setup

Nov 20, 2015

Static chart image
SignalsOscillators

The 4All-Alert indicator provides a simplified tool for generating automated long and short signals based on RSI-driven momentum crossovers.

Usage

The Usage section describes how the script can be used to identify potential market reversals. Traders can use the generated signals to trigger manual trades or automate them through external extensions.

Example usage includes:

  • Identifying oversold conditions when the internal RSI value crosses under the specified long threshold.
  • Identifying overbought conditions when the internal RSI value crosses over the specified short threshold.
  • Using the plots (1 for signal, 0 for no signal) to visually confirm entry points on the chart.

Details

The script functions by calculating a Relative Strength Index (RSI) over a user-defined length. It then establishes two threshold levels based on the "rsin" input: a long level (equal to rsin) and a short level (100 minus rsin).

  • A Long signal is triggered when the RSI crosses under the lower threshold.
  • A Short signal is triggered when the RSI crosses over the upper threshold.

The script includes built-in alert() functions set to trigger once per bar close and alertcondition() calls for legacy alert compatibility.

Settings

  • Length: Determines the lookback period for the RSI calculation.
  • rsin: Sets the sensitivity for the signal levels. A higher value narrows the bands (making signals rarer), while a lower value widens them.

FAQ

How do I use the 4All-Alert?

You can apply the script to any chart and monitor the plots for signals. To automate, you can set up alerts using the "Long Alert" or "Short Alert" conditions.

What do the Long and Short plots represent?

The plots indicate the presence of a signal. A value of 1 indicates a trigger for that specific bar, while 0 indicates no signal.

How can I access this script?

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.