OPEN-SOURCE SCRIPT
Pocket Pivots

Pocket Pivots are described in the book "Trade like an O'Neil Discipline" by Dr. Chris Kacher and Gil Morales. There’s no exact definition of Pocket Pivots, but there is an exact definition for the volume signature: The volume should be higher than the largest down volume of the last 10 trading days.
This is a modification of Pocket Pivots. We use the level where the Pocket Pivot occurred and draw a zone across the chart until the criteria for another Pocket Pivot is met again. This way we can use them as support/resistance zones. Instead of the volume being higher than the volume for each of the previous periods, we just use an SMA of the volume and make sure the volume on the final candle is higher than the average for the previous periods. Last but not least, we have the possibility to draw support/resistance levels off the back of different counts. Seven-count for hyper-aggressive pocket pivots, eight-count for aggressive, nine for measured and ten for passive.
Hyper-aggressive Pocket Pivots

Aggressive Pocket Pivots

Measured Pocket Pivots

Passive Pocket Pivots

All

Using "All" to see all the pivots can be messy, but the confluence of support/resistance is more than helpful for defining truly important levels.
People have created a methodology/rules for buying and selling with Pivot Points, but as I understand there's no general consensus on their application, so please do some research before you decide to use them in your trading.
References
chartmill.com/documentation.php/indicators/Pocket-Pivots?a=408&cat=2
mypivots.com/dictionary/definition/506/pocket-pivot
Want to Learn?
If you'd like the opportunity to learn Pine but you have difficulty finding resources to guide you, take a look at this rudimentary list: docs.google.com/document/d/10t3ZCQAd2dpdTGPYXDKk2hAM_BQ1Zm80tk0VGHViQc4/edit?usp=sharing
The list will be updated in the future as more people share the resources that have helped, or continue to help, them. Follow me on Twitter to keep up-to-date with the growing list of resources.
Suggestions or Questions?
Don't even kinda hesitate to forward them to me. My (metaphorical) door is always open.
This is a modification of Pocket Pivots. We use the level where the Pocket Pivot occurred and draw a zone across the chart until the criteria for another Pocket Pivot is met again. This way we can use them as support/resistance zones. Instead of the volume being higher than the volume for each of the previous periods, we just use an SMA of the volume and make sure the volume on the final candle is higher than the average for the previous periods. Last but not least, we have the possibility to draw support/resistance levels off the back of different counts. Seven-count for hyper-aggressive pocket pivots, eight-count for aggressive, nine for measured and ten for passive.
Hyper-aggressive Pocket Pivots
Aggressive Pocket Pivots
Measured Pocket Pivots
Passive Pocket Pivots
All
Using "All" to see all the pivots can be messy, but the confluence of support/resistance is more than helpful for defining truly important levels.
People have created a methodology/rules for buying and selling with Pivot Points, but as I understand there's no general consensus on their application, so please do some research before you decide to use them in your trading.
References
chartmill.com/documentation.php/indicators/Pocket-Pivots?a=408&cat=2
mypivots.com/dictionary/definition/506/pocket-pivot
Want to Learn?
If you'd like the opportunity to learn Pine but you have difficulty finding resources to guide you, take a look at this rudimentary list: docs.google.com/document/d/10t3ZCQAd2dpdTGPYXDKk2hAM_BQ1Zm80tk0VGHViQc4/edit?usp=sharing
The list will be updated in the future as more people share the resources that have helped, or continue to help, them. Follow me on Twitter to keep up-to-date with the growing list of resources.
Suggestions or Questions?
Don't even kinda hesitate to forward them to me. My (metaphorical) door is always open.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
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.