Deleting Trend Lines

 

Hi

Long time reader, first time poster....

I am trying to figure out how to delete past trend lines based on how old they are. The EA I am working on places a trend line on daily highs and lows but I only want to keep the past 7 days of high and low objects and delete older ones. Is this possible with ObjectDelete?

Thanks in advance!

Reason: