forexeas:
Hi,
1) switch to D1 and draw the trend lines...then
2) switch to H1 and draw the trend lines.
No you can't switch. Get the values from the time frame you want and draw on the current chart.
see:
ArrayCopySeries(D1close,MODE_CLOSE,Symbol(),PERIOD_D1);

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,
I want to draw trend lines based on Daily time frame (D1) and on the hourly time frame (H1).
Is it possible to switch the chart time frame programmatically? I mean...
1) switch to D1 and draw the trend lines...then
2) switch to H1 and draw the trend lines.
Is it possible? I am already drawing the trendlines so the lines are not the issue.
Thanks