Login Page - Create Account

Support Board


Date/Time: Tue, 06 Dec 2022 07:35:57 +0000



Minor bug - Numbers Bars Calculated Values background colour

View Count: 150

[2022-11-23 10:18:11]
User407375 - Posts: 9
The background colour of the current Numbers Bars Calculated Values "Ask Volume Bid Volume Difference" sometimes displays the wrong background colour while the bar is in progress.

For example:
The value is negative, but the background colour has a positive colour.
The value is positive, but the background colour has a negative colour.

After the bar closes, the background colour is correct.

This isn't happening all of the time, but does happen quite frequently - I haven't looked closely enough to find out what the condition is that causes it.

Two dates with ESZ22 30M Numbers Bars to see this:
2022-10-03 10:00 EST - positive value, negative background
2022-10-13 12:00 EST - negative value, positive background

I just noticed that the Day Delta value on the 2022-10-03 example is also positive with a negative background, so I guess all subgraphs would be affected by this under the right condition.
imageScreenshot 2022-10-03 150822-Positive-Delta-Red-BackGround.png / V - Attached On 2022-11-23 10:07:23 UTC - Size: 167.27 KB - 17 views
imageScreenshot 2022-10-13 Negative-Delta-Green-Background.png / V - Attached On 2022-11-23 10:07:34 UTC - Size: 205.74 KB - 17 views
imageScreenshot 2022-10-06 155126-Positive-Delta-Red-Background.png / V - Attached On 2022-11-23 10:07:45 UTC - Size: 183.81 KB - 15 views
[2022-11-23 15:42:15]
John - SC Support - Posts: 20340
We are not able to reproduce this during a replay and we know we are at the same bar as we have the same values for the delta as are shown on your image.

Were you running a replay when you saw this occur? Or was it only with live data?

Also, once it changed to the wrong color did it ever switch back? Once the bar closed was it the correct color?

Can you also get us the chart that shows this issue by following these instructions:
Support Board Posting Information: Providing Chartbook with Only a Single Chart
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-11-23 16:15:30]
User407375 - Posts: 9
This is with live data - I haven't tried it with a replay. It has happened a couple of times since the open today also.

When it is the wrong colour it stays that way, unless positive/red background changes to negative/red background for example which would mean the background was then the correct colour. After that point if it flipped back again i'm not sure if it will then change to the correct colour, or just some times.

Once the bar closes and it moves along to the left, the colour is then corrected.

I've just tried running the chart on 1M instead of 30M for a few minutes so it changes between positive and negative more often, but so far that hasn't triggered the issue and it's changing colours 100% correctly.

EDIT: Right now on this 11:00 bar the value is -480 and the background is green.

EDIT2: So that bar just went from negative/green background, to positive/green background, and then back to negative/green background.. so the change between the two didn't cause a correction and make the background turn red.
Date Time Of Last Edit: 2022-11-23 16:26:32
Private File
[2022-11-23 17:21:06]
John - SC Support - Posts: 20340
We will try to keep an eye on this and see if we can reproduce it. We really need to have it occur so we can understand where the issue is. So far, everything is working properly with your chartbook.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-11-23 20:46:59]
User407375 - Posts: 9
I appreciate it, difficult when it's not happening all of the time or in replay.

If it would help, on Monday if you left the chartbook open in the background I could notify you when/if it happens as i'll be watching it anyway? If you'd like to go for that please let me know the best way to notify so you know straight away.
[2022-11-23 21:25:30]
John - SC Support - Posts: 20340
There is not a way to notify us immediately. We'll just keep watching and hope it recurs soon. We'll also take a look through the code to see if we can find something amiss in there.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-11-23 22:50:48]
John - SC Support - Posts: 20340
We were looking through the code and we do see a way for this to occur, and it is not "wrong", but is occurring due to a special circumstance.

If all of the previous values that define the Highest and Lowest values for the period, are all positive or all negative, then when you get a value that is the opposite (i.e. the first negative value when all others have been positive) then the system is setup to color that background as if it were a value of 0. Since all the previous numbers have been positive (or negative) then a value of 0 will be colored the Up (or Down) Range 0 color.

The next time you see this please take a look at how you have the "Determine Maximum/Minimum Values for Background From" set and look at all the previous values for that particular subgraph and see if they are all positive or negative. If they are, then this would explain this situation.

If it is what state from above, then this is all related to the following from our documentation:
The last cell/bar in a row will follow the same rules as below, but until the bar is closed, the values that are seen as the cell updates will not be used to establish a Highest or Lowest value. If a value at the last bar exceeds the existing Highest or Lowest value, then that cell is colored the Range 3 Up/Down color, but the rest of the background coloring in the row will not update. Once the last bar closes, if it still establishes a new Highest or Lowest value, then the rest of the cells in the row will be updated accordingly.

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-11-24 11:57:18]
User407375 - Posts: 9
Excellent, I think that looks like what is happening and would explain why it wasn't happening on the 1M chart over a short period of time - I have found a place to replicate it on replay also:

Chart replay 30M period, ESZ22, 2022-11-23, 09:50:00 EST

10:00 bar begins, it starts with the Range 3 Up colour like the previous bar finished on. This background colour then doesn't change colour again regardless of value both negative or positive.

10:30 bar begins, it starts at Range 0 Up colour, when the value goes negative, it doesn't change colour. When the value goes higher, the Range 1 Up colour comes on, then goes back to Range 0 Up when the value drops.

11:00 bar begins, it starts at Range 0 Up colour, when the value goes negative, it doesn't change colour. The bar closes negative and moves to the left and changes to Range 3 Down.

11:30 bar begins, it goes between negative and positive changing colours to both Range 0 Down/Up. Then Range 2 and 3 Down colours. Bar finishes with a large negative with Range 3 down.

12:00 bar begins, it flips between negative and positive with Range 0 Down/Up colours. Changes to Range 1 up, then Range 2 up. Bar finishes positive with Range 1 up.

12:30 bar begins, it flips between negative and positive with Range 0 Down/Up colours. Goes through Range 1-3 Down colours.

So it's the type of behaviour from 11:30 onwards that I would prefer to have happening all of the time without the background colour of the current bar getting locked in based on previous values. Is there a way to make that happen at all, or is the behaviour described in the documentation just how it is?

The "Determine Maximum/Minimum Values for Background From" is set to Daily Data.

EDIT: I see that using All Data will prevent the condition happening as frequently and in the replay period above I get the colour changes as desired. It means the Range Colour is not going to be so varied for the current day though if large Positive/Negative values have happened on previous days. So kind of a choice between having more chance of the background colour changing, or the Range colours reflecting the current day values. I could add the study on twice and have both things covered.
Date Time Of Last Edit: 2022-11-24 14:51:23
[2022-11-28 15:02:29]
John - SC Support - Posts: 20340
For now, this is just the way it is. It is setup this way due to how the information is obtained for the High/Low and the frequency with which the current bar could change this High/Low and then it could shift back again to not changing the information.

We understand how this can be a bit frustrating and at some point we hope to look into a better solution, but this is not something we can get to any time soon.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account