MT4 Shortcut Keys

Thought this might help some of you guys and gals out. I’m trying to wean myself from my mouse and here are the built in MT4 shortcuts.

[B]Function Keys[/B]
F1 � open “Userguide” (i.e. Help)

F2 � open the “History Center” window

F3 � open the “Global Variables” window

F4 � open MetaEditor

F6 � call the “Tester” window for testing the expert attached to the chart window

F7 � call the “Properties” window of the expert attached to their chart window in order to change settings

F8 � call the “Chart Setup” window

F9 � call the “New Order” window

F10 � open the “Popup prices” window

F11 � enable/disable the full screen mode

F12 � move the chart by one bar to the left
[B]
Shift Combinations[/B]
Shift+F12 � move the chart by one bar to the right
Shift+F5 � switch to the previous profile

[B]Alt Combinations[/B]
Alt+1 � display the chart as a sequence of bars (transform into bar chart)

Alt+2 � display the chart as a sequence of candlesticks (transform into candlesticks)

Alt+3 � display the chart as a broken line (transform into line chart)

Alt+A � copy all test/optimization results into the clipboard

Alt+W � call the chart managing window

Alt+F4 � close the client terminal

Alt+Backspace or Ctrl+Z � undo object deletion

[B]
Ctrl Combinations[/B]
Ctrl+A � arrange all indicator windows heights by default

Ctrl+B � call the “Objects List” window

Ctrl+C or Ctrl+Insert � copy to the clipboard

Ctrl+E � enable/disable expert advisor

Ctrl+F � enable “Crosshair”

Ctrl+G � show/hide grid

Ctrl+H � show/hide OHLC line

Ctrl+I � call the “Indicators List” window

Ctrl+L � show/hide volumes

Ctrl+P � print the chart

Ctrl+S � save the chart in a file having extensions: “CSV”, “PRN”, “HTM”

Ctrl+W or Ctrl+F4 � close the chart window

Ctrl+Y� show/hide period separators

Ctrl+Z or Alt+Backspace � undo the object deletion

Ctrl+D � open/close the “Data Window”

Ctrl+M � open/close the “Market Watch” window

Ctrl+N � open/close the “Navigator” window

Ctrl+O � open the “Options” window

Ctrl+R � open/close the “Tester” window

Ctrl+T � open/close the “Terminal” window

Ctrl+F5 � switch to the next profile

Ctrl+F6 � activate the next chart window

Ctrl+F9 � open the “Terminal � Trade” window and switch the focus into it. After this, the trading activities can be managed with keyboard

[B]Other Keys and/or Combinations[/B]
“left arrow” � chart scrolling to the left

“right arrow” � chart scrolling to the right

“up arrow” � fast chart scrolling to the left or, if the scale is defined, chart scrolling up

“down arrow” � fast chart scrolling to the right or, if the scale is defined, chart scrolling down

Numpad 5 � restoring of automatic chart vertical scale after its being changed. If the scale was defined, this hot key will return the chart into the visible range

Page Up � fast chart scrolling to the left

Page Down � fast chart scrolling to the right

Home � move the chart to the start point

End � move the chart to the end point

“-” � chart zoom out

“+” � chart zoom in

Delete � delete all selected graphical objects

Backspace � delete the latest objects imposed into the chart window

Enter � open/close fast navigation window

Esc � close the dialog window

1 Like

yes that’s very helpful, thank you! :slight_smile:

nice work!
I’m sure many will appreciate your effort.

Thanks for sharing !:cool:

You can also download AutoHotKey and use it to set up hotkeys for anything you want. I’ve got keys for fibs, trendlines, horizontal and vertical lines, turning autoscroll on and off, etc.

Thank You Orpips…I was going to look for something to do that this week…I want to be able to zip around my TF’s with minimum key strokes.

Would you mind sharing your script? I messed with ahk this evening and figured out how to do some of the things I wanted it to do…but have lots more to figure out.

I primarily wanted and easy way to switch between TFs, templates, and currency pairs. Works real slick. :smiley: Thanks for giving me a heads up.

My script is just for the tools, mostly. The keys I have set up are:

horizontal line
vertical line
autoscroll on/off
= key to zoom (so I don’t have to hold down shift to do “+”)
fib
lrc
trendline
deselect

Hey Orpips, do you think you can share this script?

thank you.

I’ll reply over here.
Here is my script. To run its super simple…Make sure AHK has been installed…double click on scrpt…open mt4 platform and start using the shortcuts.

Here is the link to the script as BP doesn’t allow the AHK extension.

http://www.keepandshare.com/doc/view.php?id=1375517&da=y

Shortcuts: Everything is initiated for me with the Caps Lock Key referred from here as the CLK

Timeframes:
CLK 1-9

Templates:
CLK qwerty (First seven templates in your tpl folder based on name…I start mine with #'s i.e. 01 Overview 02 Indicator etc)(One of the beauties of using ahk for templates is of course speed, but it also allows you to fill a template with fibs and lines and indicators you are trying and then a simple clk 3 or whatever erases it back to normal assuming you haven’t saved the tpl)

Currencies:
CLK asdfghjklmnb (my most common ones set to asd, this is easy to configure in the script if you want.)

Misc:
CLK Z Candles to the front and Back
CLK X Chart AutoScroll On and off

I zoom in and out using the + and - keys on the number keypad. Also note i only use MT4 for charting.

I use to do a lot of design work. So hotkeys is a big part of my workflow. when i started using mt4, i was kinda shocked i couldn’t setup hotkeys.

If you can pass it along, that would be great.

thank you.

Nice post. It is very useful for fast forex trading. Thanks for sharing this valuable information.

Nice job:)

Wonderful idea. Your link to the script no longer works. Do you have an updated site where I could download it?
Thanks again!

Really useful info. Thanks.

A couple of things I have found useful are:

If you are using a scroll mouse, click on the scroll button to get the cross hair tool. Left click to cancel it.

If you want to extend a trend line in exactly the same direction hold the shift key down as you drag. It’s similar to using the ‘ray’ tick box, but its quicker, easier and the line doesn’t go on forever.

I still haven’t found any way to force a trend line to draw perfectly horizontally for drawing short term support and resistance levels. If anyone knows a way I’d be interested to hear.

Can u plz share your script for vertical line , horizontal line , trend line and M1 M5 M15 M30 H1 H4 D1 W1 MN
i already download and install ahk.

above link is not working
thanks

Yes please I definitely agree with that ^

Does anybody have the Script for that they can share here please?

anyone get the script?? i need it reup please!!

I just right click the line, Properties, Parameters tab, and copy and paste the values.

Thanks for that TL shift key trick.

Nice! Thanks for sharing this!