Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 10:07:06 +0000



Post From: Color bar based on alert condition syntax error

[2024-04-25 21:34:10]
John - SC Support - Posts: 31704
What you posted doesn't mean anything to the system. If these conditions are all supposed to be true at the same time to give an alert, the you need to use the AND() function, such as the following:
AND(h<h[-5],h[-4]<h[-5],h[-3]<h[-5],h[-2]<h[-5],h[-1]<h[-5],
l>l[-5],l[-4]>l[-5],l[-3]>l[-5],l[-2]>l[-5],l[-1]>l[-5]
)

Refer to the following:
Study/Chart Alerts And Scanning: OR and AND Functions
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing