Hi again,
Although no one has responded there has been a little bit of progress with this issue at my end. I'll continue to work on it and provide some expanded information asap - so please don't spend your time on it right now.
Rogh
Ok, just to resolve the issue incase anyone is interested… The problem is that placing Chart_Sync indicator to several charts at once is a type of misuse of the algorithm within that indicator. It seems to work without issues only when placed to one single chart. Otherwise as practice shows it may work incorrectly in combination with several other programs. Generally, to make programs work without conflict with it, whenever some other program makes changes to objects on chart, it should disable chart events, because chain toggling of chart events on several charts in MT4 may results in hanging of terminal. Potentially this can be solved by changing the architecture of Chart_Sync but in this case it’s not worth it for me at least.
Ok, just to resolve the issue incase anyone is interested… The problem is that placing Chart_Sync indicator to several charts at once is a type of misuse of the algorithm within that indicator. It seems to work without issues only when placed to one single chart. Otherwise as practice shows it may work incorrectly in combination with several other programs. Generally, to make programs work without conflict with it, whenever some other program makes changes to objects on chart, it should disable chart events, because chain toggling of chart events on several charts in MT4 may results in hanging of terminal. Potentially this can be solved by changing the architecture of Chart_Sync but in this case it’s not worth it for me at least.
You can tell it the Service Desk - but I doubt that you'll get an answer. :(
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
ChartSync indicator is supposed to do this:
Objects drawn on one chart automatically appear on other charts of the same symbol. This allows multi time-frame marking up of charts simultaneously, without having to manually save and load templates.
Example
If 3 EURUSD charts are open H1, M15 and M5.
If Chart Sync is applied to one chart, anything drawn on this chart will appear on the other two.
If Chart Sync is applied to all 3 charts then whatever is drawn on any of the charts will appear on the others.
Details
The small arrow in the bottom right corner of the chart indicates that Chart Sync is active and all changes will be reflected in other charts of the same symbol in this profile.
Chart Sync works on charts of the same symbol only in the current profile. When switching to a different profile, such as market overview, these charts will not have had objects updated.
Please take into account, objects sync on create, delete, edit and move events. When opening a new chart, old objects from other charts will only appear if one of those operations occurs to the object. (Thus open all required charts before drawing).
The attached MQL5 version works perfectly if you want to see it in action.
However the MQL4 version causes an infinite loop problem resulting in MT4 hanging with error ‘Not responding’
This is the MQL4 code:
To recreate the error the indicator must be applied to 2 or more charts of the same market (as I need whatever is drawn on any of the charts to appear on the others). The error can be triggered on deletion of an object.
Unfortunately I'm not a programmer. I have paid a programmer in the Freelance section to attempt a fix but after many hours we couldn't find the solution. I have MT4 installed outside of the Programs folder in Windows 7.
If any of you expert programmers have come across this before and know how to solve it I would be most grateful if you could offer some advice or correct the code.
Thank you