Support Board
Date/Time: Tue, 15 Apr 2025 14:21:34 +0000
Alert for High / Low in Daily OHLC study
View Count: 47
[2025-04-01 17:14:46] |
User269912 - Posts: 17 |
Hi, use and enjoy the Daily OHLC study. Using Draw Style 'Background' in Subgraphs I depict the High and Low on my charts. Happy with that. I would now also like to set an Alert to trigger each time a High, or Low is hit, but cannot work out how to do that. Can you please help? |
[2025-04-01 17:19:17] |
John - SC Support - Posts: 39275 |
To do this, you need to test the current value against the value of the previous bar to see if there is a change. You therefore need to set the Input for "Graph High and Low Historically" to "Yes". Then your alert condition formula to test if the high has changed would be the following: =ID1.SG2 <> ID1.SG2[-1] Where ID1 is the ID of the Daily OHLC study, SG2 is the High subgraph and the [-1] indicates to use the value one bar back. If you really do not want to view the High/Low historically (i.e. see how it changes) then you would need to use another copy of the study setup with this option and use it for your alert. You could then hide that study so you do not need to view it. Refer to the following: Study/Chart Alerts And Scanning: Referencing Other Studies on the Chart Study/Chart Alerts And Scanning: Referencing Data Other Than on the Last Bar/Column In the Chart 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: