Login Page - Create Account

Support Board


Date/Time: Sun, 08 Sep 2024 03:03:40 +0000



Changing Chartbooks with hotkey ?

View Count: 730

[2022-07-04 15:40:58]
User277997 - Posts: 22
Hi guys,

Is there a way to change chartbooks using only hotkeys. I know I can go to CB and mouse down to the chartbook I want. Unfortunately "CB" doesn't show up in the hotkey list.

In a perfect world, there's something like "Go to chart" that accepts a chart number for the move.

Any ideas ?

thanks. have a great day.
[2022-07-05 17:53:16]
John - SC Support - Posts: 34254
There is only "Previous Chartbook" and "Next Chartbook". Refer to the following:
Window, CB and CW Menus: Previous Chartbook (Window)
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-07-05 18:32:18]
JohnR - User831573 - Posts: 304
If you are willing to use a keyboard macro program, AutoHotKey can do these sort of things to work with SC.

Hope this helps,
JohnR
[2022-07-05 19:15:15]
User277997 - Posts: 22
JohnR,
Thanks. By coincidence, I just downloaded AHK. Reading the manual and stuff to get some ideas. Sounds like a great suggestion...didn't realize that it might be applicable in this instance.
[2022-07-06 16:16:56]
JohnR - User831573 - Posts: 304
I would think about this route as a solution to your issue. First make the main SC window active, then select the menu item CB, by keying ALT B, then either cursor down to the item you want, or if they are started with different letters/ numbers key in that and then press enter. You can play with the delay between commands. I chose 200ms.

Win=# + Alt=! + s = brings 7 SierraChart chart windows to the front for ES or Oil Daily use>> key combo WIN_ALT_s

  SetTitleMatchMode RegEx
  jorTitle = Sierra Chart
  if WinExist(jorTitle)   {
    WinActivate ;
    sleep,200
    Send !b
    sleep,200
    Send {down}{down}
    sleep,200
    Send {Enter}
    sleep,200
    }
[2024-07-01 05:38:47]
joshtrader - Posts: 484
Anyone else looking for this, here's an example of switching between 3 chartbooks which start with the letters 'E' (pressing the Pause key), 'P' (pressing the Scroll lock key), and 'I' (pressing the Print screen key). Modify as needed for your use case. Set the title of your SC instance using Global=>General=>GUI=>Custom Title Bar name. In this case I set it to "Sierra Chart Denali":

Thanks to JohnR who basically wrote this above, but this is a full working script using autohotkey v2.


#Requires AutoHotkey v2.0
#SingleInstance Force

SetTitleMatchMode 1

Pause::
{
if WinExist("Sierra Chart Denali") {
WinActivate ;
Sleep 10
SendInput "!b"
Sleep 10
SendInput "e"
}
}

ScrollLock::
{
if WinExist("Sierra Chart Denali") {
WinActivate ;
Sleep 10
SendInput "!b"
Sleep 10
SendInput "p"
}
}

PrintScreen::
{
if WinExist("Sierra Chart Denali") {
WinActivate ;
Sleep 10
SendInput "!b"
Sleep 10
SendInput "i"
}
}

[2024-07-08 14:24:21]
User14953 - Posts: 229
Good to see your post joshtrader.

"What options are available for navigating through charts in a chartbook at timed intervals?"
[User Discussion] - Scroll chart by chart through a chartbook at timed intervals.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account