Login Page - Create Account

Support Board


Date/Time: Mon, 13 May 2024 22:37:45 +0000



Numbers Bars Calculated Values

View Count: 1290

[2021-06-30 14:01:44]
User158665 - Posts: 44
Hi, is it possible to give the code for Numbers Bars Calculated Values 1 or 2? I cant find in any Studies.cpp

If not, is it possible to add a calculation of how much is side (bid/ask) is stronger than the other.

Today we have in Numbers Bars Calculated Values ASK/BID Volume Percent, but we dont have how much more one compared to the other.

That would be (AskV % / BidV %)-1. (BidV % / AskV %)-1.

Is there a way to plot this calculation on the chart like your numbers Bars Calculated Values?
[2021-06-30 14:32:55]
John - SC Support - Posts: 31602
You can not code directly into the Numbers Bars Calculated Values studies, those are not available. But, the format that they use is available through ACSIL and is called the Numeric Information Table Graph. Refer to the information here:
ACSIL Interface Members - sc.Subgraph Array: Numeric Information Table Graph Draw Type

If you would like for us to add that calculation, we can do that, but it will take a few weeks before we can get to it. But we want to know the logic you want for this calculation. If you just use the Dominant side for the numerator, then the problem is that you will not be able to tell, at a glance, which side was dominant, as the numbers will all be positive values between 0 and 1. One option would be to make the Bid dominant values negative, another option would be to have 2 different subgraphs, one for Ask%/Bid% and the other for Bid%/Ask%. Let us know your thoughts on how you would want to see this.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2021-06-30 17:59:27]
User158665 - Posts: 44
I prefer the idea of 2 different subgraphs one for Ask%/Bid% and the other for Bid%/Ask%. (But we should set a color for Bid and another color for Ask)

If we CAN'T set 2 different colors in 2 columns lets go with the first ideia and make Dominant BID negative and Dominant ASK Positive in 1 column (because like this we will be able to use Color Background based on Value Percentage)

Sometimes we will have either ASK or BID 100% dominant, and we wont be able to divide them, in this case I would set a value of 100.

The Pics are showing what I am looking for when dividing them.
Date Time Of Last Edit: 2021-06-30 18:04:42
image2021-06-29_16-26-23.png / V - Attached On 2021-06-30 17:53:23 UTC - Size: 77.06 KB - 262 views
image2021-06-29_16-02-33.png / V - Attached On 2021-06-30 17:53:30 UTC - Size: 40.03 KB - 258 views
image2021-06-30_14-57-12.png / V - Attached On 2021-06-30 17:57:36 UTC - Size: 14.54 KB - 225 views
[2021-06-30 19:57:04]
John - SC Support - Posts: 31602
Ok, we'll see what we can do with this when we have some time to look into it.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2021-07-05 16:52:23]
User158665 - Posts: 44
Hi John, I am trying to use "Numeric Information Table Graph" as you suggested.

I need some help, I am trying to show only ASK > BID in 1 column. If the number is negative, dont show.

I wrote
Subgraph_AskHBid[sc.Index] = ((sc.AskVolume[sc.Index] / sc.BidVolume[sc.Index]) -1) > 0;

The Result is "1" for ((Ask > Bid) > 0) but it does not show the actual value (which is what I am trying to get).

I also tried to create 1 column for whatever value was higher. If Bid was higher than 0, show Bid. If Ask was higher, show ASK. But did not get it to work.

So I going with 2 columns, but I dont want to show the negative value. How can I do that?
Date Time Of Last Edit: 2021-07-05 16:53:10
imageShow ASK Bigger Only.png / V - Attached On 2021-07-05 16:51:34 UTC - Size: 17.66 KB - 192 views
[2021-07-05 17:54:54]
User158665 - Posts: 44
In another Indicator I am trying to show some Input Values of "Settings and Inputs tab" on the chart like a Short Name Label.

I was thinking if it is possible for Short Name in Subgraph get the value of the input in Settings and Inputs through ACSIL.

Is there a way to make it with ACSIL in my code?
Is there another way around?

What should I look for?
imageShow Value Inputs on Chart.png / V - Attached On 2021-07-05 17:51:55 UTC - Size: 134.69 KB - 193 views
[2021-07-06 15:24:33]
John - SC Support - Posts: 31602
Your last two questions are Programming Support, which we do not provide. You will want to repost those as new threads to ask for Programming Help from the community.
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