Login Page - Create Account

Support Board


Date/Time: Mon, 21 Apr 2025 04:38:31 +0000



Previous Days High / Low Value Labels

View Count: 138

[2025-03-14 16:04:09]
PMAT73 - Posts: 5
Hello,

I'm struggling to get the previous day's high / low price displayed on the chart. I can achieve this with the study High / Low for Time Period, but only for the current day.
For the privious day's, the line are correctly drawn, but I did not find any way to get the price value

I tried the Period OHLC-Variable period study, but not better luck.

See attached picture for the expected result.

Many thanks in advnce for your help,

Pmat
image#3 ESH5.CME MESH5.CME [CB] 2025-03-14 10_52_55.557.png / V - Attached On 2025-03-14 16:03:20 UTC - Size: 132.28 KB - 21 views
Attachment Deleted.
[2025-03-14 17:15:26]
John - SC Support - Posts: 39362
The Value Label is not setup to do what you want. It does not know where there is a disconnect between the days and therefore where to put the label, which is why it only shows for the last bar in the chart (i.e. today's values in this case).

You can work around this by using a "Spreadsheet Formula" study and entering a formula like the following:
=IF(ID1.SG1 <> ID1.SG1[1], ID1.SG1, 0)

Where ID1 is the ID of the study that draws the High/Low lines and SG1 is one of the subgraphs for the High/Low lines. You would need two Spreadsheet Formula studies to get the values for both the High and the Low.

Then set the "Draw Style" for the Spreadsheet Formula to be "Value of Subgraph" and set the "Size" to what you want (start at 10 and adjust from there).
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-03-14 20:57:26]
PMAT73 - Posts: 5
Hello John,

being a recent user of your wonderfull plateform, I've not yet dived into the spreadsheet functionnalities. This will be a good use case to learn how to use this feature.

Best regards,

Pmat
[2025-03-14 21:13:43]
PMAT73 - Posts: 5
Works like a charm, thank you so much !!!

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

Login

Login Page - Create Account