Download MetaTrader 5

How to make Horizontal Plot Lines?

To add comments, please log in or register
tazosmr
64
tazosmr 2015.11.09 18:31 

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



Marco vd Heijden
Moderator
4732
Marco vd Heijden 2015.11.09 19:42  
OBJ_TREND
tazosmr
64
tazosmr 2015.11.09 22:21  
Marco vd Heijden:
hi.. thanks, but please, i have updated my question's first sentence: i use not ObjectCreate function, but simply indicator_plots, and is there solution with them?
tazosmr
64
tazosmr 2015.11.11 09:26  

possible solutions?

1) Where the change in price occurs, set the buffer value to EMPTY_VALUE for 1 bar =>  maybe that is good solution when the lines are extended for i.e. 10 bars, then no problem to hide for 1 bar...

2) using   DRAW_SECTION  , instead of DRAW_LINE ?

To add comments, please log in or register