Unfortunately, that doesn't work. I just tested it again. I took a chart with a lot of missing data on the M30 timeframe and executed a script with WindowRedraw(). Nothing happened. Only when I clicked on refresh in the context menu, the chart was refreshed and all data is available now.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
it often happens that I see data gaps in my chart. Then I have to click 'refresh' in the right-mousebutton-menu and the chart is updated and the gaps are filled. Unfortunately it is sometimes a lot of work because each timeframe has to be refreshed individually. Therefore I wanted to make a script which switches to one timeframe after another and refreshes the chart. I think it can only be done by using Win32 commands to simulate a right mousebutton click but I have no idea how to do that. I would be very thankful if someone just gave me the few code-lines for that.