To create the script I used the LonesomeTheBlue code. Thank him for his code.
The indicator shows trend lines. Up to three support lines (red) and up to three resistance lines (lime). There can be up to 6 lines at a time. However, most often there will be from 0 to 1 line. Trend lines may be extended to the right. For this purpose there is a checkbox in the setting. This is the way you may adjust line thickness.
For example, how to use
The indicator shows you the support line (red) and the resistance line (lime). If the line is crossed, the price may move a lot towards the breakout.