Download MetaTrader 5

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

To add comments, please log in or register
tazosmr
64
tazosmr  

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) ?? :



honest_knave
Moderator
2330
honest_knave  
Take a look at DRAW_SECTION
Keith Watford
Moderator
10568
Keith Watford  
Where the change in price occurs, set the buffer value to EMPTY_VALUE for 1 bar
tazosmr
64
tazosmr  
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.

Keith Watford
Moderator
10568
Keith Watford  
Another option is to use DRAW_ARROW instead of a line. You can choose a dot from the wingdings
To add comments, please log in or register