A simple script that I made that draws lines between the high and low pivots. The color of the line define if the pivot is higher or lower than the previous pivot. The main thing to tune is the pivot look back vs look ahead, which are the same params used by the tradingview pivot indicator. There are several other params you can tweaks to get the look you want.
The Mansfield Relative Strength indicator as popularized by Stan Weinstein in his classic book: Secrets For Profiting in Bull and Bear Markets
The indicator uses 260-day and 10-day simple moving averages and for reference the NASDAQ100 (NDX) index as default
This script offers an SMI index of VIX, SPY, and NDX. Rather than overlaying VIX, NDX and SPY on the same chart.
It's much easier to see the correlation between VIX's price and NDX / SPY price in this manner.
Thanks to Buckkets & William Blau for the TSI smoothing method.