How do I increase the maximum number of trend lines?

There is an error message saying I have exceeded my maximum number of trend lines. How do I increase the maximum trend lines?

You can do 2 things:
1. Right click in the chart and select Trendline, then Trendline Management to see all the trendlines you have and then remove unused or unnecessary trendlines.
2. If after you removed a few lines and you still get that error, you may go to Setup and select Trading Settings to increase the amount.