Need to add distance to arrows

 

Hello,

is there a guide that teaches to add distance of arrows from price in MT5?


Thank you
 
MT4 doesn't have this functionality, so you'll need to add an extra buffer or change the current buffer's value to add offset. MQL5 and MT5 solve the problem with plot integer PLOT_ARROW_SHIFT.
 

kypa:
MT4 doesn't have this functionality, so you'll need to add an extra buffer or change the current buffer's value to add offset. MQL5 and MT5 solve the problem with plot integer PLOT_ARROW_SHIFT.


No, for MT5.
 

PlotIndexSetInteger(,PLOT_ARROW_SHIFT,) in OnInit. Negative values for tops.

That is for indicator buffer, of course, if you mean chart objects arrows just add offset when you place the object. Chart objects arrows might also have corner and anchor definable, look up the documentation if you need that.

 
kypa:

PlotIndexSetInteger(,PLOT_ARROW_SHIFT,) in OnInit. Negative values for tops.

That is for indicator buffer, of course, if you mean chart objects arrows just add offset when you place the object. Chart objects arrows might also have corner and anchor definable, look up the documentation if you need that.

Thank you