Login Page - Create Account

Support Board


Date/Time: Thu, 03 Jul 2025 11:53:34 +0000



Post From: Not able to get the alert value from a Color Background based on Alert condition.

[2021-05-03 02:16:39]
Ticks - Posts: 206
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.