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.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.