Support Board
Date/Time: Wed, 26 Feb 2025 14:01:08 +0000
Enabling alerts makes the chart disappear
View Count: 483
[2021-05-13 20:27:51] |
tommartin321 - Posts: 74 |
I'm using the Speadsheet System/Alert study and trying to enable column Q to show alerts. From the Subgraphs tab I change the Draw Style from Ignore to Square for the Q(SG7) subgraph. I've confirmed the alert does work, however, it makes my chart squeeze together from top and bottom - to the point I can't see the chart. See photo attached. I've tried changing some of the Scale settings but didn't seem to work. Thanks, Tom |
![]() |
[2021-05-13 20:49:22] |
John - SC Support - Posts: 38172 |
The problem is that you are just getting the True/False information for the alert. As such, you are actually seeing 1's and 0's (1=true, 0=false). In general, zeros are hidden in Sierra Chart, so that you do not get the effect of shrinking the price graph. But ones are not. Therefore, your ones are shrinking the graph. What you could do would be to have the Last Price value returned when the alert is true. So something like =IF(Alert, ID0.SG4, 0). Where Alert is your Alert condition and ID0.SG4 is the last price. For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2021-05-13 21:20:30] |
tommartin321 - Posts: 74 |
Thanks John. Using the below code it worked :) But how can I offset the alert drawing by moving it up? You can see from the screenshot it's basically on top of the bar. =IF(ID2.SG1@3>10000, ID0.SG4@3,0) Thanks, Tom Date Time Of Last Edit: 2021-05-13 21:35:18
|
![]() |
[2021-05-13 21:44:20] |
tommartin321 - Posts: 74 |
Thanks again John. I got it figured out. =IF(YourConditions,D3-$J$21*5,0) |
To post a message in this thread, you need to log in with your Sierra Chart account: