Data-driven technical analysis

  • 28 April 2014 |
  • Written by  Skot Kortje, Stock Trends Analyst
  • font size
  • Print

If we are serious about technical analysis, it is important to learn the language and process of data science.

The stock market is a great laboratory. Considering the immense scope of data fueling asset valuations and ultimately influencing market price behaviour, it's not surprising that quantitative models are increasingly used to harness this data. Where analysis frameworks formerly tended to be doctrinaire - whether fundamental or technical - data science is now interjecting a new standard. Data-driven analysis is a booming business.


For technical analysts the rigours of data science present a challenge. The foundation of technical analysis is clearly stated in its primary tenets: the market is transparent, prices trend, and move in identifiable patterns that repeat themselves. The chartist is a practitioner of pattern recognition. But how well do these patterns hold up to data science methods? Does the data support the chart patterns and indicators that are the bread and butter of market technicians?


Although many very successful traders have made their fortunes and fame out of technical analysis, skeptics of the profession have always weighed in. And rightly so. Even market technicians self-proclaim their craft as equal parts science and art. However, those two endeavours don't often mingle well. Science is far too precise to indulge anecdote or flourishes of doctrine unsupported by the cold currency of hard evidence. Art is often too subjective or personal to codify. But quantitative analysis demands codification and measurement of variables.


There is no shortage of technical analysts peddling doctrinaire assertions. Typically, almost every chart pattern presented lacks supporting quantitative evidence of predicative value. The language of the market technician largely fixates on what amounts to textbook, anecdotal guidelines. When assertions about probable outcomes are ventured, seldom do statistical measures accompany them. A recent article published by a technical analyst, for instance, said the following:


"The highest probability setups are the ones that have all the key moving averages on the right side of them. That doesn't mean that other setups will not work, it just means that the odds are slightly higher when this does occur."    See 'I like pullbacks on Vipshop'


Here the use of the word 'probability' implies some kind of definition of a sample space and its measurement. Unfortunately, most technicians offer neither. Statements like the above are bandied about as doctrine, but have no data to back them up. For the data scientist this is verboten.


We now live in a world where data can give us the answers we need, and whether we like the answers or not we must let the data confirm or refute our hypothesis about relationships between variables - or even prove causation if necessary. If you are serious about technical analysis it is important to learn the language and process of data science.


In an effort to address these higher standards I have started to model Stock Trends in the garb of quantitative data analysis. The Stock Trends indicators translate weekly market data into categories, giving the investor a quick and effective way to put current North American stock prices into a trend context. This categorical data fits into a number of data science approaches that transform the Stock Trends indicators into simple statistical models.


This is now an important departure point for any technical methodology - how does the data support an analysis framework? In this case, do the Stock Trends indicators tell us something meaningful about future share price movement? For instance, how meaningful is a Stock Trends Bullish Crossover, alternatively referred to as a Golden Crossover in the lexicon of technical analysts?


The Stock Trends indicator combinations provide an effective data foundation for a statistical inference model. Every week traded issues on the major North American exchanges are codified by these indicator combinations. As an example, last week the Stock Trends indicator combination for Fedex (FDX-N) was represented in the Stock Trends Report:

 


Fedex's stock is labeled as Stock Trends (strong) Bullish ( ). It has been a (strong) Bullish stock for 8-weeks, and has been categorized in a Bullish trend for 71-weeks (see trend counters). The stock has under-performed the S&P 500 index by 4% in the past 13-weeks, as indicated by the Stock Trends Relative Strength indicator (96). Last week it also underperformed the benchmark index, as indicated by the RSI (-) sign. Finally, there is no unusual volume indicator, as defined by Stock Trends. This combination of Stock Trends indicators codifies price trend and momentum market characteristics of Fedex's stock at this moment.


What does this Stock Trends indicator combination tell us about future price movement? Can we assert some probability statement that is based on data evidence? If we want to generalize about a market condition like the one categorized by this Stock Trends indicator combination we must first make an assumption: market conditions are non-specific to a security. This is an integral premise of technical analysis - that patterns evident in one security have relevance in patterns evident in another security.


In order to assign probability statements a sample space of possible outcomes must be defined. We can estimate this sample space through statistical inference methods. In the case of the Stock Trends indicator combinations we can ask the question: how did other stocks with similar indicator combinations perform in the past?


