Support Board
Date/Time: Thu, 23 Jan 2025 14:40:05 +0000
Alert for a certain time only
View Count: 1642
[2018-11-30 15:44:22] |
User798620 - Posts: 29 |
Ok so i want to make another alert. but i only want it to run once a day at a certain time. is there a way to make this possible? i kinda found something about it when reading over stuff on your site. but i dont quite understand it. What i want is for it to evaluate it at 5 PM Mountain time (USA) but that would be the only time the alert runs. the alert how i have it now looks like this "=And((ID1.SG1<ID3.SG2),(ID1.SG1<ID9.SG3))" What would i add to this to require this only sending at that specific time? P.S. you guys are always so helpful, Sierracharts has changed my trading Experience! you have a lifetime customer for sure! |
[2018-11-30 15:54:12] |
John - SC Support - Posts: 37420 |
Refer to the BARTIME function within the documentation here: Study/Chart Alerts And Scanning: Available Main Price Graph Identifiers/Variables It gives you the format for checking that a bar is at a specific time, then you just need to add that to your AND function. For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2018-11-30 15:56:29] |
Sawtooth - Posts: 4162 |
If you always have a bar with a timestamp of 5pm, you could do this: =AND(ID1.SG1<ID3.SG2,ID1.SG1<ID9.SG3,BARTIME>TIMEVALUE("16:59:59"),BARTIME<TIMEVALUE("17:00:01")) Otherwise you'll need to wait for SC to add a new variable for Simple Alerts to get the last bar end date-time. Bartime in Backtesting Date Time Of Last Edit: 2018-11-30 16:54:28
|
[2018-11-30 16:21:47] |
User798620 - Posts: 29 |
Thanks for the replys, you guys are always so fast!
|
To post a message in this thread, you need to log in with your Sierra Chart account: