Support Board
Date/Time: Thu, 18 Dec 2025 23:08:35 +0000
[User Discussion] - Not able to get the alert value from a Color Background based on Alert condition.
View Count: 641
| [2021-05-03 02:16:39] |
| Ticks - Posts: 208 |
|
Not able to get the alert value from a Color Background based on Alert condition. It returns a price value instead. LongMACDSignal = 0;
SCFloatArray ControllingSubgraph; sc.GetStudyArrayUsingID(Input_SignalControlSubgraphRef.GetStudyID(), Input_SignalControlSubgraphRef.GetSubgraphIndex(), ControllingSubgraph); LongMACDSignal = ControllingSubgraph[sc.Index - 1]; I need to capture the "1" from the alert. |
| [2021-05-05 02:01:25] |
| Ticks - Posts: 208 |
|
lots of views but no assistance with this issue.
|
| [2021-05-05 02:18:57] |
| Sierra_Chart Engineering - Posts: 21876 |
|
A nonzero value will indicate, that the alert condition is true at that index. It will not necessarily be 1.
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, 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:
