In this code, it randomly chooses which chart to porpulate with it's respectivee timeframe.
no it does not, it is applying the symbol and timeframe changes only to the chart you are running it on.
if you want to select a different chart you need to first get the chart id of the chart you want to change, instead of using chart id of 0
- www.mql5.com
no it does not, it is appling the symbol and timeframe changes only to the chart you are running it on.
if you want to select a different chart you need to first get the chart id of the chart you want to change, instead of using chart id of 0
Thank you. Sso with the different chart id's, the logic is that it will open all charts at once?
If you want to open up a new chart, you have to use ChartOpen(). The function ChartSetSymbolPeriod() is for changing an already opened chart to a different symbol and/or time-frame.
- www.mql5.com
If you want to open up a new chart, you have to use ChartOpen(). The function ChartSetSymbolPeriod() is for changing an already opened chart to a different symbol and/or time-frame.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
In this code, I was able to get the chart to open on my preferred timeframe but, it randomly chooses which chart to porpulate with it's respectivee timeframe. How can I get it to porpulate all charts at once with my preferred timeframes?