Quote Originally Posted by ;
I despise my charts becoming cluttered but there are a few indiors such as DMAs, Daily Tenkan Sen and Kijun Sen traces, VWAP etc I feel I need to view from time to time whilst devising my egy. The apparent solution would be to have two similar templates and flip between both, however if I place trendlines and fibs or whatever on the charts, they'll be deleted when I flip chart template unless I save a pair of templates for every currency pair im trading etc etc it all gets messy. Might it be possible to incorporate some code into an indior which toggles...
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.

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.