Login Page - Create Account

Support Board


Date/Time: Fri, 19 Apr 2024 06:09:48 +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: 174
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.