Login Page - Create Account

Support Board


Date/Time: Fri, 26 Apr 2024 08:08:51 +0000



Post From: How to create alert for a a two bar formation?

[2022-08-05 21:54:57]
John - SC Support - Posts: 31131
You would have to use an OR function in combination with the offsets. So you would have the following for the Close of the bar less than 4200 in any of the previous 4 bars:
=OR(C[-4] < 4200, C[-3] < 4200, C[-2] < 4200, C[-1] < 4200)

You can next AND and ORs, so you could have the following:
=AND(OR(C[-4] < 4200, C[-3] < 4200, C[-2] < 4200, C[-1] < 4200), Condition 2)

Which would be true if any of the previous 4 bars closed less than 4200 and Condition 2 is true.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing