Updated
Multi-Indicator Strategy Builder [everget]

Hello friends,
Multi-Indicator Strategy Builder is a flexible no-code tool for creating and backtesting indicator-based trading strategies directly on TradingView.
Instead of requiring a separate signal script, the strategy includes a library of 19 built-in indicator groups that can be combined into custom Long Entry, Long Exit, Short Entry, and Short Exit rules. You can then test those rules with configurable Take Profit, Stop Loss, and Trailing Stop management using TradingView's Strategy Tester.
If you already have your own signal script, the external signal connection is still available and can work alongside the built-in conditions.
The result is a compact strategy-building environment where signal generation, entries and exits, risk management, backtesting, position tracking, and order-fill alerts all work together in one script.
🛠️ How It Works
The core of the strategy is a condition builder. Each condition is created as a simple comparison:
[Source A] [operator] [Source B]
You can choose from 54 sources and 16 comparison operators, including greater/less than, equality, crossovers, crossunders, crosses in either direction, and previous-bar variants.
Conditions are organized into four independent groups:
Each group contains up to 6 condition rows. All active rows inside the same group are combined with AND, so every selected condition must be true on the same bar for that group to trigger. This makes it possible to use one row as the main trigger and the remaining rows as additional filters.
The built-in library includes Bollinger Bands, Chandelier Exit, CCI, DMI/ADX, MACD, MFI, three independent Moving Average groups, Moving Average Cross, OBV, Parabolic SAR, RSI, Stochastic, Stochastic RSI, SuperTrend, Volume, VWAP, and Williams %R. Each indicator group has its own configurable parameters.
📊 Strategy & Backtesting
When an Entry group triggers, the strategy submits the corresponding Long or Short order. Positions can be closed by their dedicated Exit Conditions, by Take Profit or protective stops, or optionally by an opposite entry signal.
The built-in Backtest Window lets you restrict strategy activity to a selected period, making it easier to evaluate the same setup across specific market regimes or historical ranges.
Because this is a TradingView strategy, its simulated trades, performance statistics, drawdowns, trade list, and other results are available through the Strategy Tester.
🛡️ Risk Management
Take Profit, Stop Loss, and Trailing Stop can be enabled independently and configured using multiple measurement units, including ATR and standard deviation based distances.
When both a fixed Stop Loss and Trailing Stop are enabled, the tighter protective level becomes the active stop. The trailing stop then moves only in the favorable direction as the position develops.
🔌 External Signals
An optional external signal can also provide Long Entry, Long Exit, Short Entry, and Short Exit actions. Each code feeds the same trade intent as its matching condition group, so an external enter-long joins the result of the Long Entry group. Either producer can act on its own and neither overrides the other.
This means you can use the built-in condition builder on its own, connect another indicator, or combine both approaches within the same strategy and risk-management framework.
The signal is read as a bitmask, so a single number carries up to four independent actions:
Because the codes are powers of two they add together without ambiguity: 6 (2 + 4) exits a long and enters a short on the same bar, and 9 (1 + 8) does the reverse. Contradictory combinations are ignored, as are non-integer values and anything outside 0-15.
This is what -1/0/1 could never express - a standalone exit. A signal script that wants to close a long without opening a short simply emits 2.
Legacy -1/0/1 signal scripts remain supported, with 1 entering long and -1 entering short. Note that -1 is a bare short entry rather than a reversal, so a legacy script that relied on 1 and -1 flipping an open position needs Exit on Opposite Signal enabled. Standalone exits cannot be transmitted in this format at all, which is the main reason to move to the action codes above.
🔔 Order-Fill Alerts
The strategy includes dedicated order-fill messages for Long and Short entries, signal-based exits, Take Profit, Stop Loss, Trailing Stop, and exits caused by leaving the selected backtest window.
These messages can be used with a TradingView strategy alert configured for order fills, providing the symbol, executed price, quantity, and resulting position information.
⚙️ How to Use
The strategy is modular, so you can build anything from a simple single-indicator crossover to a multi-condition setup:
The state table provides a compact overview of the current Position, Entry, Take Profit, Stop Loss, Trailing Stop, and Open P&L, while also reporting basic setup warnings when configuration is incomplete.
🔥 Key Features
I hope this tool helps you build, test, and refine your own indicator-based strategies without having to code a complete strategy from scratch. If you have any feedback, ideas, or suggestions for future improvements, I'd be happy to hear them.
👋 Good luck and happy trading!
Multi-Indicator Strategy Builder is a flexible no-code tool for creating and backtesting indicator-based trading strategies directly on TradingView.
Instead of requiring a separate signal script, the strategy includes a library of 19 built-in indicator groups that can be combined into custom Long Entry, Long Exit, Short Entry, and Short Exit rules. You can then test those rules with configurable Take Profit, Stop Loss, and Trailing Stop management using TradingView's Strategy Tester.
If you already have your own signal script, the external signal connection is still available and can work alongside the built-in conditions.
The result is a compact strategy-building environment where signal generation, entries and exits, risk management, backtesting, position tracking, and order-fill alerts all work together in one script.
🛠️ How It Works
The core of the strategy is a condition builder. Each condition is created as a simple comparison:
[Source A] [operator] [Source B]
You can choose from 54 sources and 16 comparison operators, including greater/less than, equality, crossovers, crossunders, crosses in either direction, and previous-bar variants.
Conditions are organized into four independent groups:
- Long Entry - defines when a long position can open
- Long Exit - defines when an open long can close
- Short Entry - defines when a short position can open
- Short Exit - defines when an open short can close
Each group contains up to 6 condition rows. All active rows inside the same group are combined with AND, so every selected condition must be true on the same bar for that group to trigger. This makes it possible to use one row as the main trigger and the remaining rows as additional filters.
The built-in library includes Bollinger Bands, Chandelier Exit, CCI, DMI/ADX, MACD, MFI, three independent Moving Average groups, Moving Average Cross, OBV, Parabolic SAR, RSI, Stochastic, Stochastic RSI, SuperTrend, Volume, VWAP, and Williams %R. Each indicator group has its own configurable parameters.
When an Entry group triggers, the strategy submits the corresponding Long or Short order. Positions can be closed by their dedicated Exit Conditions, by Take Profit or protective stops, or optionally by an opposite entry signal.
The built-in Backtest Window lets you restrict strategy activity to a selected period, making it easier to evaluate the same setup across specific market regimes or historical ranges.
Because this is a TradingView strategy, its simulated trades, performance statistics, drawdowns, trade list, and other results are available through the Strategy Tester.
🛡️ Risk Management
Take Profit, Stop Loss, and Trailing Stop can be enabled independently and configured using multiple measurement units, including ATR and standard deviation based distances.
When both a fixed Stop Loss and Trailing Stop are enabled, the tighter protective level becomes the active stop. The trailing stop then moves only in the favorable direction as the position develops.
An optional external signal can also provide Long Entry, Long Exit, Short Entry, and Short Exit actions. Each code feeds the same trade intent as its matching condition group, so an external enter-long joins the result of the Long Entry group. Either producer can act on its own and neither overrides the other.
This means you can use the built-in condition builder on its own, connect another indicator, or combine both approaches within the same strategy and risk-management framework.
The signal is read as a bitmask, so a single number carries up to four independent actions:
- 0 - hold
- 1 - enter long
- 2 - exit long
- 4 - enter short
- 8 - exit short
Because the codes are powers of two they add together without ambiguity: 6 (2 + 4) exits a long and enters a short on the same bar, and 9 (1 + 8) does the reverse. Contradictory combinations are ignored, as are non-integer values and anything outside 0-15.
This is what -1/0/1 could never express - a standalone exit. A signal script that wants to close a long without opening a short simply emits 2.
The strategy includes dedicated order-fill messages for Long and Short entries, signal-based exits, Take Profit, Stop Loss, Trailing Stop, and exits caused by leaving the selected backtest window.
These messages can be used with a TradingView strategy alert configured for order fills, providing the symbol, executed price, quantity, and resulting position information.
The strategy is modular, so you can build anything from a simple single-indicator crossover to a multi-condition setup:
- Select Long, Short, or Long & Short as the Trade Direction.
- Enable one or more rows in the required Entry and Exit groups.
- Select Source A, a comparison operator, and Source B for each active row.
- Configure the corresponding built-in indicator settings when needed.
- Add additional rows when several conditions should agree before an entry or exit is accepted.
- Configure Take Profit, Stop Loss, and/or Trailing Stop for risk management.
- Set a Backtest Window when you want to evaluate only a specific historical period.
- Use the external signal connection when you want to incorporate signals from another script.
- Review the results in TradingView's Strategy Tester and refine the setup as needed.
The state table provides a compact overview of the current Position, Entry, Take Profit, Stop Loss, Trailing Stop, and Open P&L, while also reporting basic setup warnings when configuration is incomplete.
🔥 Key Features
- No-code strategy builder for Long Entry, Long Exit, Short Entry, and Short Exit
- 4 condition groups with up to 6 active rows each
- 54 selectable sources and 16 comparison operators
- 19 built-in indicator groups with customizable parameters
- Conditions within each group combined with AND for multi-filter strategies
- Backtesting through TradingView's Strategy Tester
- Configurable Backtest Window
- Optional external signal integration that can work alongside built-in conditions
- Long, Short, or Long & Short trade direction
- Explicit exit conditions with optional Exit on Opposite Signal behavior
- Configurable Take Profit, Stop Loss, and Trailing Stop management
- Position-aware TP, SL, and TSL chart levels
- State table with position, entry, brackets, Open P&L, and setup warnings
- Bar and background coloring based on the current position
- Order-fill alert messages for entries, exits, and bracket events
I hope this tool helps you build, test, and refine your own indicator-based strategies without having to code a complete strategy from scratch. If you have any feedback, ideas, or suggestions for future improvements, I'd be happy to hear them.
👋 Good luck and happy trading!
Release Notes
- Update
Release Notes
- Updated the settings window
- Added new type for brackets: ATR
- Added new type for brackets: Points
- Added new type for brackets: Pips
- Added label with current trade state
Release Notes
- Updated the settings window
- Added a special option to exit at TP/SL/TSL only
- Minor optimizations
Release Notes
- Bug fix
Release Notes
- Upgraded to Pine Script V6
- Renamed to "Multi-Indicator Strategy Builder" to reflect the built-in indicator library
- Added 19 built-in indicator groups usable as condition operands: Bollinger Bands, Chandelier Exit, CCI, DMI, MACD, MFI, Moving Average Cross, OBV, Parabolic SAR, three Price vs Moving Average groups, RSI, Stochastic, Stochastic RSI, SuperTrend, Volume, VWAP and Williams %R
- Added a no-code condition builder, so an external signal script is no longer required
- Added four condition groups with six rows each: Long Entry, Long Exit, Short Entry and Short Exit
- Each row compares [Source A] [operator] [Source B], with 54 source options and 16 operators, including [1] variants that shift only Source B
- Rows within each group are combined with AND, allowing one trigger plus multiple filters
- Added explicit Long and Short Exit Conditions, so positions can close by rule instead of only by brackets or opposite signals
- Reworked the external signal into a bitmask action code: 1 enter long, 2 exit long, 4 enter short, 8 exit short, with 6 and 9 for reversals
- Retained support for legacy -1/0/1 codes, with 1 interpreted as Enter Long and -1 as Enter Short
- Added external-signal validation: contradictory codes, non-integer values and unsupported values are ignored
- Added order-fill alert messages for entries, signal exits, Take Profit, Stop Loss, Trailing Stop and backtest-window exits
- Rebuilt Take Profit, Stop Loss and Trailing Stop as compact enable/value/unit rows, and added Stdev as a bracket unit
- Replaced "Exit only at TP | SL | TSL" with "Exit on Opposite Signal", allowing an opposite entry signal to close the current position
- Replaced the state label with a configurable table showing position, entry, brackets, color-coded Profit/Loss and setup warnings
- Renamed "Flags" to "Visuals", added a Show Table option, and renamed "Strategy Direction" to "Trade Direction"
- Improved the settings UI with alphabetically sorted indicator groups, inactive-row controls greyed out, and rewritten tooltips
Release Notes
- Minor bug fixes
- Updated the script preview image
Available in Paid Space
This indicator is only available to Trading Toolkit subscribers. Join to access this and other scripts by everget.
👨🏻💻 Coding services -> Telegram: @alex_everget
🆓 List of my FREE indicators: bit.ly/2S7EPuN
Claim your $20 bonus just for joining Bybit!
bybit.com/invite?ref=56ZLQ0Z
🆓 List of my FREE indicators: bit.ly/2S7EPuN
Claim your $20 bonus just for joining Bybit!
bybit.com/invite?ref=56ZLQ0Z
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Available in Paid Space
This indicator is only available to Trading Toolkit subscribers. Join to access this and other scripts by everget.
👨🏻💻 Coding services -> Telegram: @alex_everget
🆓 List of my FREE indicators: bit.ly/2S7EPuN
Claim your $20 bonus just for joining Bybit!
bybit.com/invite?ref=56ZLQ0Z
🆓 List of my FREE indicators: bit.ly/2S7EPuN
Claim your $20 bonus just for joining Bybit!
bybit.com/invite?ref=56ZLQ0Z
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.