This simple script was a collaborative effort with 4X4good.
It plots a moving median for the period using the 50th percentile value.
We wanted to know the median value of VIX but surprisingly, a median indicator wasn't yet available in the indicators library.
So we did a little research & put this together.