Keyboard shortcuts
Overview
This article lists shortcuts built in Advanced Charts and Trading Platform.
You cannot override or disable built‑in shortcuts, except for the Open indicators, Save chart layout, and Enable keyboard navigation shortcuts that can be disabled using the insert_indicator_dialog_shortcut
,save_shortcut
, and accessibility
featuresets, respectively.
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");
});
A shortcut dialog 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.
Chart
You can use the following shortcuts to interact with the chart.
Action | Shortcut |
---|---|
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 + , |
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 | 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 |
Enable keyboard navigation | Alt + Z |
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 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 |
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 |