Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 01:29:45 +0000



Post From: Time-based condition alert

[2024-07-11 21:48:51]
John - SC Support - Posts: 36238
We are confused by the "CROSSFROMBELOW()" that you have in what you posted. That does not make any sense with the test that a value is less than -18.

An alert to test if any of the last 5 items is less than -18 would look like the following:
=OR(ID18.SG1[-5] < -18, ID18.SG1[-4] < -18, ID18.SG1[-3] < -18, ID18.SG1[-2] < -18, ID18.SG1[-1] < -18)

In this case the current bar (ID18.SG1 or ID18.SG1[0] if you prefer) is not being tested, if you want it you would need to add it to the list.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing