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.

Volume scan

How do you write a scan for stocks that have a volume surge of 9million or more?

Answers

  • lmkwinlmkwin ✭✭
    edited July 21
    and [today's volume > [yesterday's volume + 9000]]

    volume is in thousands so 9,000,000 becomes 9000.

    Whether 9 million is a "surge" would be your next decision.

    If you go to the scan workbench, one of the dropdown sections is Predefined Scans.



    Selecting one or more will pull the basic framework code of the SC predefined scan into the workbench. One of the predefined scans is Strong Volume Gainer.

    That defaults in like this:

    [type is stock] and [sma(20,volume) > 20000]
    and [today's volume > yesterday's sma(20,volume)*4]
    and [today's close > yesterday's close]

    If you get stuck, post what you have for troubleshooting assistance.

    I'll also point out that on the top of the workbench are other links, one of which is the Predefined Scans table but also there is a link to the Sample Scan Library



    The Sample Scan Library has other commonly requested scans and their code available for your use as well.
  • You could think of it as a per cent increase, too. In the default version shown above, " *4 " is the equivalent of 400%. So you could change that to anything else

    1.25 would be 125%

    2.5 would be 250 %

    10 would be 1000%

    etc.

    This approach is likely to be more productive than a constant, like 9 million. For some stocks that would be impossible, and for others it could be a normal fluctuation.

    It is a good idea to compare today's volume to yesterday's AVERAGE volume, as the default version example above does. Some stocks' volume varies a lot from day to day, so a multiple of the previous day's volume, if it was pretty low, might not really look like a surge on the chart. Using a multiple of the average takes care of that.
Sign In or Register to comment.