There are many levels suites out there but many of them use the line series and/or label series to create multiple levels. Pine v5 provides the capability to use line arrays and labels so I wanted to create some code that is extensible to add additional lines/levels and labels to an array of lines with very little effort.
There is also some Market Breadth info that can be shown in the corners of the chart to allow a user to understand how the broader markets are moving compared to the security they are charting.
Current Levels provided are as follows:
Today's Open
Previous Days Close
Previous Days High/Low
Previous Days 50%
T+2 High/Low
All levels and the market breadth table is configurable to be hidden or shown based upon the user's desire.