Lesson 9 of 16beginner10 min readLast updated March 2026

MT5 Hotkeys & Keyboard Shortcuts

Essential keyboard shortcuts for faster MT5 navigation and order execution.

Key Terms

hotkeys·shortcuts·quick chart·new order·timeframe switch

Efficiency in trading is not only about strategy, it is also about execution speed and workflow fluidity. MetaTrader 5 includes an extensive set of keyboard shortcuts (hotkeys) that allow you to navigate the platform, open and manage charts, place orders, switch timeframes, and access tools without reaching for the mouse. While clicking through menus is perfectly functional, it is slower and introduces unnecessary friction into your workflow, particularly during fast-moving market conditions where seconds matter.

Learning MT5's keyboard shortcuts transforms how you interact with the platform. Tasks that normally require three or four mouse clicks, opening a new order window, switching a chart's timeframe, toggling an indicator panel, become single keystrokes. Over the course of hundreds of trading sessions, these small time savings compound into a meaningfully more efficient and less frustrating trading experience. This lesson catalogs the most important MT5 hotkeys organized by function, provides practical usage context for each, and offers a structured approach to building keyboard shortcut proficiency.

Chart Navigation Shortcuts

Chart navigation is one of the most frequent activities on MT5. These shortcuts control how you move through and view price data.

Scrolling and zooming:

ShortcutAction
Left ArrowScroll chart to the left (view older price data)
Right ArrowScroll chart to the right (view newer price data)
Up ArrowScroll chart upward (or zoom in on the price axis, depending on scale mode)
Down ArrowScroll chart downward (or zoom out on the price axis)
Numpad + (Plus)Zoom in on the chart (increase magnification, showing fewer bars)
Numpad - (Minus)Zoom out of the chart (decrease magnification, showing more bars)
HomeJump to the beginning of chart history (oldest available data)
EndJump to the most recent data (current price)
Page UpScroll chart left by one page (a large jump backward in time)
Page DownScroll chart right by one page (a large jump forward in time)

Practical tip: When you have been scrolling through historical price data to review past setups, pressing the End key immediately returns you to the current live price, much faster than scrolling or clicking the auto-scroll button.

Chart auto-scroll and shift:

ShortcutAction
Auto Scroll Button (no default hotkey, toolbar)Keeps the chart scrolled to the most recent bar
Chart Shift Button (no default hotkey, toolbar)Adds empty space to the right of the last bar for cleaner viewing

While auto-scroll and chart shift do not have default keyboard shortcuts, you can access them quickly via the toolbar icons at the top of each chart. Some traders disable auto-scroll when reviewing historical data, then re-enable it when returning to live analysis.

Timeframe Switching Shortcuts

Switching between timeframes is one of the most frequent actions in multi-timeframe analysis. MT5 provides direct keyboard access to every available timeframe.

ShortcutTimeframe
Alt + 1M1 (1-minute)
Alt + 2M5 (5-minute)
Alt + 3M15 (15-minute)
Alt + 4M30 (30-minute)
Alt + 5H1 (1-hour)
Alt + 6H4 (4-hour)
Alt + 7D1 (Daily)
Alt + 8W1 (Weekly)
Alt + 9MN (Monthly)

Additional timeframes in MT5:

MT5 supports 21 timeframes in total, including M2, M3, M4, M6, M10, M12, M20, H2, H3, H6, H8, and H12. These less common timeframes do not have default Alt + number shortcuts but can be accessed through the chart's timeframe menu or toolbar. If you frequently use non-standard timeframes, you can access them by clicking the timeframe selector on the chart toolbar.

Order and Trade Shortcuts

These shortcuts relate to opening orders, managing trades, and accessing the trade interface.

ShortcutAction
F9Open the New Order window for the active chart's instrument
Ctrl + F9Open the Trading tab in the Toolbox panel
Alt + TToggle the one-click trading panel on the active chart

The F9 shortcut in detail:

Pressing F9 opens the order entry dialog pre-populated with the symbol of the active chart. From this dialog you can:

  • Select the order type (market execution, pending limit, pending stop, or stop-limit)
  • Set the volume (lot size)
  • Define the stop-loss and take-profit levels
  • Add an order comment
  • Execute the trade by clicking "Buy" or "Sell"

For traders who prefer one-click trading (executing immediately at market price without a confirmation dialog), the Alt + T shortcut toggles the one-click trading panel directly on the chart. This panel shows the current bid and ask prices with Buy and Sell buttons, plus a volume field. Be aware that one-click trading executes orders immediately with no confirmation, use it only when you are confident in your setup and have practiced with it on a demo account.

