Scripts / Pullback Funnel Strategy
Pullback Funnel Strategy
Members (planned) StrategyThe same six checks as the Pullback Funnel indicator, plus TradingView Strategy Tester orders: a limit at the top of the entry zone, a working stop, and target 1. Unfilled limits cancel after a timeout or if price runs away. Optional trailing stop and break-even settings can tighten the stop after the trade is in profit. Position size comes from a risk percent of equity.
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
The same six checks as the Pullback Funnel indicator, plus TradingView Strategy Tester orders: a limit at the top of the entry zone, a working stop, and target 1. Unfilled limits cancel after a timeout or if price runs away. Optional trailing stop and break-even settings can tighten the stop after the trade is in profit. Position size comes from a risk percent of equity.
Add this to a 15-minute chart, then open Strategy Tester. Edit commission_value (percent per side) and slippage (ticks) in the strategy() call to match a venue.
Settings
| The six checks | Same inputs as the Pullback Funnel indicator. |
|---|---|
| Commission and slippage | Edited in the strategy() line at the top. The sample ships at 0.10% per side and 2 ticks. These are placeholders, not a claim about a venue. |
| Position sizing | Risk percent of equity (defaults differ for BTC/ETH/SOL/XRP and for other symbols), plus a minimum ticket size. |
| Trailing stop and break-even | Both off by default. The trail only tightens once the trade is in profit; break-even can raise the stop to the fill (plus an optional offset). |
| Bar Magnifier | If your TradingView plan includes it, turn it on in Strategy Tester so 15-minute fills use lower-timeframe prices. It may be unavailable on Essential; the test still runs without it. |
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_strategy.pine, paste it into the editor (replace whatever is there), then Save and Add to chart.
- Open Strategy Tester. If you see Bar Magnifier and your plan allows it, you can turn it on; if it is missing, leave it.
- Edit the commission and slippage numbers in the strategy() line if you want them to match a specific venue.
Notes, including backtests
Members access is planned and is not live. Tester results are not a promise of profit and must not be used as a performance claim on this site, on Fiverr, or on a public TradingView script. This sample 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.