Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 21:48:01 +0000



Count Down Timer in connection with other chart

View Count: 993

[2015-06-21 05:17:29]
nicktrader - Posts: 712
I'd like to use a count down timer in a M1 Chart but I'd like to see the remaining time of a higher timeframe like M5 or M15 or...

Is that possible?
[2015-06-21 06:10:06]
Sierra Chart Engineering - Posts: 104368
Yes should be possible by referencing the Countdown Timer Subgraph on the other chart using the Text Display for Study from Chart study.
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
Date Time Of Last Edit: 2015-06-21 06:22:41
[2023-07-13 08:14:07]
User667456 - Posts: 3
I am interested in this topic as well. If I try to copy the countdown timer from chart "A" over to chart "B" via Text Display for Study from Chart it only shows me "0.00" on chart B. Any suggestions?
[2023-07-13 14:49:51]
John - SC Support - Posts: 36350
The Countdown Timer data is not available in the Subgraph, so you can not use it in another study/chart.

There is not a great way to do this without creating your own study, but if you want to see the amount of time remaining for a specific time period, then you would need to test the current time against the time you of when the new bar would start. You can do this using the Spreadsheet Formula.

The formula for a 5 minute bar period would be the following:
=((BARDATETIME + 5/60/24) - NOW()) * 24 * 60 * 60

Note that this is going to give you the remaining time in Seconds. If you want it in Minutes and Seconds, you would have to use multiple Spreadsheet Formulas with multiple Text Displays to have one displaying the minutes and another one the remaining seconds.

The '5' in the section with 5/60/24 is the item that you would need to change for different timeframes. Note that the division by 60 and 24 is for minutes. If you are using seconds then you would need to divide by a further 60.

Refer to the following for the Spreadsheet Formula study:
Spreadsheet Formula

And refer to the following for information on how dates and times are stored in Sierra Chart:
Spreadsheet Functions: Serial DateTime Values
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