Support Board
Date/Time: Wed, 12 Mar 2025 21:58:23 +0000
[Programming Help] - Is it possible to create shortcuts to adjust the chart range (not bar period)?
View Count: 388
[2022-05-27 16:58:28] |
User8123771 - Posts: 1 |
For example, if viewing a daily bar period historical chart, I need an easy way to toggle between viewing the last month, last 6 months, last year, etc. To be clear, I don't want to change the bar period, I want to adjust the range of data shown. I know I can drag on the X axis to manually scale, but it would be a lot more convenient for me to be able to add buttons in the control bar for the different ranges since i have to do this a lot. Thanks |
[2022-05-27 17:46:01] |
JohnR - User831573 - Posts: 319 |
I have not found a direct way to do this, but there are read only variables - First visible bar and last visible bar. There are read / write calls to set the scale, but not the visible bars. Maybe SC can change these 2 variables to read/write. It may exist and I have not found it, as most things are possible in SC. Another work around would be to use AutoHotKey and write a macro that simulates a specific # of Cntl + arrow presses to achieve what you want Hope this helps, JohnR Date Time Of Last Edit: 2022-05-27 17:51:56
|
To post a message in this thread, you need to log in with your Sierra Chart account: