The main purpose of this script is to show historical and real-time divergences for any oscillating indicator. The secondary purpose is to give the user a lot of precise control over identifying divergences and determining what they are. This is an improved version of my other script which is similarly called "Realtime Divergence for Any Indicator" There are...
The script shows historical pocket pivots, much as other scripts with a green diamond shape on the volume pane. When the market is open, the current bar, however, is extrapolated to the end of the day using a sixth-order polynomial. Thus real-time pocket pivots are shown. To work properly, the user must input a time-zone offset parameter; the default is west coast...