Pocket Pivot Indicator

From Gil Morales and ‎Chris Kacher (O'Neil's disciples). Designed to find buy points in bases and continuation buy points in an uptrend. The volume today must be greater then the maximum down volume of the past 10 trading days. Recommended to use in conjunction with the 10 day and/or 50 day moving average.
Typical use :

Scan for pocket pivots .
Is stock strong fundamentally? i.e- leader in it's sector
Has the stock developed a base ?(see O'Neil's work for base discussion)
Is the stock breaking through or bouncing off the 10 period sma? (can use 50 sma too)
If so.. a possible buy.

Release Notes: The previous version actually looks back over the past 11 days whilst we only have to check over the past ten. Thanks to Kfir Barr for spotting the error!
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


hello all and especially @DavidOConnorSpain . how do we scan for stocks using this indicator. any help would be greatly appreciated. thanks in advance.
+3 Reply
@ragarw @DavidOConnorSpain I would love to know how to do that as well.
+1 Reply
Hey, thanks for the indicator! Although I think there should be a way to change the days to just 5 days, so that we can use it to screen 5-day pocket pivots as well.

Gil & Kacher now uses 5-day pocket pivots to screen for potentailly good stocks to buy. Although they state that its' better to have clusters of 5-day pocket pivots, unlike the 10-day pocket pivot that can actually stand on it's own.

Just a thought. Cheers
+2 Reply
Hello, something is wrong with the formula.

Also, I am not sure why there is no indication of Pocket Pivot on 27 May 2021, since the volume is higher than the highest volume of the down day.
Thank you for such a nice script and contribution
Hi David. Thanks for doing this indicator. Since you are obviously a Gil Morales follower, would you be interested in coding an indicator for VDU? Are you familiar with VDU (Volume Dry Up)? Morales and Katcher use this as a tool for taking trades as well. It is where volume dries up to -50% or less than average volume. I would think it would be rather easy to code, I just don't know how to do such things. Would you have the time to do something like that with a little arrow on the VDU bars?
This is great! Thanks a ton!
kwota kwota
@kwota, I'm seeing an issue with the script. A pocket pivot is when the volume is bigger than any "DOWN" day for the previous 10 days. A good example to look at is FB. The script has missed the pocket pivot that occurred on Dec 28 2020. Gil even called this one out himself. Its almost there and I appreciate the work you've done so thanks!
@kwota, Yes, I realised that too on URA on 27 May 2021.

Have the problem been solved?