Login Page - Create Account

Support Board


Date/Time: Sat, 20 Apr 2024 09:00:20 +0000



Enabling alerts makes the chart disappear

View Count: 408

[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
imageAlert Enabled_Chart Disappears.png / V - Attached On 2021-05-13 20:23:49 UTC - Size: 65.29 KB - 148 views
[2021-05-13 20:49:22]
John - SC Support - Posts: 30976
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
imageDelta Alert.png / V - Attached On 2021-05-13 21:19:18 UTC - Size: 43.86 KB - 144 views
[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:

Login

Login Page - Create Account