MT4 Keyboard Shortcuts: Every Default Key Explained
Share
MT4 keyboard shortcuts cover charts, windows and order entry: F9 opens a new order, Ctrl+M shows Market Watch, Ctrl+T toggles the Terminal and the arrow keys and +/- move and zoom the chart. MetaTrader 4 has about fifty default hotkeys, but none of them buys or sells instantly. This guide explains every default key from the official MetaQuotes help, the handful worth memorizing, and how to add buy and sell hotkeys of your own.

Key takeaways
- The most useful MT4 keyboard shortcuts are F9 (New Order), Ctrl+F9 (Terminal Trade tab), Ctrl+T (Terminal), Ctrl+M (Market Watch), Ctrl+N (Navigator), F11 (full screen) and Ctrl+E (Expert Advisors on or off).
- Enter opens the fast navigation box, where you can type a symbol or a timeframe to change the chart without the mouse.
- There are no default MT4 hotkeys to buy or sell at market. You need one-click trading, scripts with custom hotkeys, an Expert Advisor or a keypad add-on.
- Custom hotkeys assigned in the Navigator override the default ones, so pick combinations you do not already use.
- Every shortcut goes to the focused window. Click the chart before you press anything that trades.
What are the most important MT4 keyboard shortcuts?
If you learn only one table of MT4 keyboard shortcuts, make it this one. These keys handle almost everything you do during a live session in MetaTrader 4.
| Shortcut | Action | Why it matters |
|---|---|---|
| F9 | Open the New Order window | Fastest manual route to a market or pending order |
| Ctrl+F9 | Open Terminal > Trade and focus it | Jump straight to your open positions |
| Ctrl+T | Show or hide the Terminal | Free up chart space, then bring it back |
| Ctrl+M | Show or hide Market Watch | Check spreads and pick symbols |
| Ctrl+N | Show or hide the Navigator | Reach accounts, EAs, indicators and scripts |
| F11 | Toggle full-screen mode | Maximum chart area on one monitor |
| Ctrl+E | Enable or disable Expert Advisors | Instantly stop or allow all EA trading |
| Enter | Open or close fast navigation | Type a symbol or timeframe |
| + / - | Zoom in or out | See more or fewer bars |
| Ctrl+F | Enable the crosshair | Measure distance in points and bars |

