OPEN-SOURCE SCRIPT

Multi-Condition Alert Builder

137
⚡ Multi-Condition Alert Builder — Modular Alert Framework

The Multi-Condition Alert Builder is a powerful, code-free alert engine for TradingView. It allows traders to build complex multi-condition Buy/Sell alerts using simple dropdown menus — no Pine Script experience required.
Combine up to five separate conditions per side and trigger alerts based on your own custom logic.

🧠 How It Works

Each “Buy” and “Sell” side includes up to five configurable slots, where you can define:

Two data sources (indicators, price, or custom inputs)

A comparison or crossover condition

A static value (optional)

Once your slots are defined, the script combines these individual conditions according to your chosen mode:

Any – triggers when any enabled condition is true

All – same bar – triggers only when all enabled conditions occur on the same bar

All – within bars – allows conditions to complete within a user-defined lookback window

This gives traders fine-grained control to design powerful, adaptive alert logic directly in the chart — no coding required.

⚙️ Key Features

🧩 Up to 5 Buy and 5 Sell Slots – Fully customizable condition slots

🧠 Combine Logic Modes – Any / All / Within Bars flexibility

🔔 Custom Alerts – Generates separate Buy, Sell, or combined alert events

⏱️ Close-Bar Confirmation Option – Avoids premature signals on open candles

💡 Visual Signals – Plots arrows on chart for clear alert visualization

🔄 Indicator-Agnostic – Works with any sources or indicators available in your chart

🧮 Combine Logic Modes Explained
Mode Description
Any Triggers an alert if any active condition is met
All – same bar Requires all active slots to confirm on the same candle
All – within bars Conditions may complete within a set lookback window
🧭 Example Use Cases

Combine RSI, MACD, and MA crossovers for precision entries

Create alert triggers for momentum confluence setups

Build “stacked signal” logic (e.g., RSI < 30 and MACD crossover within 3 bars)

Quickly prototype and test multi-factor alert conditions

🧠 Usage Tip

Once your conditions are set, simply add TradingView alerts tied to:

“BUY↟” for long signals

“SELL↡” for short signals

“ANY ALERT” to trigger on either event

The Alert Builder becomes especially powerful when combined with your favorite custom indicators — enabling smart, automated alerts without extra coding.

⚡ In Short

Build. Combine. Alert.
The Multi-Condition Alert Builder gives you total flexibility to design complex alert logic — visually, intuitively, and efficiently — right on your chart.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.