OPEN-SOURCE SCRIPT
Multi-Condition Alert Builder

⚡ 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.
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.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。