Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 01:32:49 +0000



Post From: Colour Bars Based on Alert Condition - Programming Help

[2024-07-10 07:39:52]
BHowellNZ - Posts: 21
Hi all, I'm hoping this is on the public forum as opposed to direct to SC but either way it would be good to get some guidance with programming the Color bar based on alert condition

Basically, I have a line of code which shows me a certain condition with a mix of different inputs and its working great.
That code looks like this
- =AND(ID38.SG1>ID38.SG1[-1],ID48.SG1>ID42.SG1)

I want to add a divergence signal to this code, so I want the above to be true, but I also want to add the divergence detector study positive divergence to also be true to give a more meaningful signal
Divergence study inputs are ID1.SG4

Im not overly confident with what i need to do here to add this into the code and i struggle with the SC instructions. Any help would be much appreciated!!

B