Delete horizontal lines on the current chart

 
Hello everyone. God day. I am making a semi automatic ea. I manually put two horizontal lines on the chart. And i am thinking that after the certain profit is reach..the ea will close the trade and then automatically delete the horizontal lines on the chart...

I hope somebody can help me with that function...
 
Please show your code if you need coding help.