What it does
Fib Pocket Tracker finds the latest impulse leg and follows its Fibonacci "golden pocket" for you. A leg starts at a confirmed swing (a pivot with Swing Strength bars on each side) that has moved at least Min Leg Size × ATR away from the previous opposite swing. The study shades the pocket between the two pocket ratios (0.618 to 0.705 by default), draws the invalidation line at 0.786, an optional 0.5 line and the extension target at 1.272, then tracks what price does there: a wick into the band is a test, a close back out in the leg's direction is a labelled bounce (a close through the far side of the pocket is a reject), a close beyond the invalidation ratio invalidates the leg. Bounces carry one to three stars for volume above its average and the side of a 200-period trend EMA. Only the newest leg is drawn and a status table shows the leg's state.
How to add it
Click Indicators (ƒx) in the header.
Search “Fib Pocket Tracker” and click the result.
Hover its legend row and click the gear to open settings.
How traders use it
- Buy a bounce out of the pocket, not a touch of it: wait for a close back out of the 0.618–0.705 band in the leg's direction, and prefer the two- and three-star bounces.
- Put the stop just beyond the invalidation line (0.786): a close past it is the study's own invalidation, so the trade idea is wrong there by definition.
- Take the extension target (1.272 of the leg) as the first objective, and the leg's end as a partial-profit level on the way.
- A reject label (price closes through the pocket against the leg) is a warning that the pullback is becoming a reversal; stand aside or look for the opposite leg.
- On daily charts of NSE stocks the 200 EMA confluence star is the one to insist on: pockets that form on the trend side of the 200 EMA have far better bounce rates.
- Use the 0.5 line as the "early" entry for aggressive traders and the pocket for conservative ones.
Inputs
| Input | Type | Default | Range / Options |
|---|---|---|---|
| Swing Strength (bars each side) | number | 15 | 3–60 |
| Min Leg Size (x ATR) | number | 1.5 | ≥ 0.5, step 0.25 |
| Pocket Start Ratio | number | 0.618 | 0.3–0.9 |
| Pocket End Ratio | number | 0.705 | 0.3–0.95 |
| Invalidation Ratio | number | 0.786 | 0.5–1 |
| Extension Target Ratio | number | 1.272 | ≥ 1, step 0.01 |
| Volume Average Length | number | 20 | ≥ 2 |
| Trend EMA for Confluence | number | 200 | ≥ 5 |
| Show 0.5 Line | boolean | true | on / off |
| Show Targets | boolean | true | on / off |
| Show Status Table | boolean | true | on / off |
| Buy Pocket Colour | color | #4CAF50 |
any |
| Sell Pocket Colour | color | #F23645 |
any |
Plots & styling
| Plot | Style | Default color |
|---|---|---|
| Trend EMA | line | #787B86 (50% transparent) |
| Buy pocket band, invalidation and target lines | box and lines | #4CAF50 |
| Sell pocket band, invalidation and target lines | box and lines | #F23645 |
| Bounce / reject / invalidated labels | label | pocket colour, #FFFFFF text |
| Status table | table | #311B92 header, #787B86 text |
Every plot's color, line width and visibility can be changed on the Style tab. Precision, price-scale labels and status-line values are configurable at the bottom of the Style tab.
Tips
- Use Add to favorites in the legend menu; starred studies surface at the top of the picker.
- Reference levels (where the study has them) are editable — tune them to the instrument you're trading.
- Hide the study from the legend eye instead of removing it when you only want it out of the way temporarily.
Watch out for
- A swing is confirmed only Swing Strength bars after it prints, so the pocket appears with a lag and a fast pullback can be half over before the band is drawn.
- Only the newest leg is tracked: a new qualifying swing replaces the pocket you were watching, even if the old one was still live.
- The star grades use volume and a single EMA; they rank confluence, they do not measure probability, and thin stocks with lumpy volume earn stars they do not deserve.