The full list follows the grouping on the official MetaTrader 4 fast navigation and hot keys help page.
What is the full list of default MT4 keyboard shortcuts?
Chart navigation keys
These MT4 keyboard shortcuts work when a chart window has focus.
- Left Arrow / Right Arrow: scroll the chart left or right.
- Up Arrow / Down Arrow: fast scroll left or right; with a fixed scale, scroll the chart up or down.
- Page Up / Page Down: fast scroll left or right.
- Home / End: jump to the start or the end of the chart.
- F12 / Shift+F12: move the chart one bar left or one bar right.
- NumPad 5: restore the automatic vertical scale after you changed it.
- + / -: zoom in or out.
Chart display keys
- Alt+1 / Alt+2 / Alt+3: show bars, candlesticks or a line chart.
- Ctrl+A: reset all indicator window heights to default.
- Ctrl+F: enable the crosshair.
- Ctrl+G: show or hide the grid.
- Ctrl+H: show or hide the OHLC line.
- Ctrl+L: show or hide volumes.
- Ctrl+Y: show or hide period separators.
- F11: full-screen mode on or off.
Objects and editing
- Delete: delete all selected graphical objects.
- Backspace: delete the objects added to the chart most recently.
- Alt+Backspace or Ctrl+Z: undo an object deletion.
- Ctrl+C or Ctrl+Insert: copy to the clipboard.
- Ctrl+B: open the Objects List.
- Ctrl+I: open the Indicators List.
Function keys
- F1: open the User Guide.
- F2: open the History Center.
- F3: open Global Variables.
- F4: open MetaEditor.
- F6: open the Tester for the Expert Advisor attached to the chart.
- F7: open the properties of the attached Expert Advisor.
- F8: open the chart setup window.
- F9: open the New Order window.
- F10: open Popup Prices.
Windows, panels and the terminal
- Ctrl+D: show or hide the Data Window.
- Ctrl+M: show or hide Market Watch.
- Ctrl+N: show or hide the Navigator.
- Ctrl+T: show or hide the Terminal.
- Ctrl+F9: open the Terminal's Trade tab and move focus to it.
- Ctrl+R: show or hide the Tester.
- Ctrl+O: open the Options (setup) window.
- Ctrl+E: enable or disable Expert Advisors.
- Alt+W: open the window that manages open charts.
- Ctrl+F6: activate the next chart window.
- Ctrl+F5 / Shift+F5: switch to the next or previous profile.
- Ctrl+W or Ctrl+F4: close the current chart window.
- Ctrl+P: print the chart.
- Ctrl+S: save the chart data as a CSV, PRN or HTM file.
- Alt+A: copy all test and optimization results to the clipboard.
- Enter: open or close fast navigation.
- Esc: close a dialog window.
- Alt+F4: close the terminal.
How do you change symbol and timeframe in MT4 with the keyboard?
MT4 has no single-key timeframe shortcuts, but the fast navigation box comes close.
- Click the chart so it has focus.
- Press Enter, or simply start typing. A small box appears in the lower-left corner of the chart.
- Type a symbol such as GBPUSD to switch instrument, or a timeframe such as M15, H1 or D1 to switch period.
- Press Enter again to apply.
The official help documents a few more entries the box accepts, which are handy for reviewing past price action:
- Symbol and period together, separated by a comma, for example GBPUSD, M30.
- A period in minutes without the M, for example 30 for M30.
- A time such as 8:30 to scroll the chart to that time.
- A date such as 2024.10.16, or a date and time together, to jump straight to that day on the chart.
Only one command runs per entry, and Esc closes the box without changing anything. You can also open it with the mouse by double-clicking the small fast navigation icon in the lower-left corner of the chart. If you also use TradingView, compare this with its type-a-number method in our TradingView keyboard shortcuts guide.
Are there MT4 hotkeys to buy and sell?
Not by default: none of the MT4 keyboard shortcuts places a trade. This is the most common surprise for traders moving to MetaTrader 4. The closest built-in options are:
- F9 then a button. F9 opens the New Order window; you still click Sell by Market or Buy by Market.
- One Click Trading. Enable it under Tools > Options > Trade and show the panel by right-clicking the chart and choosing One Click Trading. Orders then go out on a single click of the panel's BUY or SELL button, with no confirmation. See what one click trading means and whether it is safe before you turn it on.
- Ctrl+F9 for position management. It puts focus on the Trade tab so you can review positions, but closing still happens through the order window.
To get true buy and sell hotkeys, you add them yourself.
How do you create custom MT4 hotkeys for buy, sell and close?
MetaTrader 4 lets you assign a key combination to any script, indicator or Expert Advisor in the Navigator. With trading scripts, that gives you keyboard order entry.

