This script better identifies market phases now than before, with a painted background meaning tight volatility and an exposed, or clear, background meaning a period of high volatility (and a great time to enter the market with the trend)
Here’s the legend for the background colors:
Red: high volatility
Golden brown: entering high volatility/moving away from high volatility
Dun yellow: entering low volatility/moving away from low volatility
Green: low volatility