Recycling objects
I was wondering would I need a buffer if I was creating trend lines and deleting them when price touches for example I have 4 lines for 2 high points and 2 low points between 30 candles. if all lines were created and price touches line 3 and it deletes how can I make line 3 create a again but on the next high/low point and not on the point that it was originally created on.
I'm new to programming and Mql4-5 language.
I was wondering would I need a buffer if I was creating trend lines and deleting them when price touches for example I have 4 lines for 2 high points and 2 low points between 30 candles. if all lines were created and price touches line 3 and it deletes how can I make line 3 create a again but on the next high/low point and not on the point that it was originally created on.
I'm new to programming and Mql4-5 language.