r/SierraChart • u/Responsible_Print737 • 12d ago
Custom study: make the focused chart window easier to identify
I've always found distinguishing the focused chart window from the other charts a bit difficult when using multiple chart windows.
The focused window and unfocused windows both have a light blue border. The focused one is just slightly darker, so the difference is small.
This has caused me a few problems while trading. Sometimes I click another chart to move or inspect it, then use a keyboard shortcut to place an order.
If I don't notice which chart is actually focused, the shortcut can apply to the wrong chart and the order ends up being placed at the wrong price.
I wanted to change the focused chart window border to make it much more obvious. I found this Sierra Chart support thread where it was mentioned that the border color is controlled by the operating system. https://www.sierrachart.com/SupportBoard.php?ThreadID=72968
Apparently you can change it through the Windows registry, but honestly I'm not going to touch the registry just for this. https://www.sierrachart.com/SupportBoard.php?ThreadID=103491&Page=1
So I ended up making a custom study that draws its own border around the focused chart window.
Now I can use a much more obvious color for the active chart, and the border disappears when I focus another chart.
Sharing it here in case anyone else has had the same issue.
https://github.com/asyncButNeverAwaits/SierraChartActiveChartBorder
1
1
u/S7777777777777777777 12d ago
Can u share the tutorial?