Login Page - Create Account

Support Board


Date/Time: Tue, 24 Dec 2024 17:47:07 +0000



Problem with alerts

View Count: 1419

[2015-11-07 13:35:18]
SSS - Posts: 16
When I use the Color Background on Alert Condition, why is this formula producing an error:

C >= DAILYHIGH[-1]
or
C >= DAILYLOW[-1]
[2015-11-08 02:01:09]
Sierra Chart Engineering - Posts: 104368
The array operators do not work with the daily high and low values in formulas. Refer to footnote 1 here:
https://www.sierrachart.com/index.php?page=doc/doc_StudyChartAlertsAndScanning.php#BaseGraphIdentifiers
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
[2015-11-08 19:05:03]
SSS - Posts: 16
Thanks, and please bear with me.

Why is the following throwing an error:
!L = H
or
!(L=H)

Even the example on the documentation page
http://www.sierrachart.com/index.php?page=doc/doc_StudyChartAlertsAndScanning.php#Operators

!(1=2) causes an error.
[2015-11-08 19:52:15]
Sierra Chart Engineering - Posts: 104368
This does not give us an error:
!(L=H)

What error message do you get?
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
[2015-11-08 19:59:47]
SSS - Posts: 16
Alert Formula Error - Chart: FDAXZ5 60 Min #3 | Study: Color Bar Based On Alert Condition | Error: Invalid formula. | Formula: !(10996.500000=11023.500000) | No alert sound/email

formula used is: =!(L=H)
Date Time Of Last Edit: 2015-11-08 20:00:27
[2015-11-08 20:16:32]
Sierra Chart Engineering - Posts: 104368
Does not make much sense.

Update Sierra Chart with Help >> Download Prerelease (New Spreadsheets) so you are running the same version we are.

Regardless of this though that formula should not give an error.
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
[2015-11-08 21:13:20]
SSS - Posts: 16
Just tried on multiple machines and installations, including a friend's.

Error DOES appear on all installations we had, all of which are "Old Spreadsheets" versions.

With New Spreadsheets versions, including PreRelease version you recommended, the error disappears.
[2015-11-08 21:19:44]
Sierra Chart Engineering - Posts: 104368
OK we are not sure why this happens on Old Spreadsheets but support for Old Spreadsheets is now discontinued.
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
[2015-11-09 00:00:37]
Sierra Chart Engineering - Posts: 104368
We now realize what the problem is. Old Spreadsheets are very Excel specific and compatible.

The ! Not operator is not supported:
http://www.excelfunctions.net/Excel-Operators.html#ComparisonOperators

So the formula has to be coded differently to accomplish what you want when using Old Spreadsheets.
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: 2015-11-09 00:00:57

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account