Login Page - Create Account

Support Board


Date/Time: Fri, 07 Feb 2025 14:37:00 +0000



Post From: simple formula

[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