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

help with ROC scan

I am trying to find stocks that went up 200% in any 125 day span, in the last year(252).

Somehow I get RNA and VKTX on my list. Neither has even doubled at any point this year.

[type is stock] and[exchange is NYSE] or [exchange is nasdaq] or [exchange is amex]
and [group is not etf] and [name NOT CONTAINS 'etf'] and [name not CONTAINS 'bond'] and [name NOT CONTAINS'trust'] and [name not contains 'acquisition'] and [name not contains 'muni']
AND [CLOSE > 5]
and [sma(20,volume) > 225000]
and [MARKET CAP > 2500]
and [max(252, ROC(125)) > 200]

I like to look for stocks that make huge gains in various time frames and use them on a big gainer list.
I often get stocks that don't belong on list, I think, if I'm running the scan right.
I am not sure I am using the "max" right

Can anyone help?
thanks

Comments

  • lmkwinlmkwin ✭✭
    I think you have it right. If you have a daily chart, put the ROC(125) on it with an Overlay of Horizontal Line with 200 in the parameter. When the ROC125 is above the 200 level is what you are looking for.

    In RNA's and VKTX's case, the ROC125 was above 200 in July and August last year (within the 252 day period)

    To get more "current" and not the older names, perhaps put a restriction that you are comfortable with. You could add a line to restrict like

    and [100 days ago max(252, ROC(125)) < 200]
  • lmkwinlmkwin ✭✭
    edited July 20
    I put the < and should have put the >. Sorry.

    options

    and [100 days ago max(252, ROC(125)) > 200]
    and [50 days ago max(252, ROC(125)) > 200]
    and [1 days ago max(252, ROC(125)) > 200]
  • Although it returns the same results either way, it's probably better to have brackets to isolate your "or" statement (as shown below). The extra spacing is not necessary - just to make it easy to see here.


    [type is stock]

    and [ [exchange is NYSE]
    or [exchange is nasdaq]
    or [exchange is amex] ]

    and [group is not etf]
    and [name NOT CONTAINS 'etf']
    and [name not CONTAINS 'bond']
    and [name NOT CONTAINS'trust']
    and [name not contains 'acquisition']
    and [name not contains 'muni']

    AND [CLOSE > 5]
    and [sma(20,volume) > 225000]
    and [MARKET CAP > 2500]
    and [max(252, ROC(125)) > 200]

    The scan editor gives you a warning to include the brackets, but the scan engine returns the same results either way. It's a mystery to me how you get the same results with or without the brackets in this case, but that IS the case here. It may not be for a different scan.

    Also, if you copy/paste the code exactly as you have it above, gives the warning, but if you 'click here to fix', it misplaces the brackets. If you group them as above, it does it correctly.
  • lmkwinlmkwin ✭✭
    edited July 20
    Now that Markd fixed up the scan, it test ran it and you would need to shorten the Max 252 to a shorter period.

    and [max(100, ROC(125)) > 200]
    and [max(50, ROC(125)) > 200]
    and [max(1, ROC(125)) > 200]
  • Thanks guys, i get it now. My "max" was too far back so with the ROC, I was looking back a year and a half. I just want to see Roc for time frames within the last year.

    Thanks.
Sign In or Register to comment.