PART I
The Foundation of Technical Analysis
CHAPTER 1
The Traderâs Edge
If you would be a real seeker after truth, it is necessary that at least once in your life you doubt, as far as possible, all things.
âRenĂ© Descartes
There is something fascinating and mesmerizing about price movements in actively traded markets; academics, researchers, traders, and analysts are drawn to study markets, perhaps captivated as much by the patterns in the market as by the promise of financial gain. Many people believe that price changes are random and unpredictable; if this were true, the only logical course of action would be to avoid trading and to invest in index funds. This is, in fact, what a significant number of financial advisers recommend their clients do. On the other hand, there are analysts and traders who believe that they have some edge over the market, that there is some predictability in prices. This camp divides into two groups that historically have been diametrically opposed: those who make decisions based on fundamental factors and those who rely on technical factors. Fundamental analysts and traders make decisions based on their assessment of value, through an analysis of a number of factors such as financial statements, economic conditions, and an understanding of supply/demand factors. Technical traders and analysts make decisions based on information contained in past price changes themselves.
Our work here concerns the latter approach. Few traders make decisions in a vacuum; technical traders may consider fundamental factors, and fundamental traders may find that their entries and exits into markets can be better timed with an understanding of the relevant elements of market structure, money flows, and price action. Most traders find success with a hybrid approach that incorporates elements from many disciplines, and there are very few purely technical or fundamental decision makers. The key distinction, for us, is that technically motivated traders acknowledge the primacy of price itself. They know that price represents the end product of the analysis and decision making of all market participants, and believe that a careful analysis of price movements can sometimes reveal areas of market imbalance that can offer opportunities for superior risk-adjusted profits. Building the tools for that analysis and learning how to apply them is the purpose of this book.
DEFINING A TRADING EDGE
Most of the time, markets are efficient, meaning that all available information is reflected in asset prices, and that price is a fair reflection of value. Most of the time, prices fluctuate in a more or less random fashion. Though a trader may make some profitable trades in this type of environment purely due to random chance, it is simply not possible to profit in the long run; nothing the trader can do will have a positive effect on the bottom line as long as randomness dominates price changes. In theory, in a true zero-expectancy game, it should be possible to trade in a random environment and to break even, but reality is different. Trading accounts in the real world suffer under the constant drag of a number of trading frictions, transaction costs, errors, and other risks. Together, these create a high hurdle that must be overcome in order to break even. It is even possible for a trader to work with a positive expectancy system and still lose a significant amount of money to the vig.
Newer traders especially are often drawn to focus on elements of performance psychology and positive thinking. There is an entire industry that caters to struggling traders, holding out hope that if they could just get their psychological issues resolved, money would flow into their trading accounts. However, this fails to address the core problem, which is that most traders are doing things in the market that do not work. Excellent execution, risk management, discipline, and proper psychology are all important elements of a good trading plan, but it is all futile if the trading system does not have a positive expectancy. These are essential tools through which a trading edge can be applied to the market, and without which a trader is unlikely to succeed in the long run. However, none of these is a trading edge in itself.
A positive expectancy results when the trader successfully identifies those moments where markets are slightly less random than usual, and places trades that are aligned with the slight statistical edges present in those areas. Some traders are drawn to focus on high-probability (high win rate) trading, while others focus on finding trades that have excellent reward/risk profiles. Neither of these approaches is better than the other; what matters is how these two factors of probability and reward/risk ratio interact. For instance, it is possible to be consistently profitable with a strategy that risks many times more than what is made, as long as the win rate is high enough, or with a much lower percentage of winning trades if the reward/risk ratio compensates. In all cases, the trading problem reduces to a matter of identifying when a statistical edge is present in the market, acting accordingly, and avoiding market environments that are more random. To do this well, it is essential to have a good understanding of how markets move and also some of the math behind expectancy and probability theory.
Expected Value
Expected value (or expectancy) is a term from probability theory that every good trader and gambler understands intuitively. For our purposes, we need to define a number of scenarios that each have a precisely defined payout (or loss), and we also need to be able to quantify the probabilities of each scenario occurring. If we are analyzing actual trading records, this can be as simple as calculating summary statistics for historical trades, but the problem is much more complicated on a look-forward basis because we have to make assumptions about how closely future conditions are likely to resemble history. Furthermore, we also need to make sure that our calculations include every possible outcome so that the probabilities sum to 1.0; this is sometimes difficult in real-world applications where unforeseeable outlier events may lurk in the future. Leaving these practical considerations aside for a moment and focusing on the underlying math, multiplying the payout of each scenario by the probability of each scenario occurring creates a probability-weighted average of the payouts, which is also called the expected value.
The Expected Value Formula
Formally, for k possible scenarios, each with a payoff of x and associated probability p, the expected value E( ) is defined as:
or, in alternate notation:
Consider a simplified example where a trader can either make or lose 1 point with 50 percent probability of either outcome. In this example, the relevant math is: E(X) = .5(1) + .5( - 1) = 0. It is important to understand precisely what expectancy tells us, which, in the case of a simplified trading or game of chance scenario, is the average amount we should win or lose on each trial. Furthermore, and this is very important, like many things in the field of probability, expectancy is valid only over a fairly large sample size. Even though our trader was playing a zero expectancy game, it is entirely possible that the trader could have had many wins or losses in a row, and could actually have accumulated a significant gain or loss at some point. In fact, it is very likely this will happen because random data tends to have many more strings of runs than most people would expect. Over a larger sample, it is likely that the actual value realized will begin to converge on the theoretical expected value, but distortions can and do occur.
The bottom line is that you must have an edge. If you are not trading with a statistical advantage over the market, everything else is futile. Nothing will help. Discipline, money management, execution skills, and positive thinking add great value in support of an actual edge, but they are not edges in themselves. From a statistical standpoint, the definition of an edge is simple: can you properly identify entry and exit points in the market so that, over a large sample size, the sum of the profit and loss (P&L) from your winning trades is greater than the sum of your losing trades? The question then becomes: how do you find, develop, refine, and maintain an edge? There are many answers to that question; this book shows one possible path.
Where Does the Edge Come From?
Many of the buying and selling decisions in the market are made by humans, either as individuals, in groups (as in an investment committee making a decision), or through extension (as in the case of execution algorithms or âalgosâ). One of the assumptions of academic finance is that people make rational decisions in their own best interests, after carefully calculating the potential gains and losses associated with all possible scenarios. This may be true at times, but not always. The market does not simply react to new information flow; it reacts to that information as it is processed through the lens of human emotion. People make emotional decisions about market situations, and sometimes they make mistakes. Information may be overweighted or underweighted in analysis, and everyone, even large institutions, deals with the emotions of fear, greed, hope, and regret.
In an idealized, mathematical random walk world, price would have no memory of where it has been in the past; but in the real world, prices are determined by traders making buy and sell decisions at specific times and prices. When markets revisit these specific prices, the market does have a memory, and we frequently see nonrandom action on these retests of important price levels. People remember the hopes, fears, and pain associated with price extremes. In addition, most large-scale buying follows a more or less predictable pattern: traders and execution algorithms alike will execute part of large orders aggressively, and then will wait to allow the market to absorb the action before resuming their executions. The more aggressive the buyers, the further they will lift offers and the less they will wait between spurts of buying. This type of action, and the memory of other traders around previous inflections, creates slight but predictable tendencies in prices.
There is no mystical, magical process at work here or at any other time in the market. Buying and selling pressure moves pricesâonly this, and nothing more. If someone really wants to buy and to buy quickly, the market will respond to the buying and sellers will raise their offers as they realize they can get a better (higher) price. Similarly, when large sell orders hit the market, buyers who were waiting on the bid will get out of the way because they realize that extra supply has come into the market. More urgency to sell means lower prices. More buying pressure means higher prices. The conclusion is logical and unavoidable: buying and selling pressure must, by necessity, leave patterns in the market. Our challenge is to understand how psychology can shape market structure and price action, and to find places where this buying and selling pressure creates opportunities in the form of nonrandom price action.
The Holy Grail
This is important. In fact, it is the single most important point in technical analysisâthe holy grail, if you will. Every edge we have, as technical traders, comes from an imbalance of buying and selling pressure. Thatâs it, pure and simple. If we realize this and if we limit our involvement in the market to those points where there is an actual imbalance, then there is the possibility of making profits. We can sometimes identify these imbalances through the patterns they create in prices, and these patterns can provide actual points around which to structure and execute trades. Be clear on this point: we do not trade patterns in marketsâwe trade the underlying imbalances that create those patterns. There is no holy grail in trading, but this knowledge comes close. To understand why this is so important, it is necessary to first understand what would happen if we tried to trade in a world where price action was purely random.
FINDING AND DEVELOPING YOUR EDGE
The process of developing and refining your edge in the market is exactly that: an ongoing process. This is not something you do one time; it is an iterative process that begins with ideas, progressing to distilling those ideas to actionable trading systems, and then monitoring the results. Midcourse corrections are to be expected, and dramatic retooling, especially at the beginning, is common. It is necessary to monitor ongoing performance as markets evolve, and some edges will decay over time. To be successful as an individual discretionary trader means committing to this process. Trading success, for the discretionary trader, is a dynamic state that will fluctuate in response to a multitude of factors.
Why Small Traders Can Make Money
This is an obvious issue, but one that is often ignored. The argument of many academics is that you canât make money trading; your best bet is to put your money in a diversified fund and reap the baseline drift compounded over many years. (For most investors, this is not a bad plan for at least a portion of their portfolios.) Even large, professionally managed funds have a very difficult time beating the market, so why should you be able to do so, sitting at home or in your office without any competitive or informational advantage? You are certainly not the best-capitalized player in the arena, and, in a field that attracts some of the best and brightest minds in the world, you are unlikely to be the smartest. You also will not win by sheer force of will and determ...