Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 03:24:24 +0000



[User Discussion] - simple formula

View Count: 495

[2020-06-20 18:25:19]
User259724 - Posts: 43
I am trying to write a simple formula to color bars when a simple moving average is rising. I am using color bar based on alert condition study. Assuming that my price bars are SG1 and my moving average is ID1. the formula that I wrote is:

and(ID1.SG1>ID1.SG1[-1]

I don't have any error messages,but the bars are not colored. Not sure what is wrong. Any help is appreciated.

Thanks
[2020-06-20 18:48:05]
Ackin - Posts: 1865
=AND(ID1.SG1>ID1.SG1[-1])
[2020-06-20 19:06:40]
User259724 - Posts: 43
Thanks. I was close

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account