Support Board
Date/Time: Wed, 04 Oct 2023 12:45:50 +0000
Shrink Price Column in DOM
View Count: 216
[2023-05-07 12:52:22] |
Jimmyz83 - Posts: 24 |
See attached pic, I have already limited the number of price digits to show in the column, but there is still lots of wasted space in the column. Is there a setting that I can change to reduce this column spacing? tks
|
![]() |
[2023-05-08 19:54:08] |
Sierra_Chart Engineering - Posts: 10588 |
The width of that column is automatically managed. One thing you can try to do is select Chart >> Recalculate and see if it resizes smaller.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2023-05-08 21:26:40] |
gcUserStudies - Posts: 85 |
See attached pic, I have already limited the number of price digits to show in the column, but there is still lots of wasted space in the column. Is there a setting that I can change to reduce this column spacing? tks
The only work around I've found is a custom study written to address this specific issue by Frozen Tundra. It copies the price into the label column (or GP1 / GP2). Since it uses GDI tool for drawing you can't have Open GL enabled on your DOM instance. The easiest way is to just add the label column next to price. Then add the study and adjust the colors/alignment etc.. to what you want. Then you can hide the values scale via the chart settings and that will remove the prices from the original price column. Then in your DOM columns just move that one all the way down off to the side. You can adjust the Label/GP1/GP2 columns smaller than the price. The price one seems stuck/fixed to a minimum size. It would be nice if you can adjust it down further based on how many digits you are using for price. But until then, this is a work around. Here is an example before/after and the study settings: Study download link is here: https://raw.githubusercontent.com/FrozenTundraTrader/sierrachart/main/price_in_label.cpp You can download the cpp file and put in your C:\SierraChart\ACS_Source folder and then do a remote build and it should work. Analysis->Build Custom Study->Select the file->Build/Remote Build |
![]() ![]() ![]() |
[2023-05-09 22:48:21] |
Jimmyz83 - Posts: 24 |
Worked great!! Thanks for the info. Attached pic
|
![]() |
To post a message in this thread, you need to log in with your Sierra Chart account: