Login Page - Create Account

Support Board


Date/Time: Tue, 25 Feb 2025 23:30:57 +0000



Labels with price difference

View Count: 615

[2021-04-28 19:22:04]
User297373 - Posts: 5
Hello

On my 1 minute chart I would like to place multiple labels that would compute price difference between current price and daily high, current price and daily low, current price and globex high, current price and globex low etc. Can this be done ?
[2021-04-28 19:41:28]
John - SC Support - Posts: 38172
There are multiple ways to do what you are asking. You would need to put together the appropriate studies to get the calculations you want, but once you have those, then you can use either the Name Label for the subgraphs or multiple copies of the Text Display for Study study.

Refer to the following:
Chart Studies: Subgraphs Tab >> Name and Value Labels

And the following:
Text Display For Study
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2021-04-28 20:21:44]
User297373 - Posts: 5
Hi John

I read through those links and I think they talk about displaying values on the chart. I want to compute price difference between current price and daily high, current price and daily low, current price and globex high, current price and globex low and then display them on the chart. How and where do I do the calculation ?
[2021-04-28 21:13:14]
John - SC Support - Posts: 38172
You need to figure out the calculations based on the available studies. The specifics of how to put together the pieces is outside the scope of our support. Sometimes we do it, when it's easy enough to give a quick example. But you are asking for a lot of pieces here.

To help get you started, the Daily High can be found by using Daily OHLC study. You can then use the Study Subgraphs Subtract to do the calculation of the Current Price (the Close of the current bar) from the Daily High.

Refer to the following for the Daily OHLC:
Daily OHLC

And refer to the following for the Study Subgraphs Subtract:
Study Subgraphs Subtract/Difference
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2021-05-03 11:30:19]
User297373 - Posts: 5
Hi John,

I was able to achieve my task using methods explained in your reply. Thank you and appreciate your help.

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

Login

Login Page - Create Account