When I looked for something like this I couldn't find it. Although simple in appearance, this script was actually quite long and complicated to create. It allows you to break up any horizontal space in up to 24 lines. Just remember that 13 lines equal 12 levels, as the top and bottom lines are the placeholders. So, if you are using quarters theory, you would want to select 5 lines.
It automatically sets the top line at a user-selectable place, like the close of the highest candlestick. It also allows you to select the lowest point as the close or the low. This way you can use the bodies of the candlestick or the wicks. You can also set the lookback period, so that your high and low can be set as far back as you prefer in the timescale you are looking at.
You can use these lines in things like quarters theory, or analyze buy and sell points in a grid bot strategy. This indicator could help you to determine where to equally place your buy and sells in a grid with up to 24 different placements.
This version has dark lines and is suitable for the light template. There is a matching light line version for a dark template.