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.
Options

Need help to scan stock making higher top higher bottom from last 2-3 months.

Can you please help writing the above scan?

Thanks

Answers

  • Options
    Here is a scan I use for bullish stocks making a pullback. You can use a similar scan but change the "less than" to "greater than" and the time periods. You can also add the same comparison for daily low in addition to daily high.

    • 20-day Exponential Moving Average of Close for today is greater than 50-day Exponential Moving Average of Close for today
    • 50-day Exponential Moving Average of Close for today is greater than 200-day Exponential Moving Average of Close for today
    • Daily Close for today is greater than 20-day Exponential Moving Average of Close for today
    • Daily High for today is less than Daily High for yesterday
    • Daily High for yesterday is less than Daily High for 2 days ago
    • Daily High for 2 days ago is less than Daily High for 3 days ago
    • Daily High for 3 days ago is less than Daily High for 4 days ago
    • Daily High for 4 days ago is less than Daily High for 5 days ago
  • Options
    markdmarkd mod
    edited November 2014
    Here's another alternative to try (Mark_L's scan is great, just taking another approach):

    [type = stock] AND [Daily SMA(20,Daily Volume) > 40000]

    // lower price channel is still rising

    and [Lower Price Chan(21) = max(21, Lower Price Chan(21))]

    // test current month channels against prior month

    // lowest upper price channel in last 21 days is better than the best of prior 21 days

    and [min(21, Upper Price Chan(21)) > 21 days ago max(21, Upper Price Chan(21))]

    // and same test of lower price channel

    and [min(21, Lower Price Chan(21)) > 21 days ago max(21, Lower Price Chan(21))]

    //************if you want, same tests for second month versus third month
    //and [21 days ago min(21, Upper Price Chan(21)) > 42 days ago max(21, Upper Price Chan(21))]

    //and [21 days ago min(21, Lower Price Chan(21)) > 42 days ago max(21, Lower Price Chan(21))]

    The test of the most recent two months gets a reasonable number of hits that look pretty good. Adding the third month gets no hits, so I left it in but commented it out. Those lines might be useful in a different market.

    You could play with the 21 day parameter to see if it makes a difference.
Sign In or Register to comment.