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

  • 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
  • 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
  • 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
  • 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
  • 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
  • Thank you for your excellent work and kind approach to your customers.

    Odette C., Subscriber

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

    Peter H., 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 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
  • 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

  • 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 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
  • Stock Trends Weekly Reporter is an easy way to pick up equities that represent an upward trend.

    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 very much like the systematic approach to analyzing stock data, it fits my approach.

    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

  • 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 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

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

  • War, Inflation, and Rotation: What Stock Trends Reveals After the Middle East Shock
    War, Inflation, and Rotation: What Stock Trends Reveals After the Middle East Shock This week's market headlines have been dominated by war, oil, and inflation fears. However, the Stock Trends context indicates that this is not a broad liquidation. It is a disciplined rotation into sectors tied to scarcity, resilience, and security. Markets do not move from a blank slate. They rotate, they re-price, and they reveal where capital was already preparing to move before the headlines become obvious. This past week’s escalation in the Middle East has undeniably shaken investor confidence, but the latest Stock Trends dataset suggests that the deeper message is not indiscriminate panic. It is a reordering of leadership.
    07 March 2026 Read more...
  • Not Risk-On. Not Risk-Off. Rotation.
    Not Risk-On. Not Risk-Off. Rotation. Not Risk-On. Not Risk-Off. Rotation. In our recent editorial, The Hard Asset Regime Is Not a Trade — It’s a Structure, we examined the persistent leadership emerging in gold and materials and argued that real assets were no longer functioning as short-term hedges, but as structural participants in the market. The current Stock Trends dataset extends that thesis — but in a different direction. The 13-week ST-IM probability model is no longer pointing to a narrow leadership cluster. It is identifying a market redistributing capital across multiple durable themes simultaneously. This is not a simple “risk-on” environment. It is not a defensive “risk-off” retreat. It is rotation.
    02 March 2026 Read more...
  • The Hard-Asset Regime Is Not a Trade — It’s a Structure
    The Hard-Asset Regime Is Not a Trade — It’s a Structure Markets rarely move randomly. They rotate. They reallocate. They transition from one leadership regime to another. And when that transition is real, it shows up not in headlines — but in breadth. This week’s Stock Trends universe reveals something decisive. When we measure common stocks only (removing ETFs that duplicate underlying holdings), two sectors stand apart: Materials and Energy.
    21 February 2026 Read more...
  • Stock Trends Mid-Quarter Review: How the Year-End 2025 Themes Are Performing in Q1 2026
    Stock Trends Mid-Quarter Review: How the Year-End 2025 Themes Are Performing in Q1 2026 Halfway through Q1 2026, the question is no longer theoretical: Did the year-end institutional momentum and ST-IM Alpha themes actually guide investors effectively? With the updated February 13, 2026 Stock Trends dataset now in hand, we can measure the outcome directly — not against headlines, but against trend structure, relative strength, and momentum persistence. The short answer: the framework largely held — but leadership rotated exactly where the model suggested it might.
    14 February 2026 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!