New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.

Question about Math Operators

Hi!

I have a scan that includes:

AND
[3 days ago Daily Close > 29 days ago Daily Close]

and, it works well.

But, when I changed to:

AND
[3 days ago Daily Close > ((29 days ago Daily Close) * 1.05)]

I get a syntax error. Why?

Thank you!

Dr. T

Comments

  • markdmarkd mod
    edited October 8
    You don't need the parens, but if you want them, use brackets [ ] instead of parens ( ).

    Parens are reserved for functions, like sma(5, close) or MACD Line(12,26,9). so use brackets to group operations.
Sign In or Register to comment.