Support Board
Date/Time: Thu, 28 Nov 2024 18:37:53 +0000
[Programming Help] - Data delay Alert
View Count: 293
[2023-04-19 10:38:19] |
User447500 - Posts: 2 |
Hi, Is it possible to create alerts on data delay? Triggering if data start to delay more than 10 seconds for example. |
[2023-04-19 14:46:41] |
John - SC Support - Posts: 36350 |
It should be possible, but it will take a bit to put together the pieces to make it work. For instance, you can use the NOW() function to get the computer time and you can use the BARTIME to get the beginning time of the bar. But you have to manipulate the BARTIME to get to the particular item you want, and you would need a special chart that is set to the amount of the delay you want to test against. This is more than we can put together quickly, so all we can do is point you to what we have stated above. Refer to the following: Study/Chart Alerts And Scanning: Available Main Price Graph Identifiers/Variables https://www.sierrachart.com/index.php?page=doc/SpreadsheetFunctions.html#NOW_Function For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2023-04-19 15:32:16] |
Tony - Posts: 522 |
@User447500 See attached animated .gif, if this is what you are looking for, the source code is in post #9 of this thread you could change the time from 1 second to 10 second, or change the message from "streaming" to "\n", if you don't what the study to show any message when there is no delay. Date Time Of Last Edit: 2023-04-19 15:33:35
|
Stream.gif / V - Attached On 2023-04-19 15:30:30 UTC - Size: 1.43 MB - 91 views |
[2023-04-19 23:03:39] |
User447500 - Posts: 2 |
Thanks!
|
To post a message in this thread, you need to log in with your Sierra Chart account: