Support Board
Date/Time: Sun, 24 Nov 2024 02:03:11 +0000
[Programming Help] - Colour Bars Based on Alert Condition - Programming Help
View Count: 180
[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 |
[2024-07-10 13:05:15] |
Sawtooth - Posts: 4118 |
Try this: =AND(ID38.SG1>ID38.SG1[-1],ID48.SG1>ID42.SG1,ID1.SG4>0) |
[2024-07-11 00:02:37] |
BHowellNZ - Posts: 21 |
This is perfect. Thank you mate |
To post a message in this thread, you need to log in with your Sierra Chart account: