Gord Greer's Scan Building Blocks
Gord Greer is a long-time StockCharts.com member and an experienced Scan Engine user who has been helping people with their scanning questions for many years. In this page, we present a set of scan building blocks that he uses to create new scans.
Scan building blocks are just what they sound like—little snippets of scan syntax that you can plug into new scans as you build them. If you have a standard set of scan clauses that you use over and over in many scans, you can even create a “scan template” with your own building blocks and use it as a starting point for new scans you create.
Learn More. Creating Your Own Scan Templates
Note: StockCharts.com makes no claims about the effectiveness of these scans for trading purposes. These scans should only be used for educational purposes to help you develop your own trading strategy.
Gord's Building Blocks
General Layout
This building block contains multiple clauses connected with “and” and “or” operators to help define the general layout of a scan. Of course, you would need to insert your actual scan clauses into this framework when you use it to build your own scan.
Universe Definition
Most people use the same one or two universe definitions over and over again, so these building blocks are great candidates for a scan template. Universe-defining clauses can cover everything from security type to country to exchange to even simple liquidity requirements using average price and/or volume. Here are Gord's building blocks that fall in this category. (Your building blocks should define the universe of securities that you are interested in trading.)
Type
Country
Exchange
Group
ChartLists
Note: Your ChartList numbers will be different, of course. Using OR clauses allows you to search multiple ChartLists for a single criterion. Learn more in our Scanning Your ChartLists article in the Support Center.
Liquidity
Note: Price and volume criteria can be added in separate clauses. In this building block, they are combined to scan for an average liquidity (dollars traded per day) of more than $500,000.
Scan Development Clauses
Note: It is often helpful to artificially limit the scan results while developing a scan. Gord likes to use a price bracket like the above building block to temporarily limit the results returned by the scan. These temporary development clauses will need to be removed once you have finished developing the scan.
Conditions and Signals
While conditions and signals vary from scan to scan, some criteria are used so frequently in scans that it is worthwhile to create a building block. Here are Gord's building blocks for his most commonly-used conditions and signals. You may want to change the parameters used in these building blocks, or even change entire scan clauses, to better suit your trading style.
Uptrends and Downtrends
The scan below finds securities where the RSI(14) values for the last 75 days are above 40.
The scan below finds securities where the RSI(14) values for the last 75 days are all below 60.
The scan below finds securities where the MACD values for the last 130 days (approx. 6 months) are all above zero.
Convergence/Consolidation
The scan below finds securities where the 20-day, 100-day, and 200-day simple moving averages (SMAs) are all within +/-1% of the 50-day SMA.
The scan below finds securities where the 3-day, 10-day and 40-day simple moving averages (SMAs) are all within +/-1% of the 20-day SMA.
The scan below finds securities where the maximum and minimum close for the last 20 days are within +/-2% of today's 20-day simple moving average (SMA).
The scan below finds securities where the maximum high and minimum low for the last 10 days are within +/-2% of today's 10-day simple moving average (SMA).
The scan below finds securities where the maximum and minimum close for the last 20 days are within +/-3% of today's close.
Signals or Other Unusual Activity
The first two clauses scan for consolidation, as the maximum and minimum close for the 30 days prior to yesterday must be within +/-3% of yesterday's 20-day simple moving average (SMA). The remaining clauses scan for the breakout: today's close must be at least 5% above or below today's 20-day SMA.
Note: The OR clause finds stocks that are breaking out in either direction, but you can modify this if you are only interested in bullish breakouts.
In the scan below, the use of the OR clause allows you to simultaneously scan for multiple different kinds of unusual activity that might be of interest, including sudden spikes in volume or price over the last couple of days.
Note: This scan is ideal for scanning your watch lists or some other small universe of stocks.
Conclusions
Remember, these are just the scan building blocks that Gord uses. Your investment needs and trading style will be different than his, so use these as inspiration to develop your scan building blocks.
Once you've gathered your most-used building blocks, consider turning them into a scan “template” so you can quickly and easily access your building blocks whenever you create a new scan.
Additional Resources
Support Center Articles
Reference Guides
Last updated