Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 06:48:57 +0000



Hightlight only the last 24 hours (non-repeating daily)

View Count: 751

[2021-01-13 15:57:37]
osaga - Posts: 53
Is there a way to create a hightlight from the current moment to the last 24 hours or 2 days or any other time period?

I am not looking for it to repeat as happens in the Timeline Range Highlight study.

Thanks
[2021-01-13 17:57:06]
John - SC Support - Posts: 36286
Refer to example 7 for Alerts here:
Study/Chart Alerts And Scanning: Alert Formula Examples

You would then just set the Draw Style to Background for the Color Bar Based on Alert Condition.

You could also use the Spreadsheet Formula to accomplish the same thing.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2021-01-13 23:04:54]
Sawtooth - Posts: 4120
If you only want to have a rolling highlight from the current bar to a certain time offset in the past, you'll need to use the Spreadsheet Study study.
Date Time Of Last Edit: 2021-01-13 23:09:47
[2023-12-15 19:26:11]
User424750 - Posts: 2
As a note, for daily repeating time range highlights. The time range highlight - transparent only works to repeat daily on a minimum time difference of 7 seconds

for example, this is the minimum time difference needed in order for the study to work repeating it daily.

Start Time 11:29:53
End Time 11:30:00

Other option is the time line study

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

Login

Login Page - Create Account