Forum

Can anyone help with this please?

I hope I have posted this in the right place. I am fairly new to mql4 so this has me scratching my head These are 3 lines of code from a much bigger program; so I show just the 3 lines that are confusing me in a simplified form If I use these. The indicator does not show anything. double Val1;

Maintaining constant chart appearance on multiple time frames by code?

I could not think of a more descriptive title. What I would like to do is have one chart window on which are drawn all my objects. I use 3 different time frames and when I click the button to change between these time frames I would like the chart to present itself in the same way every time so that