Trendlines in Metatrader

 

Hello,


I need some information about trendlines, or objects in metatrader in general.

What can I do, to not make them vanish at the opening of the next bar?

I need the objects stay there, no matter how many bars past I have drawn them.


Any information is highly appreciated,


thanks, Q

 

You may have an indicator or EA that's deleting all objects. Search for ObjecstDeleteAll() somewhere in your EA's and indicators.

The easiest fix if you don't program is to not use that particular indicator when you need your objects to stay on the chart.