Login Page - Create Account

Support Board


Date/Time: Tue, 25 Feb 2025 07:37:24 +0000



Number Bars Calculated Values 2

View Count: 1289

[2021-03-30 19:51:15]
User837393 - Posts: 143
Hello,
On this subject study is it possible to have at SG9 (e.i. the pulling and stacking) the Bid - Ask instead of the Ask - Bid.
...maybe a way to have the SG9 value multiplied by (-1) ?
Best regards,
[2021-03-30 20:05:21]
John - SC Support - Posts: 38150
You can do this yourself, it's just a matter of where you would want to see the data, as you can not adjust the data in the Numbers Bars Calculated Values tables. For example, you can use the Study Subgraph Multiply along with the Study Subgraph Above/Below Bar As Text to display the negated data above/below a bar.

Refer to the following:
Study Subgraph Multiply

And refer to the following:
Study Subgraph Above/Below Bar as Text
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2021-03-31 13:11:11]
User837393 - Posts: 143
Ok,
So I tried the Study Subgraph Multiply (based on number bars values 2 @ SG9 with a factor of (-1)) along with Study Subgraph Above/Below Bar As Text (based on Main price graph with the input study "Study subgraph multiply" @ SG1(aka results)), but that didn't work.
Maybe my mistake is related to draw style? If I want just the number to appear, I presume draw style should be "text", if so that is not working also.
Date Time Of Last Edit: 2021-03-31 13:12:01
[2021-03-31 13:19:34]
Sierra Chart Engineering - Posts: 104368
We need you to provide the chart to see what you have done. Follow the instructions here:
Support Board Posting Information: Providing Chartbook with Only a Single Chart
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
[2021-03-31 13:53:42]
User837393 - Posts: 143
As requested,

http://www.sierrachart.com/image.php?Image=1617198750100.png
[2021-03-31 15:55:27]
John - SC Support - Posts: 38150
You need to set the Study Subgraph Above/Below Bar as Text to be in Region 1.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2021-03-31 17:20:32]
User837393 - Posts: 143
I did what you said and it's still not working... I can't see the result.
Regardelss, I wanted to display the result not immidiately below the bar, but in a seperate region.
Even the study Subgraph Multiply is not showing up ...

http://www.sierrachart.com/image.php?Image=161721137225.png

EDIT :

I managed to get this by modifying the draw style to "Value of subgraph":

http://www.sierrachart.com/image.php?Image=1617212799522.png

Now how do I get this lined up like in chart region 2 and 3 ?
Date Time Of Last Edit: 2021-03-31 17:48:43
[2021-03-31 20:11:36]
John - SC Support - Posts: 38150
If you do not want to display it as text above or below the bar, then you do not need to use the Study Subgraph as Text Above/Below Bar study.

In which case, you are done by having it displayed in Region 2 as it is right now. If you want to display as a line or other marker, then just change the Subgraph to a different Draw Type.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2021-04-01 13:21:43]
User837393 - Posts: 143
Please see image where the green ellipse is.
Do you see how the numbers are not lined up and moves accroding to their values ?
How do I get them to be lined up, one beside eachother, a bit like it would be when using the study Number Bars Calculated Values (1 or 2).
Thank you.

http://www.sierrachart.com/image.php?Image=1617283091985.png
Date Time Of Last Edit: 2021-04-01 13:22:04
[2021-04-01 13:45:21]
John - SC Support - Posts: 38150
The only way around what you are seeing is to make the Scale very large, so all the numbers appear to be lined up. Refer to the following for how to adjust the scale:
Chart Scale and Scale Adjusting: Interactive Scale Range - Expand/Compress Scale
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