Hotkeys for MT4 (metatrader 4)


What are hotkeys for?

What are hotkeys for in auto trading? After all, advisors work completely automatically and there is no need to interfere with their work? – Only for the convenience of the trader’s analysis of the market situation: the ability to look at the behavior of the advisor in certain situations, to predict market movements based on historical data, etc. The key word here is “for convenience.” Hot keys make routine operations a little easier and that’s it. But that’s enough. In manual trading, such keys are used more widely, but we are not concerned with this issue now. Let’s see what hotkeys exist and which ones I recommend using – they will be highlighted in color. Divide all keys into groups and start with –

Graph Control Keys

These are the simplest but most useful keys.


Left ← Shifts the chart to the left
Right → Shifts the chart to the right
Up ↑ Shifts the chart to the left
Down ↓ Shifts the chart to the right
Page Up Shifts the chart to the left by the width of the screen
Page Down Shifts the chart to the right by the width of the screen
F12 Shift one candlestick (bar) to the right
Shift + F12 Shift one candlestick (bar) to the left
Home Return the chart to the oldest (first) candlestick
End Return the chart to the current moment
Num 5 Returns the vertical scale to the original position if it was changed (see note)
Enter Move to the date set by the trader (see note)


1.NUM 5 is just the number 5 on the left side of the keyboard:

If your keyboard does not have a block of number keys, then I cannot help – find out everything about your keyboard yourself.

2. Using the Enter key, you can quickly move to any arbitrary date, as long as it is in the history of your MT4 terminal. This is done like this: press the Enter key, a small window appears in the lower left corner of the monitor:

Do not pay attention to everything that is written in red – these are just hints.

Enter the required date in this window (in the format 10.02.2017), or time (19:55), or the designation of the currency pair (USDJPY), or the name of the pair with the timeframe (GPBUSD, M15). Important: you only need to enter one thing, otherwise the system will not work. Pressing the Enter key again will move the chart to the required date (if you specified it), and the window will close. You can close the window yourself using the Esc key. Please note that any chart transformations require disabling the “Autoscroll” function – the button to enable / disable it is located on the Toolbar above the price chart window. Otherwise, everything will very quickly return to its original state.

Fig. 3

Now, consider the following group of hotkeys –

Function Keys


F1 Calls up “User Manual”
F2 Calls “Quotes Archive”
F4 Calls “Global Variables”
F4 Launches the editor of indicators and advisors MetaEditor
F6 Opens the “Strategy Tester” window (only works if an Expert Advisor is attached to the chart)
F7 Calling properties of the Expert Advisor attached to the chart
F8 Calls chart properties
F9 Call the window for opening an order
F10 Calling the quotes window
F11 Full screen mode
F12 Moves the price chart one candle forward. To move one candle backward, use the combination “Shift” + “F12”
The next group of hotkeys is

Keys for setting the chart appearance

“+” Increase the scale of the graph
“-” Reducing the scale of the chart
Alt + 1 Displays the chart as bars
Alt + 2 Displays a candlestick chart
Alt + 3 Displays the graph as a line
Ctrl + G Displays a grid on the chart
Ctrl + H Displays OHLC data in the upper left corner of the chart
Ctrl + L Displays volumes
Ctrl + Y Displays period separators
Ctrl + A Resets the height of indicator windows
Another group of hot keys –

Tab keys

Ctrl + B Opens the “Object List”
Ctrl + U Display the symbols window
Ctrl + M Call the “Market Watch” tab
Ctrl + D Call the “Data Window” tab
Ctrl + N Call the “Navigator” tab
Ctrl + T Call the “Terminal” tab
Ctrl + R Call the strategy tester
Ctrl + E Enables / disables “Auto Trading”
Ctrl + F Call the measuring tool (crosshairs)
Ctrl + I Calls up a list of active indicators
Ctrl + W Closes the active chart
Ctrl + O Calls up the MT4 terminal settings menu
Ctrl + F6 Switch to the next chart window
Ctrl + F5 Change profile to next
Shift + F5 Change profile to previous
We still have keys that can be collected into a consolidated group –

Different keys

Ctrl + S Save chart data in “CSV”, “PRN”, “HTM” format
Ctrl + P Print graph
ESC Close window / dialog
Delete Deletes the selected object
Backspace Deletes the last object added to the chart
Ctrl + C Save to clipboard
Ctrl + Z Undo the last action
Alt + F4 Close metatrader 4 terminal

I have described almost all known hotkeys for you. Let me remind you that those of them that I myself actively use are highlighted in red. Among the rest, you can choose the most convenient for you. And there is another way – create your own keyboard shortcuts. We will talk about this now.

How do I create my own keyboard shortcuts?

I will make a reservation right away that you can assign hotkeys only for elements of the “Navigator” window (except for accounts), and not at all for the realization of your fantasies. I will show you with the example of one of the indicators that I use most often.

So, open the “Navigator” (Ctrl + N) and open the contents of the “Indicators” tab. Click with the RIGHT mouse on the required indicator:

Click on the line “Set hotkey”, a window will open:

In the row of the required indicator, click on the cell in the “Key” column, a window will appear in it and the “Control” cell will be filled:

Enter the desired letter into the window, click on the “Install” button and close the window. Now, if I use this key combination – Alt + N-, then a window with indicator properties will immediately open on the price chart, where my most recent settings will be.

You may have two questions.

1st question. If I don’t like the Alt key, can I do without it? – You cannot do without a control key, but you can replace it with Ctrl. To do this, click on the cell in the “Control” column, a drop-down button will appear, clicking on which you will see all possible options:

There is nothing more you can do, but this is quite enough.

2nd question: how do you know which keys are free? – Click on the terminal and see what appears and disappears. Or study the entire list of hotkeys and figure out which letters (and numbers!) Are not yet used.

But there is another way. You can find in the list of hotkeys that combination that you definitely will not use, and use the letter from this combination. The trick here is that the hotkeys you assign have a higher priority than the ones originally stored in the terminal. For example, the combination Ctrl + P allows you to print a graph. If you assign the same combination, say, to call the ATR indicator, then when these keys are pressed, the indicator will appear, and not the chart will be printed.


Please enter your comment!
Please enter your name here