Download MetaTrader 5

How to draw disconnected lines?

To add comments, please log in or register
Share your programs. That will improve your rating.
ale
68
ale 2015.05.12 12: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?

whroeder1
14519
whroeder1 2015.05.12 16:54  
Lines connect, don't use lines. Use
   SetIndexStyle(0,DRAW_ARROW);
   SetIndexArrow(0,159);
like Parabolic.
ale
68
ale 2015.05.12 21:57  
Nice trick, thank you.
To add comments, please log in or register