Login Page - Create Account

Support Board


Date/Time: Sat, 05 Jul 2025 10:46:57 +0000



[User Discussion] - Expanding charts that have locked fill space

View Count: 2693

[2015-02-23 16:46:16]
GrigorHagop - Posts: 18
Suggestion: When expanding a chart that has a ‘locked fill space’ by using up arrow, only the data section should be expanded. The fixed space from the last data to the y-axis should remain fixed…otherwise if one expands enough, one ends up with an empty chart, which is worthless. Using the horizontal shift arrows to fix this is too tedious and time consuming. Thank you.
[2015-02-23 18:34:31]
Sierra Chart Engineering - Posts: 104368
There is no chance this would change. This is just how it is designed because the right side fill space consists of actual bars and it has to remain this way.
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2015-03-23 08:57:53
[2015-03-23 07:04:18]
i960 - Posts: 360
I am also being affected by this. The way TWS handles right side margin may be what some people are referring to, in case you're wondering specifically what it's about. It's one thing their charting actually gets right.

If this isn't going to change then it would be prudent to provide a much more efficient way of adjusting fill space.

You have to understand that a lot of people use right margin as a sort of "future possibility" zone along with ray/trendlines drawings. They'll go to a higher timescale, trend things out and then use right margin to have a better feel for where price might be headed. When one adjusts this to have 20-30% of margin and then zooms in half the chart is gone. So if this isn't going to be resolved to be fixed fill space and non-proportional than a suitable compromise would be a faster way to adjust right side fill space. Holding down an arrow key for a minute is not a scalable solution.
[2015-03-23 08:29:37]
i960 - Posts: 360
BTW: Just found out that the hand tool, combined with ctrl allows one to quickly pan into more right margin - so this will definitely help.
[2015-03-23 09:00:15]
Sierra Chart Engineering - Posts: 104368
You have to understand that a lot of people use right margin as a sort of "future possibility" zone along with ray/trendlines drawings.
You are right and this is why the fill space consists of actual bars and as you change the bar spacing it does affect the fill space. This will not change.
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2015-03-23 22:42:24]
i960 - Posts: 360
Oh, I don't think anyone is asking for the fact that that area represents "future" bars to change at all. In fact, I believe that's preferred for pretty much everyone - particularly the timescale being correct for the future. What I think people are asking for is for the ability for fill space to not scale proportionally with zoom level. The actual timeline would be proportionally correct, of course, but the gap size of the fill space/right margin itself would remain constant regardless of zoom level. This allows someone to set a 20-30% lookahead margin that stays that way regardless of zoom. The timescale and bar sizes would all function as normal.

I've found a workaround with the hand tool, but it's something to keep in mind.
[2015-03-24 01:05:10]
User201106 - Posts: 62
I use another method to manage my fill space and to keep it the same if I change the timeframe or the symbol. Also, it works ok
for me when I resize or scale the chart. If I don't like it I just execute my format reset option.

Here are the settings.
- Global Settings / Graphic Settings / Other tab
Default Chart Bar Spacing (set to a format value that works for you)
Default Right Side Fill Space (set to how many bars to leave blank on the right side)

- Global Settings / General Settings / General 2 tab
Reset Bar Size/Spacing/Scale on Symbol Change (enable)
Reset Bar Size/Spacing/Scale on Timeframe Change (enable)

So anytime that you change the timeframe and/or symbol the format and right side spacing resets to your defaults

To do the same at any time without changing the timeframe and/or symbol just select Chart / Reset Bar Size/Spacing/Scale
You should add this as a Chart Shortcut Menu option for quicker execution (Global Settings / Customize Chart Shortcut Menu

[2024-11-23 18:53:04]
User676363 - Posts: 83
Does anyone have a way to change the Lock Fill Space while the chart does not show the hard right edge?

Why not have the same dialog available in Graphics Properties on the Chart Settings?

This would allow us to open it, click lock space, type a value for x bars to the right, and see the current bar spacing in case we want to modify it as well.

Reset Bar Size/Spacing/Scale is useful, utilizing the two parameters (bar size and lock space size = x bars), but it takes you back to the hard right edge, which is problematic if you're examining something further left.

I would like a way to change the lock space without returning to the end of the data, as this seems wasteful in terms of time.

There should be a method to set the lock space mode to on at any point, allowing us to drag it or set it to X bars from the right, depending on the situation.

Since the spacing of the bars affects the space, but the text labels on the drawings do not change or zoom like the bars, achieving perfect sizing for the task can be challenging. If I am looking at many tiny bars, the lock space differs from when I am viewing larger bars.

Here's code that works for setting the number of bars in the right-hand side space, indicating that this could be added to the chart dialog and applied by the user through a menu, dialog box, or a control key plus mouse movement on the last bar.

Unfortunately, I cannot find the ACSIL code that would allow me to retrieve the defaults from the default dialog to initialize this code, nor do I see a function to get the bar spacing, only the fill space. The study would improve if it presented both options simultaneously and initialized using the user's system defaults.

For now, it seems either SierraChart does not expose that information, or I am unable to locate it. The question remains: why must I build a study or scroll to the right of the data to simply add or remove bars from the fill space on the right in my existing view?

#include "sierrachart.h"

SCDLLName("sc-fill-space"); // DLL name

SCSFExport scsf_CustomFillSpace(SCStudyInterfaceRef sc) {
SCInputRef Input_FillSpaceBars = sc.Input[0];

// Set study configuration and defaults
if (sc.SetDefaults) {
sc.GraphRegion = 0; // Main chart region
sc.AutoLoop = 0; // No auto-looping

sc.GraphName = "Custom Fill Space"; // Study Name
sc.StudyDescription =
"This study allows you to control the number of bars in the right-hand fill space of "
"the chart.";

// Define the input for fill space bar count
Input_FillSpaceBars.Name = "Fill Space Bar Count";
Input_FillSpaceBars.SetInt(10); // Default to 10 bars
Input_FillSpaceBars.SetIntLimits(1, 100); // Allow 1 to 100 bars
Input_FillSpaceBars.SetDescription(
"This input determines the number of empty bars displayed in the right-hand fill space "
"of the chart. Increasing this value expands the fill space, providing more room for "
"future price action or visual indicators.");

return;
}

// Get the user-specified fill space bar count
int FillSpaceBars = Input_FillSpaceBars.GetInt();

// Set the fill space bar count
sc.PreserveFillSpace = 1; // Enable fill space preservation
sc.NumFillSpaceBars = FillSpaceBars;
}

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

Login

Login Page - Create Account