Download MetaTrader 5

Recycling objects

To add comments, please log in or register
porkcushion
64
porkcushion  

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.

Alain Verleyen
Moderator
33773
Alain Verleyen  
porkcushion:

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 don't know if it's me only, but I don't understand anything to your request, sorry.
To add comments, please log in or register