Skip to main content
Version: latest

Keyboard shortcuts

Overview

This article lists shortcuts built in Advanced Charts and Trading Platform. You cannot override or disable most of builtin shortcuts. Only the shortcuts listed below can be disabled using the corresponding featureset:

However, you can specify custom shortcuts using the onShortcut method. For example, the code sample below specifies a shortcut that opens Symbol Search.

// Alt+Q
widget.onShortcut("alt+q", function() {
widget.chart().executeActionById("symbolSearch");
});
info

The shortcut dialog that can be seen on tradingview.com is not available in the libraries. Therefore, you need to implement a custom dialog if necessary.

Advanced Charts shortcuts

The shortcuts below are available in Advanced Charts and Trading Platform.

tip

On macOS, you can use // instead of Ctrl/Alt/Shift.

Chart

You can use the following shortcuts to interact with the chart.

ActionShortcut
Open Quick SearchCtrl + K
Open indicators/
Load chart layout.
Save chart layoutCtrl + S
UndoCtrl + Z
RedoCtrl + Y
Change symbolStart typing a symbol name
Change intervalDigit or ,
Move chart 1 bar to the left
Move chart 1 bar to the right
Zoom inCtrl +
Zoom outCtrl +
Move further to the leftCtrl +
Move further to the rightCtrl +
Toggle maximize paneDouble-click the pane
Toggle collapse paneCtrl + Double-click the pane
Go to dateAlt + G
Take snapshot, saving URL to clipboardAlt + S
Reset chartAlt + R
Invert series scaleAlt + I
Enable/disable logarithmic series scaleAlt + L
Enable/disable percent series scaleAlt + P
Zoom in focused areaCtrl + Wheel
Start keyboard navigationAlt + Z
Tab if accessible_keyboard_shortcuts is enabled

Indicators and drawings

You can use the following shortcuts to interact with indicators and drawings.

ActionShortcut
Partially erase drawingEraser + Ctrl
Enable Gann box fixed incrementsHold Shift
Enable measure toolHold Shift + Click
Copy selected objectCtrl + C
Paste objectCtrl + V
Temporary turn on/off magnet modeCtrl + Move a point
Hide all drawingsCtrl + Alt + H
Clone a drawingCtrl + Drag
Select multiple drawingsHold Ctrl + Click
Move a drawing horizontally or verticallyDrag + Shift
Move selected drawing left
Move selected drawing right
Move selected drawing up
Move selected drawing down
Draw Trend lineAlt + T
Draw Horizontal lineAlt + H
Draw Vertical lineAlt + V
Draw Cross lineAlt + C
Draw Fib retracementAlt + F
Draw RectangleAlt + Shift + R
Draw SquareRectangle + Shift
Draw CircleEllipse + Shift
Draw 45 degrees angle or horizontalTrend line or Channel + Shift

Trading Platform shortcuts

The shorcuts below are available in Trading Platform only.

Chart

You can use the following shortcuts to interact with the chart.

ActionShortcut
Switch between chartsTab
Shift + if accessible_keyboard_shortcuts is enabled
Switch between charts in reverse orderShift + Tab
Shift + if accessible_keyboard_shortcuts is enabled
Toggle maximize chartAlt + Enter or Alt + Click
Add symbol to watchlistAlt + W

Watchlist

You can use the following shortcuts to interact with watchlist.

ActionShortcut
Switch to next symbol or Space
Switch to previous symbol or Shift + Space
Select all symbolsCtrl + A
Select next symbolShift +
Select previous symbolShift +

Trading

You can use the following shortcuts to trade.

ActionShortcut
Place market order to buyShift + B
Place market order to sellShift + S
Place limit orderClick the DOM cell
Place stop orderCtrl + Click the DOM cell