The answer to that question is found in the data. By extracting all like combinations in the 30-year data history we obtain a sample of stocks from which we can measure the post-observation returns. This statistic will measure the change in share price after 4-weeks, 13-weeks, and 40-weeks.


The sample extracted from the data finds 91 other like observations - stocks that sported similar Stock Trends indicator combinations in the past. The distribution of returns for each of these periods is of interest, but here is the sample distribution of post-observation 13-week returns for stocks with similar Stock Trends indicator combinations as the current Stock Trends Report of Fedex.


The sample density distribution is filled in green. The assumed population distribution - a normal distribution - is outlined in blue. The vertical yellow line indicates the estimated population mean return. The vertical red line indicates the base return of a randomly selected stock.

Expected 13-week returns (%) implied by the Stock Trends Inference Model can be summarized briefly:

For 13-week CLOSE returns estimation, with 95 % confidence, the 13-week CLOSE mean return of the population of stocks with a similar Stock Trends indicator combination to FDX will be inside [ 5.688 %, 10.137 %], with probability of 2.5 % we will have a mean return below 5.688%.


The mean return 7.91% and standard deviation of 12.26% tell us that a normal distribution of 13-week CLOSE returns implies a probability of 67.97% that the expected return will be above the base 13-week random return of 2.19%.


FDX is listed in the current Stock Trends Inference Model (ST-IM) Select stocks ST Filter report.
 

back to top

Subscriber Testimonials

  • Stock Trends analysis quantifies nicely the movement of individual stocks. I’ve found that if the technicals are out of synch with fundamental analysis, it is a wake-up call to make a decision. The Stock Trends Bull/Bear Ratio is useful in identifying major market bottoms and tops. It has always presented a good buying or selling opportunity.

    Charles G., Subscriber
  • Just thought I'd call to thank you, Skot. Stock Trends Weekly Reporter helped pay for my daughter's education!

    Peter H., Subscriber

  • Your report is an impressive, excellent tool and I have recommmended it to friends.

    Colin E., Subscriber

  • Stock Trends information is part of the base information I review before making a trade.

    Subscriber
  • I am just writing to tell you of my appreciation of your service! It makes so much sense to me. You seem to be an oasis of stability and sensibility in a stockmarket jungle.

    Adrian S., Subscriber

  • I've followed a number of Stock Trends picks, and the methodology is solid.

    Doug B., Subscriber

  • There is a lot to be gained from comparing trends of how individual stocks are doing within a sector, as well as how the sector is performing relative to the broad market.

    Dudley R., Subscriber

  • Stock Trends Weekly Reporter is an easy way to pick up equities that represent an upward trend.

    Subscriber
  • I have had the good fortune to be reasonably successful and enjoy the investment process. Your process would be recommended for both experts and those who are new to investing.

    Frank I., Subscriber
  • I am something of a momentum investor. I find Stock Trends useful as I can look at my portfolio as a “watch list” and quickly see where trends are declining in strength or reversing, so it is particularly useful as a tool in portfolio management regarding sales.

    William C., Subscriber
  • I am fascinated with your service and methodology - it is very impressive. [...] Over the years I have concluded that there are many ways to approach stock investing, but once one has chosen a path, one is better off sticking to it.

    Bob E., Subscriber

  • I want to thank you for posting such an excellent guide to technical analysis on the web. You have provided a great service to all of us novice investors.

    Michael C., Stock Trends user
  • You have created and maintained an amazing, highly educational program and I am grateful for your part in getting our retirement funds to the good place they are.

    Karin M., Subscriber
  • I've followed your recommendations since reading your columns in the Globe & Mail, and finding they published Stock Trends arrows in their financial listings. I do find them a guide to the general market and what I should be avoiding for declining chart trends.
    Has probably saved me the subscription by not rushing into hot stocks!

    Anthony D., Subscriber
  • An admitted cynic, it's obviously very high praise when he says he likes StockTrends because of its "simplicity, utility, openness, [and] honesty," and in addition to having "no hidden agenda" is "understandably documented [and] historically verifiable." And, he adds, "It lets me see a lot of things without doing a lot of work." Globe and Mail

    Paul W., Subscriber

  • I find your website and research very helpful in my stock trading. I have subscribed to several related services in the past and none present their work with “just the facts” as you. Please keep up the great work so that I can continue to learn! 

    Bryan E., Subscriber
  • I very much like the systematic approach to analyzing stock data, it fits my approach.

    Subscriber
  • I use Stock Trends to help direct my stock picks. Also, following the advice of Stock Trends I have religiously used stop-loss orders and have avoided hanging on to losing stocks for emotional reasons.

    John B., Subscriber
  • Thank you for your excellent work and kind approach to your customers.

    Odette C., Subscriber

  • Hence, anyone who had followed the "Stock Trends" line should have sold their Bre-X shares and, with the windfall, paid for a lifetime subscription to The Globe and Mail and more. Talk about return on investment!

    Muni P., Subscriber

