Login Page - Create Account

Support Board


Date/Time: Thu, 28 Mar 2024 08:50:42 +0000



Need Study Subtract from Constant

View Count: 544

[2018-10-10 05:34:45]
User360283 - Posts: 420
How to have a sturd subtract from a constant?
Example:
Subtract Study ID n SG n from 100
Thanks
[2018-10-10 22:59:43]
Sierra Chart Engineering - Posts: 104368
You would need to use a combination of the Arithmetic Studies (Using the Basic Arithmetic Studies). In particular, you would need to use Study Subgraph Subtract to subtract 100 from the original study, then use Study Subgraph Absolute Value on the Subgraph from Study Subgraph Subtract.

Another option would be to use the Spreadsheet Formula and just enter the formula: = 100 - IDn.SGm
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