Pocket Pivot Indicator

DavidOConnorSpain Updated   
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!
Release Notes:
Following comments by @XiiaObaKakiA, @kwota, @Sagey13, thanks! I have changed the "= " to a ":=" in lines 20 to 36 as ":=" is used to update variables such as myVolume1, myVolume2..

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.


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.

Want to use this script on a chart?