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 coders,
the H1 chart is open. Now I would like to have screenshots from H1, M15 and H4. I do it this way:
As you surely know, that doesn't work because ChartSetSymbolPeriod() works asynchronous and doesn't wait for the timeframe to be changed before continuing with the code. So the result is only one screenshot of the current timeframe.
Can someone help me to solve this problem in any other way?
Thanks in advance!