Login Page - Create Account

Support Board


Date/Time: Tue, 01 Apr 2025 22:10:38 +0000



absolute value

View Count: 713

[2022-12-07 21:10:43]
User970210 - Posts: 100
Hi,
does sc has function for absolute value for alert condition, like abs(id1.sg1-id1.sg1[-1])? thx
[2022-12-07 23:10:03]
John - SC Support - Posts: 39080
The function ABS() gives the absolute value of an item and works with Alerts.

Some of the spreadsheet functions also work in Alerts. The easiest way to test is to put the function into the Spreadsheet Formula, as this study uses the Alert syntax. For example - to test if this worked, I entered =ABS(-1) in the Spreadsheet formula and the result is a line at the value of 1. Therefore, it can be used in Alerts.
For the most reliable, advanced, and zero cost futures order routing, use 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