Change all Time Frames within a profile scripts

 
Please find attached MT4 scripts that that allow a hot key to be assigned to each required TF. i.e CTRL 1 MN, CTRL 2 weekly etc.so that when applied to a profile of markets all of the markets change to the same time frame.

These scripts have worked perfectly until recently. I’m not sure why, maybe an update in MT4, but they have recently become a little more awkward to use. Now, In the profile view they have to be applied to a selected (i.e highlighted) market of a different TF for all of the TF’s in the profile to change. This is a little frustrating and I hope someone can help me fix the bug.

Unfortunately I don’t know how to write MQL4 code myself and would be grateful if someone with experience could identify what is causing the problem and fix it. (Only one script necessary as I can repeat the fix in the others and will repost here).


Thanks

Files:
Change_TF.zip  10 kb
Reason: