Support Board
Date/Time: Tue, 26 Nov 2024 01:40:33 +0000
inside bar alert
View Count: 1293
[2017-11-27 19:55:57] |
jonno - Posts: 13 |
Hi I have written this formula in the chart setting alert field. =H < [H-1] AND L > [L-1] which should alert an inside bar. How can I check if it works without a IB actually triggering it on the chart. It does not come up with any errors in the alert log as other attempts have? I also have the inside bar study on the chart but can not easily make it alert on the bar close as it is formed. Any guidance will be really appreciated. Cheers John |
[2017-11-27 20:18:52] |
Sierra Chart Engineering - Posts: 104368 |
We recommend using the Inside Bar study with this Alert Condition Formula: SG1>0 And enable this particular Alert option: Study/Chart Alerts And Scanning: Evaluate on Bar Close Also this alert formula is not even valid: =H < [H-1] AND L > [L-1] For an understanding of how to use the AND function, refer to: https://www.sierrachart.com/index.php?page=doc/SpreadsheetFunctions.html#AND_Function 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: 2017-11-27 20:20:44
|
[2017-11-27 20:32:03] |
jonno - Posts: 13 |
Thanks That works perfectly. John |
[2024-01-15 11:47:16] |
User616054 - Posts: 14 |
Hello, if I wanted to only use inside bar during a certain time period how could this be coded? (ideally both alert and visual colour of the inside bar)
|
[2024-01-15 17:24:09] |
John - SC Support - Posts: 36286 |
You would have to add the time period to your alert condition. Refer to the following: Study/Chart Alerts And Scanning: Available Main Price Graph Identifiers/Variables For example, to only give you an alert between 0930 and 1100, you would have the following: =AND(SG1 > 0, BARTIME > TIME(09, 30, 00), BARTIME < TIME(11, 00, 00)) 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: