Login Page - Create Account

Support Board


Date/Time: Sat, 30 Nov 2024 06:40:53 +0000



absolute value

View Count: 609

[2022-12-07 21:10:43]
User970210 - Posts: 84
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: 36350
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