Keyboard shortcuts
Overview
This article lists shortcuts built in Advanced Charts and Trading Platform. You cannot override or disable most of built‑in shortcuts. Only the shortcuts listed below can be disabled using the corresponding featureset:
- Open indicators using
insert_indicator_dialog_shortcut
- Save chart layout using
save_shortcut
- Start keyboard navigation using
accessibility
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");
});
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.
On macOS, you can use ⌘/⌥/⇧ instead of Ctrl/Alt/Shift.
Chart
You can use the following shortcuts to interact with the chart.
Action | Shortcut |
---|---|
Open Quick Search | Ctrl + K |
Open indicators | / |
Load chart layout | . |
Save chart layout | Ctrl + S |
Undo | Ctrl + Z |
Redo | Ctrl + Y |
Change symbol | Start typing a symbol name |
Change interval | Digit or , |
Move chart 1 bar to the left | ← |
Move chart 1 bar to the right | → |
Zoom in | Ctrl + ↑ |
Zoom out | Ctrl + ↓ |
Move further to the left | Ctrl + ← |
Move further to the right | Ctrl + → |
Toggle maximize pane | Double-click the pane |
Toggle collapse pane | Ctrl + Double-click the pane |
Go to date | Alt + G |
Take snapshot, saving URL to clipboard | Alt + S |
Reset chart | Alt + R |
Invert series scale | Alt + I |
Enable/disable logarithmic series scale | Alt + L |
Enable/disable percent series scale | Alt + P |
Zoom in focused area | Ctrl + Wheel |
Start keyboard navigation | Alt + Z Tab if accessible_keyboard_shortcuts is enabled |
Indicators and drawings
You can use the following shortcuts to interact with indicators and drawings.
Action | Shortcut |
---|---|
Partially erase drawing | Eraser + Ctrl |
Enable Gann box fixed increments | Hold Shift |
Enable measure tool | Hold Shift + Click |
Copy selected object | Ctrl + C |
Paste object | Ctrl + V |
Temporary turn on/off magnet mode | Ctrl + Move a point |
Hide all drawings | Ctrl + Alt + H |
Clone a drawing | Ctrl + Drag |
Select multiple drawings | Hold Ctrl + Click |
Move a drawing horizontally or vertically | Drag + Shift |
Move selected drawing left | ← |
Move selected drawing right | → |
Move selected drawing up | ↑ |
Move selected drawing down | ↓ |
Draw Trend line | Alt + T |
Draw Horizontal line | Alt + H |
Draw Vertical line | Alt + V |
Draw Cross line | Alt + C |
Draw Fib retracement | Alt + F |
Draw Rectangle | Alt + Shift + R |
Draw Square | Rectangle + Shift |
Draw Circle | Ellipse + Shift |
Draw 45 degrees angle or horizontal | Trend 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.
Action | Shortcut |
---|---|
Switch between charts | Tab Shift + → if accessible_keyboard_shortcuts is enabled |
Switch between charts in reverse order | Shift + Tab Shift + ← if accessible_keyboard_shortcuts is enabled |
Toggle maximize chart | Alt + Enter or Alt + Click |
Add symbol to watchlist | Alt + W |
Watchlist
You can use the following shortcuts to interact with watchlist.
Action | Shortcut |
---|---|
Switch to next symbol | ↓ or Space |
Switch to previous symbol | ↑ or Shift + Space |
Select all symbols | Ctrl + A |
Select next symbol | Shift + ↓ |
Select previous symbol | Shift + ↑ |
Trading
You can use the following shortcuts to trade.
Action | Shortcut |
---|---|
Place market order to buy | Shift + B |
Place market order to sell | Shift + S |
Place limit order | Click the DOM cell |
Place stop order | Ctrl + Click the DOM cell |