MetaTrader 5 HelpGetting StartedFor Advanced UsersHot Keys

Key Shortcuts

Keyboard shortcuts (also referred to as hotkeys) are keys and their combinations that allow to execute various commands fast and without using menus or toolbars. Keyboard shortcuts can be assigned for calling any element of the Navigator window, except for elements of the Accounts group. In order to assign a combination of keys to an element, the "Set hotkey Set hotkey" command of its context menu should be executed.

Assigned hotkeys are of higher priorities than predefined ones. For example, initially the "Ctrl+O" combination calls the platform setup window. If call of the "On Balance Volume" indicator is set to the same combination, "Ctrl+O" will not call the platform setup window any more.

Predefined keyboard shortcuts execute various functions depending on what platform interface window is currently active. Some hotkeys execute certain functions independent of focus.

Keyboard shortcuts in the Chart Window

Hotkeys

Description

Left Arrow

Scroll chart to the left.

Right Arrow

Scroll chart to the right.

Up Arrow

Fast chart scroll to the left; in case of a fixed scale — chart scroll upwards.

Down Arrow

Fast chart scroll to the right; in case of a fixed scale — chart scroll downwards.

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 scroll to the left.

Page Down

Fast chart scroll to the right.

Home

Move chart to the start point.

End

Move chart to the end point.

"-"

Zoom out chart.

"+"

Zoom in chart.

Delete

Delete all selected graphical objects.

Backspace

Delete the latest objects imposed to a chart.

Enter

Open/close fast navigation bar.

Keyboard shortcuts for Working with Charts, Independent of the Active Window

Hotkeys

Description

F2

Open MQL5 code base published at MQL5.community for downloading.

F7

Call the window with properties of an EA attached to a chart window for changing its settings.

F8

Call the chart setup window.

F12

Move chart by one bar to the left.

Shift+F12

Move chart by one bar to the right.

Shift+F5

Switch to the previous profile.

Alt+1

Show chart as a sequence of bars.

Alt+2

Show chart as a sequence of candlesticks.

Alt+3

Show chart as a broken line.

Alt+W

Call open chart managing window.

Alt+Backspace or Ctrl+Z

Cancel object deletion.

Ctrl+A

Arrange height of all indicator windows by default.

Ctrl+B

Call the "Objects List" window.

Ctrl+F

Enable "Crosshair".

Ctrl+G

Show/hide grid.

Ctrl+H

Show/hide the OHLC line.

Ctrl+I

Call the "Indicators List" window.

Ctrl+K

Show/hide real volumes.

Ctrl+L

Show/hide volumes.

Ctrl+P

Print the chart.

Ctrl+S

Save chart as "CSV", "PRN" or "HTM" file.

Ctrl+W or Ctrl+F4

Close the current chart window.

Ctrl+Y

Show/hide period separators.

Ctrl+F5

Switch to the next profile.

Ctrl+F6

Activate the previous chart window.

Ctrl+Shift+F6

Activate the next chart window.

Hotkeys in the Market Watch Window

Hotkeys

Description

F9

Call the "New Order" window.

Space/Tab

Switch between "Symbols", "Details", "Trading" and "Ticks" tabs.

A

Auto arrange columns in the "Symbols" tab.

G

Show/hide grid.

Hotkeys in the Navigator Window

Hotkeys

Description

Enter

Depending on sections can perform: Authorization using a selected account, opening of a selected Expert Advisor, custom indicator or script in MetaEditor.

Insert

Open a new account when selecting the "Accounts" section or a certain trade server.

Delete

Delete a selected account, Expert Advisor, custom indicator or script.

G

Show/hide grid in the "Favorites" tab.

Hot Keys in the Data Window

Hotkeys

Description

Ctrl+C

Copy information to clipboard for using it in other applications.

A

Enable/disable auto sizing of columns.

G

Show/hide grid.

Hotkeys in the "Toolbox" Window

Hotkeys

Description

F9

Call the "New Order" window.

Enter

View a selected news, e-mail, application or modify a selected alert - depending on the tab selected.

Insert

Create a new e-mail or alert - depending on the tab selected.

Delete

Delete an e-mail or alert - depending on the tab selected.

Space

Unwrap a branch of mails or enable/disable an alert - depending on the tab selected.

C

Copy the selected journal line of the platform or Expert Advisors to the clipboard.

D

Download the selected application at the Code Base tab.

R key

Show/hide the column of news categories.

A

Enable/disable auto sizing of columns.

G

Show/hide grid.

Common Actions in the Platform

Hotkeys

Description

Esc

Close dialog windows.

F1

Open the "Userguide"

F3

Open the "Global variables" window.

F4

Start MetaEditor.

F6

Call the "Tester" window for testing an Expert Advisor attached to a chart window.

F9

Call the "New Order" window.

F10

Open "Quotes Window".

F11

Enable/disable fullscreen mode. The fullscreen mode hides all platform windows except the chart. If you have manually opened additional windows, when you exit and re-enter the fullscreen mode, they will be hidden again while your changes will not be saved.

Alt+F4

Close the platform.

Ctrl+C or Ctrl+Insert

Copy to clipboard.

Ctrl+D

Open/close the "Data Window".

Ctrl+E

Allow/prohibit use of Expert Advisors.

Ctrl+M

Open/close the "Market Watch" window.

Ctrl+N

Open/close the "Navigator" window.

Ctrl+O

Open the "Settings" window.

Ctrl+R

Open/close the "Tester" window.

Ctrl+T

Open/close the "Toolbox" window.

Ctrl+F9

Open the "Trade" tab in the "Toolbox" window and switch the control focus to it. After that trade activities can be managed using the keyboard.