Login Page - Create Account

Support Board


Date/Time: Mon, 19 May 2025 20:03:00 +0000



Post From: Alert color

[2024-01-25 16:41:47]
John - SC Support - Posts: 39886
To check if the Close of the previous bar is less than the current bar, the formula would be the following:
=C[-1] < C

If you are using the Inside Bar study, and you want to test these two things (i.e. you have an Inside Bar and you want to check if the Close of the previous bar is less than the close of the Inside Bar), then it would be the following:
=AND(ID1.SG1, C[-1] < C)

Where ID1 is the Inside Bar study and C is the Close of the bar. The [-1] means to look back one bar.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing