Ensemble Alerts

Dec 6, 2024

Static chart image
Volume Based
Signals
Oscillators
Moving Averages
Volatility
Repainting Functionality

The Ensemble Alerts tool enables users to create highly customizable alert conditions and messages by aggregating multiple technical indicators into groups. It provides a flexible framework for building complex alert systems directly from the settings menu without requiring any coding, allowing traders to signal actions only when specific confluence criteria are met.

Usage

To use the indicator, define condition groups in the Markers section of the settings. Each group accepts a comma-separated list of condition numbers (1-35). An alert is triggered if all conditions within at least one group are met simultaneously.

Users can choose from four direction modes:

  • Up only: Evaluates only bullish conditions.
  • Down only: Evaluates only bearish conditions.
  • Up and down: Evaluates both directions independently.
  • Alternating: Requires an upward trigger to follow a downward trigger and vice versa, preventing consecutive signals in the same direction.

The indicator visualizes these conditions using color-coded circles in a separate pane and dynamic labels on the price chart. Bullish alerts are marked with "M▲" and bearish alerts with "M▼", followed by the group number.

Details

The script is based on ensemble analysis, which combines multiple weaker models to create a more robust decision-making tool. It utilizes 35 distinct technical conditions categorized into:

  • Directional Pairs (1-22): Indicators like RSI, Stochastic, and Moving Averages that have specific bullish/bearish thresholds.
  • Non-directional Filters (23-30): Volume and volatility conditions (e.g., Rising Volume, Low Relative Volatility) that act as prerequisites for both directions.
  • External Conditions (31-35): Sources from other indicators on the chart. Values > 0 are bullish, values < 0 are bearish, and non-zero values can be used as filters.

The script utilizes the PCalerts library for handling complex compound logic and the TVta library for advanced technical calculations like DEMA, TEMA, and SuperTrend.

Settings

Markers

  • Direction: Selects the global filter for signal directions (Up, Down, Both, or Alternating).
  • M1-M6: Text boxes for defining condition groups using comma-separated numbers (e.g., "1, 4, 8").
  • Highlight background: Toggles background coloring when an ensemble is triggered.
  • Show plots in pane: Toggles the visualization of individual condition occurrences.

Indicator Parameters

  • Moving Average: Configure the type (SMA, EMA, HMA, etc.) and length used for conditions 13 and 14.
  • SuperTrend: Settings for ATR length and factor used for conditions 11 and 12.
  • RSI/Stochastic/Awesome Oscillator: Thresholds and lengths for their respective conditions.
  • External Conditions: Source inputs to link the ensemble to other indicators on the chart.

FAQ

How do I set up a functional alert with this script?

To set up an alert, open the "Create Alert" dialog, select "Ensemble Alerts" as the condition, and choose the "Any alert() function call" option.

Can I use signals from my own custom indicators?

Yes, use the "External Conditions" section in the settings. You can link up to five external indicator plots using the "Source" inputs and assign them numbers 31-35 in your ensemble groups.

How do I access Ensemble Alerts?

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

Free access on the following platforms
tradingviewSymbolTradingView
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

ninjatraderNinjaTrader
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

metatrader4MetaTrader 4/5
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

thinkorswimThinkorswim
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.

Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.

Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.

Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.

Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.

This does not represent our full Disclaimer. Please read our full disclaimer.

© 2026 LuxAlgo Global, LLC.