OPEN-SOURCE SCRIPT

MinMax(20,50,100, 200)

Updated
Draws minimum and maximum prices as a line chart for four different time frames.

1) The last 21 bars (close price)
2) The last 50 bars (close price)
3) The last 100 bars (close price)
4) The last 200 bars (close price)

Min/ Max values usually provide important resistance/ support levels.
Release Notes
Added the 100th min/ max series.
maximumminimumSupport and Resistance

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer