Pocket Pivot concepts are well documented on the internet.
Release Notes
Default Pocket Pivot Off
Release Notes
Pocket pivot only on green candles
Release Notes
Updated Pocket Pivot
Changed default color of EMA2
Now, it is possible to only consider volume of down days for seeing positive volume action on current bar. Also, by setting grace% to 0, it is possible to exclude "tight pricing" around the pivot point length.
Release Notes
Cosmetic changes to mark Pocket Pivots
Colour change, possible to hide the text "Pocket Pivot"
Release Notes
Version 5
Fixed Timeframe EMA
Convert to version 5 of pine script Fixed Timeframe EMA Possible to add one EMA of a different timeframe than the current selected on the main chart. This helps in scenarios, when one wishes to say place a stop loss of lower timeframe (say daily) when observing the weekly charts and so on.
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 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.