Change timeframes of all charts in the current profile

 

Hi everyone,

I need a script that changes all the open charts in the current profile from one timeframe to another when executed.

Is this possible using WindowHandle? If not, I would be grateful of any suggestions as to how I might be able to do this.

Many thanks in advance of your responses.

 

well...a way to achieve this is to manipulate the files in your MT4\profiles\ folder.

I do not see a possibility of getting this to work using WindowHandle() - how do you change the Timeframe of a chart using MT4 - I cannot think of a way right now...

Reason: