detecte manual object creation of the chart

 

Hi


Is there a way to fire an event when the user manually draws (or changes an existing) either a trend line or horizontal line on the chart?

I find doing a for loop over ObjectTotal() inside the OnTick() is too much CPU effort for this task.


Thanks

 
Look through the documentation for OnChartEvent()