Login Page - Create Account

Support Board


Date/Time: Mon, 01 Sep 2025 20:01:20 +0000



Post From: Logic for Alert condition, colour bar

[2025-02-26 19:26:08]
John - SC Support - Posts: 41552
Here is the logic to test one bar back and the current bar:
=AND(C < O, C - L >= 10.0, C[-1] < O[-1], C[-1] - L[-1] >= 10.0)

Where the notation of [-1] denotes one bar back. Refer to the following:
Study/Chart Alerts And Scanning: Referencing Data Other Than on the Last Bar/Column In the Chart


We leave it to you to extend this to additional bars (just follow the pattern).
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing