Scan Help

Nothing comes out. Whats wrong
[ type = stock] and [country is US]
and [Upper BB(20,2) < Upper Kelt Chan(20,2,10) ]
and [Lower BB(20,2) > Lower Kelt Chan(20,2,10)]
and [[1 day ago High > max(5,High)]
or [1 day ago High > max(10,High)]
or [1 day ago High > max(15,High)]
or [1 day ago High > max(20,High)]]
#and [MACD Hist (12,26,9) > 1 day ago MACD Hist (12,26,9)]
#and [MACD Hist (12,26,9) x 0.0]
and [Close <60] and [optionable is true]
and [ATR(14) > 1.5]

Comments

  • lmkwin
    lmkwin ✭✭
    edited November 2022
    I don't know what you are looking for and didn't run the scan, but if comparing a today value against a max or a min, you need to use a prior period max or min. So if today is greater than 1 day ago max it will return a value. The way you have it, if today IS the max, then it can't be greater than itself, so will return nothing.

    I don't know what the # is. If looking to exclude those lines, use a double backslash // in front of them.

    See if that helps.

    nd [[1 day ago High > 2 days ago max(5,High)]
    or [1 day ago High > 2 days ago max(10,High)]
    or [1 day ago High > 2 days ago max(15,High)]
    or [1 day ago High > 2 days ago max(20,High)]]

  • Thanks so much