Support Board
Date/Time: Tue, 21 Jan 2025 23:58:20 +0000
[Programming Help] - Using 'Zero' line as a trigger
View Count: 1128
[2018-08-28 19:11:32] |
sandpiper4011 - Posts: 17 |
I would like to use the Study Angle 'Study' to create a "Bar' on a chart when the Study Angle crosses the 'Zero' line. I have used the Spreadsheet system/Alert on a worksheet with the 'K' and 'M' triggered by crossing the 'Study angle' with the zero line. This does not work consistently and I have to constantly refresh (reload and recalculate) the chart . I tried using 'Color Background based on Alert Condition' with no better success. The worksheet shows good clarity on the 'Study Angle' but it is unusable as an indicator (at least in the form that I am using) suggestions please |
[2018-08-29 03:12:56] |
Sawtooth - Posts: 4158 |
I used this formula in the Color Background Based on Alert Condition study, and it works for me: =CROSSOVER(ID1.SG1,0) where the Study Angle study is ID1. |
[2018-08-29 12:10:32] |
sandpiper4011 - Posts: 17 |
Thank you - this simplifies everything and the indicator is working great.
|
To post a message in this thread, you need to log in with your Sierra Chart account: