Download MetaTrader 5
To add comments, please log in or register
Do you need a programmer? Freelance service will find the developer you need!
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
13627
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