Do you mean you stay in the exact same chart window and then just switch template and period inside it? Simplest solution is, open the same currency pair in different windows, optimize themthen you can switch between the timeframes by altering the windows. So then you have your messy M1 chart down there, you can click and view it whenever you like to, then simply switch back to your normal chart right alongside it.Originally Posted by ;
If you want the script to consciously respond to any key you press, that is not possible inside the scripting terminology mq4 itself. You would have to load a dll for it.
And with the latest update to build 500, I think Metaquotes even made it more challenging to call outside dll files or burden themwhich I think is a very bad move of those. Many programmers who developed advanced tools for metaquotes utilize dll to embed more innovative features. And now their resources dont work with the newest version... But I do not know if they disallowed to call dll files inside mq4 completely.