Login Page - Create Account

Support Board


Date/Time: Fri, 07 Feb 2025 18:01:34 +0000



How to reference first bar only in Alert Formula

View Count: 566

[2021-12-09 06:08:50]
like2trade - Posts: 117
I would like to set only the first, second, and third bars to color purple using the "Color Bar Based On Alert Condition" study. Only those 3 bars should be colored in the entire chart. Any help with an Alert Formula to do this is much appreciated.

Thank you.
[2021-12-09 13:06:09]
Sawtooth - Posts: 4173
Go to post #10 in this thread:
Hide currently forming candle

In the first instance, use this formula instead:
=C[3]
[2021-12-09 16:18:33]
like2trade - Posts: 117
Tomgilb you are amazing. It works perfectly. Thank you so much for your help.

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

Login

Login Page - Create Account