Login Page - Create Account

Support Board


Date/Time: Sat, 27 Jul 2024 05:47:16 +0000



Color Bar Based on Alert Condition based on another color bar based on alert condition??

View Count: 169

[2024-01-27 01:21:43]
User664207 - Posts: 9
Say I have one Color Bar Based on Alert Condition study with simple alert code =AND(C>O, C>L[-1], O[-1]>C[-1]), I want to be able to color the next bar that has a close above that first color bar study's high (C > color bar SG). I tried so many variations and can't get it to work.
Please help.

Thank you!
[2024-01-29 15:22:27]
John - SC Support - Posts: 33316
You would use the following alert condition:
=AND(ID1.SG1[-1], C > C[-1])

Where ID1 is the ID of the first Color Bar Based on Alert Condition study.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account