Login Page - Create Account

Support Board


Date/Time: Sat, 12 Jul 2025 17:53:52 +0000



Post From: Color bar based on alert condition

[2024-12-16 14:32:31]
John - SC Support - Posts: 40857
You are checking a bar against itself. If you want to test against the previous bar, then you need to use a [-1] modifier, so your condition would be the following:
=AND(ID2.SG2 > ID2.SG2[-1], ID3.SG2 > ID3.SG2[-1])

Refer to the following:
Study/Chart Alerts And Scanning: Referencing Data Other Than on the Last Bar/Column In the Chart
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing