How to draw disconnected lines?

Back to topics list To post a new topic, please log in or register
avatar
20
ale 2015.05.12 14:17
 

I am creating an indicator where the values change dramatically then the day changes. 

The problem is that the lines drawn by MT4 with the values in the indicator buffers connect all the points, so the last value of day A is connected to the first value of day B and the result is ugly.

Is it possible to stop MT4 from drawing this ugly connection line from a certain point to another?

avatar
13001
WHRoeder 2015.05.12 18:54 #
 
Lines connect, don't use lines. Use
   SetIndexStyle(0,DRAW_ARROW);
   SetIndexArrow(0,159);
like Parabolic.
avatar
20
ale 2015.05.12 23:57 #
 
Nice trick, thank you.
Back to topics list  

To add comments, please log in or register