Login Page - Create Account

Support Board


Date/Time: Tue, 21 May 2024 19:57:07 +0000



Post From: Alerts within a few bars

[2019-07-18 17:39:55]
John - SC Support - Posts: 31775
No. It is just an absolute reference, so if you want to do something with the past three bars, you would need to have 3 entries,. For example, if you want to find out if the Close is above 2800 for any of the prior three bars, you would enter the following formula: =OR(C[-3] > 2800, C[-2] > 2800, C[-1] > 2800)

Just so you are aware, there is the ability to specify a range, but it only works with formulas that can take a range as an input, such as the AVERAGE function (it would not work for the above scenario). Refer to the following for more information on using a Range within an Alert formula:
Study/Chart Alerts And Scanning: Referencing A Range of Data
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing