Scripts / Pullback Funnel
Pullback Funnel
Members (planned) IndicatorGrades the chart symbol on six written checks: move, range width, short-term shape, estimated spread, higher-timeframe trend, and reward-to-risk. When all six are true, it draws a limit-entry zone, a working stop, and a first target, and it can fire alerts. Every threshold is an input. TradingView does not provide a live order book, so the spread check uses a percent you type in (or you can mark it assumed or failed).
A paid members option is planned and is not live. No payment is collected on this preview. The source is linked only so it can be compiled in TradingView before anything is offered to anyone. Turning this into a real members release needs a yes, including any paid hosting or payments tool.
What it does
Grades the chart symbol on six written checks: move, range width, short-term shape, estimated spread, higher-timeframe trend, and reward-to-risk. When all six are true, it draws a limit-entry zone, a working stop, and a first target, and it can fire alerts. Every threshold is an input. TradingView does not provide a live order book, so the spread check uses a percent you type in (or you can mark it assumed or failed).
Best shown on a 15-minute chart. It grades only the symbol you have open.
Settings
| The six checks | Minimum 24-hour move, minimum 24-hour range, shape window, reward-to-risk floor, 4-hour and daily EMA lengths, ATR length, and swing lookback. |
|---|---|
| Swing pivot: bars on each side | Default 2. Values from 1 to 5 are used as written (this was fixed in the November 25, 2026 review). |
| Spread / venue | Use the spread percent you type, assume pass, or treat as failed. Pine cannot see a live bid-ask. |
| Working stop | A percent stop, with an optional wider stop on symbols that meet the volatility rules. |
| Optional range-exit | Off by default. Can flag consecutive 1-hour closes outside a support-to-target-1 range. |
| Wait for the 15-minute bar to close | On by default so a 6/6 mark and its alerts wait for a confirmed candle. |
How to add it in TradingView
- Open TradingView on a 15-minute chart of a liquid symbol.
- Open the Pine Editor at the bottom of the window.
- Copy the source file pullback_funnel.pine, paste it into the editor (replace whatever is there), then Save and Add to chart.
- Leave “Wait for the 15-minute bar to close” on. Set “Estimated bid-ask spread %” to a realistic number if you want the spread row to be a real pass or fail rather than assumed.
- Optional: create an alert and pick “All 6 conditions just became true” or “All 6 conditions are true (active).”
Notes, including backtests
Members access is planned and is not live. Nothing on this page is a backtest result or a performance claim. The script has had a careful manual review for Pine Script v6, but it has not been compiled in TradingView yet. After you paste it, if TradingView shows an error, copy the exact message and the script can be fixed before anything is published. Pine cannot see an order book, and the script scores only the symbol on the chart.