Support Board
Date/Time: Wed, 27 Nov 2024 21:25:14 +0000
Post From: Count Down Timer in connection with other chart
[2023-07-13 14:49:51] |
John - SC Support - Posts: 36349 |
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 |