Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 07:56:53 +0000



Question about Background Coloring Based On Separate Diagonal AskVolBidVolPercentage

View Count: 193

[2024-06-18 17:56:43]
User315753 - Posts: 3
Hello Sierra chart team,

I have a question about one of the settings for the number bar. I have found the documentation regarding this here that explains it:

Numbers Bars: Background Coloring Based on Separate Diagonal AskVol BidVol Percentage

However I cannot understand it. I have attached a picture of my chart and would appreciate it if you can assist me.

As I understand for the "background based on separate diagonal askbidvol percent, we take the ratios of bid and next ask, and the current ask and previous bid. whichever is larger comparatively - whether ask or bid- will determine the color of the number bar. However, in my chart I am not getting the results I should.

I have two questions:

1. when there is no previous bar within the same column, do we look at the values of the last column? Is next price the price moving up or down?

2. Why dont I get the same results as my chart in terms of the coloring (in my chart purple is down (Ask<Bid) and blue(Ask>Bid) ) is up.

For instance for this example:

09 x 21
93 x 11
67 x 61

we should have 93/61 11/9 => 1.52 > 1.22 so the bid is bigger so it should be down but in my chart it says up.. I cant understand why and my colors are correct.


Please let me know. I have been thinking alot about this before asking here.

Thank you very much
Date Time Of Last Edit: 2024-06-18 19:30:42
imageChart 1.png / V - Attached On 2024-06-18 17:55:59 UTC - Size: 14.53 KB - 44 views
[2024-06-18 19:38:40]
John - SC Support - Posts: 36238
To begin with, the definition of a Diagonal difference is the Bid at a price level minus the Ask at the next higher price, along with the Ask at a price level minus the Bid at the next lower price. It is not a ratio (it's a subtraction) and you have the direction incorrect in your statement and in your example.

From your example, the comparison at the middle price is the following:
Bid Diagonal: 93 - 21 = 72
Ask Diagonal: 11 - 67 = -56

This gives a dominant Bid side.

That being said, the next item to point out is that the background coloring that are defined as "Separate" (such as the "Background Coloring Based on Separate Diagonal AskVol BidVol Percentage") are meant to be used with one of the "Split" profile options. From the documentation:
When the Numbers Bars Background Type is set to display only a single Numbers Bar background, the Up Colors are used if the Ask volume is dominant (Ask volume is greater than the Bid volume at the given price). Down Colors are used if the Bid volume is dominant (Bid volume is greater than the Ask volume at the given price).

When the Numbers Bars Background Type is set to one of the Split options that displays the Numbers Bars Background on both sides, then the Up Colors are used for the Ask side, and the Down colors are used for the Bid Side.

In terms of your questions:
1) We assume you mean no previous price, therefore at the bottom when performing the Ask diagonal or at the top when performing the Bid diagonal calculations. In this case it depends on how you have the Input for "Enable Diagonal Zero Bid/Ask Compares". Refer to the following:
https://www.sierrachart.com/index.php?page=doc/NumbersBars.php#Input_EnableDiagonalZeroBidAskCompares

2) This is covered by the information above.
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