Fading Trend Line Problem when Buffers added to Indi

 

I wrote this Indi to draw trend lines on a chart. Everything was sweet until I decided to make the Indi callable and return some info. to an EA.

Problem is now that over time, the Trend Lines fade out. At first becoming dots then disappearing at then right end completely. The problem is that the data in the indicator buffers is being charted over the top of my trend lines. I didnt realize this until i changed my chart background to white. How do i prevent the indicator buffers from appearing on the chart?

 

Hey dude try this:

SetIndexStyle(0,DRAW_NONE,DRAW_NONE,EMPTY,CLR_NONE);

 

Wow fixed it!

Thanks man!

Reason: