how to plot HORIZONTAL lines ? ( not connected to each other)

 

i use:



#property indicator_label1  "Myline1"
SetIndexStyle(0,DRAW_LINE,STYLE_SOLID,1,clrMagenta);

..................


i see such connections with lines:



how to make them like this  (without the connecting lines) ?? :



 
Take a look at DRAW_SECTION
 
Where the change in price occurs, set the buffer value to EMPTY_VALUE for 1 bar
 
GumRai:
Where the change in price occurs, set the buffer value to EMPTY_VALUE for 1 bar

thanks, maybe that is good solution when the lines are extended for i.e. 10 bars, then no problem to hide for 1 bar...

honest_knave:
Take a look at DRAW_SECTION

i will try.

 
Another option is to use DRAW_ARROW instead of a line. You can choose a dot from the wingdings