Login Page - Create Account

Support Board


Date/Time: Tue, 07 Jan 2025 13:32:07 +0000



Post From: Color bar based on alert condition

[2024-12-16 14:32:31]
John - SC Support - Posts: 37037
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