In statistics, the interquartile range, also called the midspread or middle 50%, is a measure of statistical dispersion, being equal to the difference between 75th and 25th percentiles, or between upper and lower quartiles.
Inspired by everget's Interquartile Range Bands: Check out everget's scripts here: tradingview.com/u/everget/