Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 14:18:34 +0000



Post From: Referencing 'Color Background Based On Alert Condition' in Simple Alert

[2023-11-25 16:15:44]
User431178 - Posts: 543
However, this Background study does not seem to output a specific value
Background subgraph (SG1) outputs 1 when true and 0 otherwise.

Is there another way to reference the study "Color Background Based On Alert Condition" correctly?
You already have the correct method "ID#.SG1 > 0", though not relevant "ID#.SG1<>0" (i.e. non-zero) would also be acceptable.

Check the calculation order / precedence.
Chart Studies: Study Calculation Precedence And Related Issues