Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 4 Expert Advisor | Static arrows and graphic objects on MT4 Chart

MetaTrader Experts, Indicators, Scripts and Libraries

In general when you create an arrow on the chart, and then if you scroll the chart the location of the arrow will be changed. 

sometimes it will be very high above the bar and sometimes it will be very much below the bars. 

This is really confusing at time and not well visible. 

In order to address this issue, the attached code will ensure that the arrows created on the chart will appear statically on the chart.

20639