I experience some frustration in such a way that I want to draw some horizontal lines, computed according to a certain algorithm in two different charts, eg. eurusd and dax. I managed to format the lines as I want (style, color, thickness), but I'm not able to make my EA to move the lines according to new values. If I attach the EA on eurusd, it performs very well on eurusd, and not on dax and viceversa. Any sugestion? Thanks!
the lines are time and price related, you have to find the appropriate formula to match the lines like ChartTimePriceToXY() and apply on the other chart
or maybe you can overlay the charts https://www.mql5.com/en/code/7933
Is the Dax a 24 hour market with your broker?
If not, could that be affecting your EA?
Is the Dax a 24 hour market with your by TakeTheCoupon" in_rurl="http://i.display-trk.com/click?v=Uk86NTM4NjA6MzMzNjpicm9rZXI6MmEzNjc0NGVkZDQxMjVkNzc5NWZmOGYzMjgyMjg5ZGY6ei0xMzk5LTI4NzYwOTpmb3J1bS5tcWw0LmNvbToxODEzNzU6NWZhYWI3ZDUyYjM1YzdiMDk3ZGY3NDA3ZjU4YjMxMzI6NmY3MzM3MDFlNjY5NDlhM2JmM2U4ODQyOTIzZmViYzY6MQ&subid=g-287609-1360de0016e3435f8d1f8a93ba504226-&data_itn_test=20140905_1250&data_tagname=P" id="_GPLITA_0" href="/64607#">broker?
Maybe because the EA only receives ticks when the Dax is open.
If the EA is attached to EURUSD, it will receive ticks when the Dax is closed and so maybe nothing to compare with.