Login Page - Create Account

Support Board


Date/Time: Sat, 18 Jan 2025 11:11:49 +0000



[Programming Help] - Alert: Error: #SYNTAX!

View Count: 1067

[2018-02-16 20:07:39]
User413206 - Posts: 26
Hello,

I am attempting to create an alert using the "Color Background Based on Alert Condition" with intent to use the condition in the "Trading System Based on Alert Condition."

I am using the swing points study and price in the alert.

The swing points study I am using is located here:

Fractals indicator

I want to generate an alert, when the price crosses the Swing Low from above (i.e., price breaks the previous Swing Low to the downside).

I am using the following formula:

CROSSFROMABOVE(C, ID1.SG2)

It isn't working. I am seeing Error: #SYNTAX!

Does the logic need to be coded in C++? I hope not, because I don't remember much C++ from the only class I had.

Thank you.
Date Time Of Last Edit: 2018-02-16 21:11:25
[2018-02-16 22:04:33]
Sierra Chart Engineering - Posts: 104368
This is a perfectly valid formula:
CROSSFROMABOVE(C, ID1.SG2)

Make sure it is just this.
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

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

Login

Login Page - Create Account