Subscription Plans

Subscription Plans

STWR - Monthly

$19.95

Monthly subscription plan to Stock Trends Weekly Reporter - pay your monthly subscription fees by having them automatically charged (PayPal only). Free 7-day trial period. Subscribers may cancel before the end of any subscription month.

STWR - 1 Year Prepaid Subscription

$199.00

1 Year Prepaid subscription to Stock Trends Weekly Reporter. Save 16% off monthly rate!

STWR - 2 Year Prepaid Subscription

$299.00

2 Year Prepaid subscription to Stock Trends Weekly Reporter. Save 37% off monthly rate!

STWR - 3 Year Prepaid Subscription

$399.00

3 Year Prepaid subscription to Stock Trends Weekly Reporter. Save 44% off monthly rate!

Stock Trends Editorial

  • Long and strong - Bullish trends in specialized retailers
    Long and strong - Bullish trends in specialized retailers Amidst a market still digesting the Federal Reserve’s first rate cut in nine months, one theme stands out in the latest Stock Trends dataset: the remarkable resilience of retail leaders. While thousands of common stocks across NYSE, Nasdaq, and TSX are posting Strong Bullish signals, three consumer-facing companies — TJX Companies, O’Reilly Automotive, and Dollarama — hold the longest uninterrupted Bullish runs on their exchanges.…
    Read more...
  • From Banks to Bytes to Uranium: Strong Bulls Align with ST-IM Signals
    From Banks to Bytes to Uranium: Strong Bulls Align with ST-IM Signals On September 17, 2025, the U.S. Federal Reserve delivered its first interest rate cut in nine months, lowering the federal funds rate by 25 basis points to a new target range of 4.00%–4.25%. This was a response to clear signs of a cooling labor market—slower job growth, shorter workweeks, and rising unemployment in several cohorts. Although inflation remains above the Fed’s 2% target, policymakers signaled…
    Read more...
  • Money management and trading psychology: building a resilient trading plan that integrates with the Stock Trends decision-tree framework
    Money management and trading psychology: building a resilient trading plan that integrates with the Stock Trends decision-tree framework Financial markets are unpredictable. Even when a trading strategy has a positive expectancy, a few bad trades can wipe out an account if position sizes are too large or emotions override discipline. Academic studies show that how much capital is allocated per trade is more influential on long‑term returns than the specific trading system used. For example, research cited by position‑sizing specialist Van Tharp found that…
    Read more...
  • Stock Trends: The Human Side of Market Trends
    Stock Trends: The Human Side of Market Trends Markets don’t move on math alone—they move on people. The screens light up because millions of humans react to news, stories, and each other. Behavioral economics is the field that studies those reactions. This article introduces the big ideas, then brings the story up to date with automated bots and AI trading—and explains how the Stock Trends framework helps you navigate it all.
    Read more...
View all Stock Trends Editorials
 
 

Subscription Plans

STWR - Monthly

$19.95/Month

Monthly subscription plan to Stock Trends Weekly Reporter - pay your monthly subscription fees by having them automatically charged (PayPal only). Free 7-day trial period. Subscribers may cancel before the end of any subscription month.

STWR - 1 Year Prepaid Subscription

$199/Year

1 Year Prepaid subscription to Stock Trends Weekly Reporter. Save 16% off monthly rate!

STWR - 2 Year Prepaid Subscription

$299/2 Years

2 Year Prepaid subscription to Stock Trends Weekly Reporter. Save 37% off monthly rate!

STWR - 3 Year Prepaid Subscription

$399/3 Years

3 Year Prepaid subscription to Stock Trends Weekly Reporter. Save 44% off monthly rate!