Login Page - Create Account

Support Board


Date/Time: Thu, 12 Jun 2025 08:09:35 +0000



color backup after green candle

View Count: 436

[2022-11-07 06:45:52]
User811622 - Posts: 38
Need help with alert formula. I would like to get background color plotted on 4th candle. That is after 3 x red candles down, then on 4th candle, it turn green. Formula below doesn't seem to work.


=AND((C[-1]<O[-1],C[-2]<O[-2],C[-3]<O[-3]),(C>O))


Thanks so much!
imagesierra-bar.PNG / V - Attached On 2022-11-07 06:45:22 UTC - Size: 12.98 KB - 111 views
[2022-11-07 22:55:28]
John - SC Support - Posts: 40376
You have an extra parentheses that is causing an issue. Your formula should be the following:
=AND(C[-1]<O[-1],C[-2]<O[-2],C[-3]<O[-3],C>O)
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