Step 1: Install the trading scripts
Open File > Open Data Folder, go to MQL4 > Scripts and copy in the scripts you want, for example buy, sell and close scripts from a source you trust or written in MQL4 yourself.
Step 2: Refresh the Navigator
Back in MT4, right-click Scripts in the Navigator and choose Refresh, or restart the terminal.
Step 3: Assign a hotkey
Right-click a script, choose Set hotkey, and select a modifier and key, for example Ctrl+Shift+B for a buy script. Avoid combinations from the default list: a custom hotkey overrides the built-in one, so assigning Ctrl+O would disable the Options shortcut.
Step 4: Remove the confirmation if you want instant execution
Many scripts show a parameters window before they run. Turning that off in the script's properties makes the hotkey instant. Only do this once you trust the script.
Step 5: Test on a demo account
Check each hotkey with the chart focused, then with another window focused, and confirm the lot size and the stop loss that each script uses.
The same mechanism is how many people connect a programmable macro pad to MetaTrader, as explained in our comparison of a macro pad for trading.
Why are MT4 keyboard shortcuts not working?
When a key does nothing, or does something unexpected, the cause is almost always one of these:
- The wrong window has focus. Chart navigation keys only work on a focused chart. Click the chart and try again.
- A custom hotkey took over. If you assigned the same combination to a script or indicator, the custom hotkey wins. Check with right-click > Set hotkey in the Navigator.
- A laptop function row. On many laptops F9 or F11 control volume or brightness first, so you need the Fn key or a BIOS/keyboard setting to make them standard F-keys.
- Expert Advisors are disabled. If a hotkey runs an EA or script that trades, Ctrl+E or the toolbar button may have switched automated trading off.
How are MT4 keyboard shortcuts different from MT5?
Most MT4 keyboard shortcuts work the same way in MT5, so muscle memory transfers. The differences worth knowing:
- In MT4 the bottom panel is called the Terminal; in MT5 it is the Toolbox. Ctrl+T toggles it in both.
- F2 opens the History Center in MT4 and the Task Manager in MT5.
- Ctrl+F6 activates the next chart in MT4; MT5 uses Ctrl+F6 for the previous chart and Ctrl+Shift+F6 for the next.
- MT5 adds Ctrl+K to show real volumes, which MT4 does not have.
For the MT5 side, see our full list of MetaTrader 5 keyboard shortcuts, which follows the official MetaTrader 5 hot keys reference.
How does a KT Pad add trading hotkeys to MT4?
A KT Pad fills the gap that the default MT4 keyboard shortcuts leave. Each key sends a Shift+letter combination, and the KT Pad MT4 add-on, an Expert Advisor you attach to the chart, turns those keystrokes into trading actions and shows a HUD with lot size, stop loss and take profit on the chart. Install it by copying the file for your edition into MQL4 > Experts, attaching it to a chart and making sure Expert Advisors are enabled (the same Ctrl+E toggle from the list above).

What the keys do in MT4:
- BUY / SELL (Mini) or BUY MARKET / SELL MARKET (PRO): open a trade with the size and SL/TP shown on the HUD.
- CLOSE: pick a position with the knob and push to close it; double-press to close all.
- CANCEL: remove a pending order; double-press to cancel all.
- BREAK EVEN: move the stop to entry once, or start auto-trailing.
- MODIFY SL/TP: change the stop and target of an open trade.
- PRO only: BUY LIMIT and SELL LIMIT, PARTIAL 25% and PARTIAL 50%, REVERSE, TIMEFRAME, and a ZOOM knob that zooms the chart and jumps to M1 on push.
Because the add-on works on whichever chart has focus, you switch symbols with the fast navigation box or a click and keep trading with the same keys. Files and install videos are on the KT Keyboards downloads page.
Which MT4 keyboard shortcuts should you learn first?
Start with F9, Ctrl+F9, Ctrl+T, Ctrl+M and Enter for fast navigation, then add F11 and the zoom keys. Once those are automatic, decide how you want to handle order entry: one-click trading, custom script hotkeys, or a dedicated keypad. If you want labeled keys for buy, sell, close and break even without writing scripts, take a look at the KT Pad Mini and PRO.
FAQ
What is the shortcut for a new order in MT4?
F9 opens the New Order window for the active symbol. You then choose the volume, stop loss and take profit and click Sell by Market or Buy by Market.
Is there a hotkey to buy or sell instantly in MT4?
No default key does it. You can enable One Click Trading under Tools > Options > Trade, assign custom hotkeys to buy and sell scripts in the Navigator, or use a keypad with an MT4 add-on.
How do I change the timeframe in MT4 with the keyboard?
Click the chart, press Enter to open fast navigation, type a period such as M5, H1 or D1 and press Enter. You can also type a symbol and period together, like EURUSD,H4.
What does Ctrl+E do in MT4?
Ctrl+E enables or disables Expert Advisors. When it is off, no EA can trade, including keypad add-ons, so it is also a quick emergency stop for automated strategies.
Can I change the default MT4 keyboard shortcuts?
You cannot edit the built-in list, but you can assign custom hotkeys to scripts, indicators and EAs via right-click > Set hotkey in the Navigator. Custom hotkeys override defaults that use the same keys.