What is wrong with this line: "and [1 day ago high - 1 day ago low] / [1 day ago low] > 0.1"

Beginning a new scan I have

[type = stock] AND [Daily SMA(20,Daily Volume) > 100000]
and [Close > 10.00] AND [exchange is NOT OTCMKT]
and [country is US]
and [1 day ago high - 1 day ago low] / [1 day ago low] > 0.1

and get this error message:
" There are unrecognized characters after the rightmost square bracket "
so apparently I am missing something pretty basic. What?

Best Answer

  • gord
    gord admin
    edited October 2015 Answer ✓
    Just the last line is missing a set of outside brackets, try this.

    and [ [1 day ago high - 1 day ago low] / [1 day ago low] > 0.1 ]

Answers