The script allows you to set price level(s) for a given ticker. Here is a list of the features: Up to 10 levels
Levels are dynamic: line start at the beginning of the session and move as the session goes.
Label includes "R" for resistance level and "S" for support level. The price level is next to R or S. It is possible to change the color type and size of the array
If the price goes over a R array, line will turn green or any color you choose. If the price goes below a S array, line will turn red or any color you choose.
You can adjust the position of the Label
It is possible to add or remove the label
The main goal here is to be able to keep the array moving during the day and days following without to have to adjust the array manually (unless you use a horizontal array, which tend to make chart heavy especially on longer timeframes.
We cannot keep the indicator for each ticker so either you need to create your levels for one ticker and keep the window opened. Else, you can save your indicators along with this one and call it with the name of the ticker so you know for which stock it is.
Any comments for improvements are welcome. I am not a professional coder, I used ChatGPT and a bit of my brain ;-)...