Most likely, if the indicator has a function that deletes everything on the chart then it will delete all your trendlines as well. The indicator (it might only be 1 of them, or they might all be doing the same thing) needs to be recoded to only ...