Login Page - Create Account

Support Board


Date/Time: Thu, 17 Jun 2021 16:30:35 +0000



[User Discussion] - Not able to get the alert value from a Color Background based on Alert condition.

[2021-05-03 02:16:39]
Ticks - Posts: 41 | Ending Date: 2020-11-28 [Expired]
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: 41 | Ending Date: 2020-11-28 [Expired]
lots of views but no assistance with this issue.
[2021-05-05 02:18:57]
Sierra_Chart Engineering - Posts: 1394 | Ending Date: 2021-09-29
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. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

To post a message in this thread, you need to login with your Sierra Chart account:

Login

Login Page - Create Account