Trade management shortcuts:

While MT5 does not provide hotkeys for modifying specific open positions (you must right-click the position in the Trade tab or double-click it), the Ctrl + F9 shortcut quickly brings the Trade tab into focus so you can see and manage all open positions and pending orders.

Window and Panel Management Shortcuts

These shortcuts control the visibility and arrangement of MT5's various panels and windows.

ShortcutAction
Ctrl + MToggle the Market Watch panel on/off
Ctrl + NToggle the Navigator panel on/off
Ctrl + TToggle the Toolbox panel on/off
Ctrl + DToggle the Data Window on/off
Ctrl + WClose the active chart window
Ctrl + F6Switch to the next open chart tab
Ctrl + F5Switch to the previous open chart tab
F11Toggle full-screen mode
Alt + 1 (with chart tab focus)Tile charts vertically
Alt + 2 (with chart tab focus)Tile charts horizontally

Practical workflow tip: When you want to maximize chart viewing area temporarily, for example, during a detailed analysis session, press Ctrl + M, Ctrl + N, and Ctrl + T in sequence to hide the Market Watch, Navigator, and Toolbox panels. This gives the chart area the full width and height of the application window. Press the same combinations again to restore each panel when needed.

Full-screen mode (F11):

The F11 shortcut toggles full-screen mode, which hides the Windows taskbar, the MT5 title bar, and all toolbars, leaving only the chart area visible. This is useful for presentations, focused analysis sessions, or when you want the maximum possible chart size on a single monitor. Press F11 again to return to the normal view.

Chart Object and Drawing Tool Shortcuts

Drawing tools are essential for marking support and resistance levels, trendlines, and other technical structures on charts.

ShortcutAction
Ctrl + BOpen the Object List dialog (shows all drawn objects on the active chart)
BackspaceDelete the most recently placed object on the chart
DeleteDelete a selected object on the chart
Ctrl + ZUndo the last deleted object (restore)

Working with drawing tools:

While MT5 does not assign default keyboard shortcuts to specific drawing tools (trendline, horizontal line, rectangle, etc.), you can access them quickly through the toolbar at the top of the chart or the "Insert" menu. For frequently used tools:

  1. The toolbar provides one-click access to common drawing objects, look for the line, arrow, and shape icons in the main toolbar.
  2. After selecting a drawing tool from the toolbar, click on the chart to place it. The tool remains active for subsequent placements until you press Escape or select the crosshair cursor.
  3. To select an existing object for modification or deletion, hold Ctrl and click on the object, or double-click it directly.

General Platform Shortcuts

These shortcuts provide access to platform-level functions and tools.

ShortcutAction
Ctrl + OOpen the Options dialog (platform settings)
Ctrl + PPrint the active chart
Ctrl + SSave the active chart's data to a file (exports price data as CSV)
Ctrl + GToggle the chart grid on/off
Ctrl + HToggle the OHLC line (showing Open, High, Low, Close values at the top of the chart)
Ctrl + LToggle the volume display at the bottom of the chart
Ctrl + YToggle the period separators on the chart (vertical lines marking day, week, or month boundaries)
Ctrl + IOpen the Indicators dialog for the active chart
Ctrl + EEnable or disable Expert Advisors (automated trading programs)
F1Open the MT5 Help documentation
F2Open the History Center (historical data manager)
F3Open the Global Variables dialog
F4Open the MetaEditor (MQL5 code editor)
F5Switch to the next profile
F6Open the Strategy Tester for the selected Expert Advisor
F7Open the properties of the Expert Advisor attached to the active chart
F8Open the Chart Properties dialog for the active chart
F10Open the Popup Prices window (a compact quote display)
F12Move the chart forward by one bar (useful for manual backtesting)
Shift + F12Move the chart backward by one bar

Manual backtesting with F12 and Shift + F12:

The F12 shortcut deserves special attention. It advances the chart by exactly one bar, while Shift + F12 moves it back one bar. This functionality is extremely useful for manual backtesting, the process of reviewing historical data bar-by-bar to test how your trading strategy would have performed. By disabling auto-scroll and using F12 to step forward through history, you can simulate real-time trading conditions and practice your decision-making on past data without needing specialized backtesting software.

Customizing Hotkeys in MT5

MT5 allows limited customization of keyboard shortcuts, primarily for functions accessible through the toolbar and MQL5 scripts.

Assigning hotkeys to scripts and programs:

  1. Open the Navigator panel (Ctrl + N).
  2. Locate the script or Expert Advisor you want to assign a hotkey to.
  3. Right-click and select "Set Hotkey."
  4. Press the desired key combination in the dialog.
  5. Click "Assign" to confirm.

This is particularly useful for custom scripts that perform repetitive actions, for example, a script that closes all open positions, a script that places a specific order type, or a script that modifies all stop-loss levels. Assigning these to a hotkey transforms multi-step processes into single keystrokes.

Limitations of hotkey customization:

  • You cannot reassign the built-in shortcuts listed above (F9, Ctrl + M, etc.), they are hardcoded into the platform.
  • Custom hotkeys can only be assigned to items in the Navigator panel (scripts, Expert Advisors, indicators).
  • Key combinations already used by the system (Ctrl + C, Ctrl + V, etc.) may conflict with custom assignments.

Building Shortcut Proficiency

Memorizing all MT5 shortcuts at once is neither practical nor necessary. Instead, adopt a progressive learning approach:

Week 1, Navigation essentials: Focus on chart navigation (arrow keys, zoom, Home, End) and timeframe switching (Alt + number). These are the shortcuts you will use most frequently.

Week 2, Panel management: Add Ctrl + M, Ctrl + N, Ctrl + T for toggling panels, and F9 for the order window. Practice hiding and showing panels to maximize chart space.

Week 3, Chart tools: Incorporate Ctrl + B (object list), Ctrl + G (grid toggle), Ctrl + Y (period separators), and Ctrl + I (indicators dialog). These shortcuts streamline chart configuration.

Week 4, Advanced functions: Add F12 / Shift + F12 for manual backtesting, F11 for full-screen mode, and Ctrl + S for data export. Explore custom script hotkeys if applicable to your workflow.

Practice strategy: During each trading session, consciously choose to use keyboard shortcuts instead of the mouse for the shortcuts you are currently learning. The initial slowdown is temporary, within a few days, each shortcut becomes automatic.

Quick Reference Card

For convenient reference, here are the top 20 shortcuts every MT5 user should know, grouped by frequency of use:

Used every session:

  • F9, New Order
  • Alt + 5 through Alt + 9, Switch timeframes (H1 to Monthly)
  • End, Jump to current price
  • Numpad +/-, Zoom in/out
  • Ctrl + T, Toggle Toolbox

Used frequently:

  • Ctrl + M, Toggle Market Watch
  • Ctrl + N, Toggle Navigator
  • F11, Full-screen mode
  • Ctrl + W, Close chart
  • Ctrl + F6, Next chart tab

Used for analysis:

  • Ctrl + B, Object list
  • Ctrl + I, Indicators dialog
  • Ctrl + G, Toggle grid
  • Ctrl + Y, Period separators
  • F8, Chart properties

Used for special workflows:

  • F12, Step forward one bar
  • Shift + F12, Step back one bar
  • Ctrl + S, Save chart data
  • F2, History Center
  • Ctrl + E, Toggle Expert Advisors

Key Takeaways

  • F9 is the most critical trading shortcut. It instantly opens the New Order window pre-populated with the active chart's symbol, eliminating multiple clicks during fast-moving market conditions.
  • Alt + number switches timeframes instantly. Alt + 5 through Alt + 9 cover H1 through Monthly timeframes, making multi-timeframe analysis fluid and efficient.
  • Panel toggles (Ctrl + M/N/T) maximize chart space. Hiding the Market Watch, Navigator, and Toolbox panels when not needed gives your charts the full application window.
  • Ctrl + B manages chart objects efficiently. The Object List dialog is the fastest way to find, modify, or delete drawing objects, especially on cluttered charts.
  • F12 enables manual backtesting. Stepping forward one bar at a time through historical data lets you practice trade decisions on past data without specialized software.
  • Learn shortcuts progressively, not all at once. Focus on one category per week, navigation, panels, chart tools, then advanced, to build lasting muscle memory.
  • Custom scripts can be assigned hotkeys. For repetitive tasks not covered by default shortcuts, create or install an MQL5 script and assign it a keyboard shortcut through the Navigator panel.

This lesson is for educational purposes only. It does not constitute financial advice. Trading forex involves significant risk of loss and is not suitable for all investors.

Sign up to read this lesson

Create a free account to start reading. Get 5 free lessons every month, or upgrade to Pro for unlimited access.