INVITE-ONLY SCRIPT
Updated

TA Strategy Builder

258
TA Strategy Builder is a flexible, non‑repainting strategy framework for TradingView that lets you prototype and backtest rule‑based systems for both SPOT and FUTURES markets. Instead of hard‑coding one setup, it exposes a configurable “engine” made of main indicators plus confirmation filters, so you can mix and match ideas from a single script.

You choose one main indicator to generate BUY/SELL signals: MACD, RSI, ADX (DI+ / DI−), Stochastic, Breakout (Donchian‑style), ATR‑based Trend, or Pivot Points from a higher timeframe. Around that, you can toggle and tune filters like MA trend and slope, price behavior, distance to MA, higher‑timeframe trend, relative volume, time window, RSI dead zone and levels, ADX strength, MACD zone, and ATR trend regime.

The strategy supports SPOT mode (long‑only with optional fixed TP/SL) and FUTURES mode (long/short flipping on opposite signals), with an optional “alternate signals” feature to enforce strict BUY→SELL→BUY alternation. A compact on‑chart dashboard shows mode, trend, signal score (how many filters pass), position state, daily P&L, RSI, TP/SL summary, trades, and profit factor, making it easy to see how the current configuration behaves without touching the code.
Release Notes
TA Strategy Builder is a flexible, non‑repainting strategy framework for TradingView that lets you prototype and backtest rule‑based systems for both SPOT and FUTURES markets. Instead of hard‑coding one setup, it exposes a configurable “engine” made of main indicators plus confirmation filters, so you can mix and match ideas from a single script.

You choose one main indicator to generate BUY/SELL signals: MACD, RSI, ADX (DI+ / DI−), Stochastic, Breakout (Donchian‑style), ATR‑based Trend, or Pivot Points from a higher timeframe. Around that, you can toggle and tune filters like MA trend and slope, price behavior, distance to MA, higher‑timeframe trend, relative volume, time window, RSI dead zone and levels, ADX strength, MACD zone, and ATR trend regime.

The strategy supports SPOT mode (long‑only with optional fixed TP/SL) and FUTURES mode (long/short flipping on opposite signals), with an optional “alternate signals” feature to enforce strict BUY→SELL→BUY alternation. A compact on‑chart dashboard shows mode, trend, signal score (how many filters pass), position state, daily P&L, RSI, TP/SL summary, trades, and profit factor, making it easy to see how the current configuration behaves without touching the code.
Release Notes
### Added
- New `Session Breakout` leading indicator.
- Session range presets (`Sydney`, `Asia (Tokyo)`, `London`, `New York`, and more) plus custom session support.
- Optional breakout controls for Session Breakout:
- `Breakout Buffer (%)`
- `Use Close Confirmation`
- `One Trade per Session`
- New TP/SL engine types:
- `Percent`
- `Pips`
- `RR` (risk-reward multiple from SL)
- `ATR` (ATR-based TP/SL distances)

### Changed
- TP/SL behavior now supports both SPOT and FUTURES using the selected TP/SL type.
- Session Breakout now builds a session range first, then triggers entries only after a valid breakout outside that range.
Release Notes
Add Breakout visuals

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.