Login Page - Create Account

Support Board


Date/Time: Sat, 08 Feb 2025 08:24:53 +0000



[Programming Help] - Color Bar Alert - Single Bar

View Count: 593

[2020-07-06 00:13:03]
KXRCap - Posts: 64
In Color Bar Based on Alert. How can I set that just the first bar is the color. Example say simple Oscillator crosses "0". At the moment it crosses "0" based on the close of that bar, I want to color just that bar.

ID:1.SG1>0 - only the very first time it happens.
[2020-07-06 01:45:12]
Sawtooth - Posts: 4173
Compare it to the previous bar:
=AND(ID1.SG1[-1]<0,ID1.SG1>0)
[2020-07-06 02:25:36]
KXRCap - Posts: 64
@tomgilb - Aah nice! Thanks, I swacked my holiday forehead on the desk many a time. THANKS!

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

Login

Login Page - Create Account