Elliott and Gann have become household names amongst the trading community worldwide. These pioneers of technical analysis developed some of the most widely used techniques. But how did Elliott and Gann come up with these techniques, and how did they become so successful? Truth be told, it's not as difficult as it sounds! This article takes you through the process of building your own custom indicator, which you can use to gain an edge over the competition. (For related reading, check out How To Use Gann Indicators.)
TUTORIAL: Technical Analysis
Background
Recall that the theory behind technical analysis states that financial charts take all things into account  that is, all fundamental and environmental factors. The theory goes on to state that these charts display elements of psychology that can be interpreted via technical indicators.
To better understand this, let's look at an example. Fibonacci retracements are derived from a mathematical sequence: 1, 1, 2, 3, 5, 8, 13 and so on. We can see that the current number is the sum of the previous two numbers. What does this have to do with the markets? Well, it turns out that these retracement levels (33%, 50%, 66%) influence traders' decisions to such an extent that the levels have become a set of psychological support and resistance levels. The idea is that, by finding these points on charts, one can predict the future directions of price movements. (For more on these handy numbers, check out Taking The Magic Out Of Fibonacci Numbers.)
Components of an Indicator
All indicators are created to predict where a price is headed when a certain condition is present. Traders try to predict two basic things:
 Support and resistance levels  These are important because they are the areas at which prices reverse direction.
 Time  This is important because you need to be able to predict when price movements will occur.
Occasionally, indicators predict these two factors directly  as is the case with Bollinger Bands® or Elliott's waves  but indicators commonly have a set of rules enacted in order to issue a prediction. (For more basics, check out Support & Resistance Basics.)
For example, when using the breadth thrust indicator (which is represented by a line indicating momentum levels), we need to know which levels are relevant. The indicator itself is simply a line. The breadth thrust indicator looks similar to RSI, in that it is "rangebound," and it is used to gauge the momentum of price movements. When the line is in the median zone, there is little momentum. When it rises into the upper zone, we know that there is increased momentum, and vice versa. One could look to take a long position when the momentum is on the rise from low levels and look to short after the momentum peaks at a high level. It is important to set rules to interpret the meaning of an indicator's movements in order to make them useful.
With this in mind, let's look at ways of creating predictions. There are two main types of indicators: unique indicators and hybrid indicators. Unique indicators can be developed only with core elements of chart analysis, while hybrid indicators can use a combination of core elements and existing indicators.
Components of Unique Indicators
Unique indicators are based on inherent aspects of charts and mathematical functions. Here are two of the most common components:
1. Patterns
Patterns are simply repeating price sequences apparent over the course of a given time period. Many indicators use patterns to represent probable future price movements. For example, Elliott Wave theory is based on the premise that all prices move in a certain pattern that is simplified in the following example:
Figure 1: An Elliott wave pattern 
There are many other simple patterns that traders use to identify areas of price movement within cycles. Some of these include triangles, wedges and rectangles.
These types of patterns can be identified within charts simply by looking at them; however, computers offer a much faster way to accomplish this task. Computer applications and services provide the ability to locate automatically such patterns.
2. Mathematical Functions
Mathematical functions can range from price averaging to more complex functions based on volume and other measures. For example, Bollinger Bands® are simply fixed percentages above and below a moving average. This mathematical function gives a clear price channel showing support and resistance levels
Components of Hybrid Indicators
Hybrid indicators use a combination of existing indicators and can be thought of as simplistic trading systems. There are countless ways in which elements can be combined to form valid indicators. Here's an example of the MA crossover:
This hybrid indicator utilizes several different indicators including three instances of the moving averages. One must first draw the 3, 7 and 20day moving averages based on the price history. The rule then looks for a crossover in order to buy the security or a crossunder in order to sell. This system indicates a level at which price movement can be expected, and provides a reasonable way to estimate when this will occur (as the lines draw closer together). Here's what it might look like:
Figure 1: A moving average crossover 
Source: Yahoo Finance 
Creating an Indicator
A trader can create an indicator by following several simple steps:
 Determine the type of indicator you wish to build: unique or hybrid.
 Determine the components to be included in your indicator.
 Create a set of rules (if necessary) to govern when and where price movements should be expected to occur.
 Test your indicator in the real market through back testing or paper trading.
 If it produces good returns, put it into use.
An Example
Suppose we want to create an indicator that measures one of the most basic elements of the markets: price swings. The goal of our indicator is to predict future price movements based on this swing pattern. (For related reading, check out Using Technical Indicators To Develop Trading Strategies.)
Step 1
We look to develop a unique indicator using two core elements, a pattern and math functions.
Step 2
Looking at weekly charts of company XYZ's stock, we notice some basic swings between bullishness and bearishness that each last about five days. As our indicator is to measure price swings, we should be interested in patterns to define the "swing" and a mathematical function, price averages, to define the scope of these swings.
Step 3
Now we need to define the rules that govern these elements. The patterns are the easiest to define: they are simply bullish and bearish patterns that alternate every five or so days. To create an average, we take a sample of the duration of upward trends and a sample of the duration of downward trends. Our end result should be an expected time period for these moves to occur.
To define the scope of the swings, we use a relative high and a relative low, and we set these at the high and low of the weekly chart. Next, to create a projection of the current incline/decline based on past inclines/declines, we simply average the total inclines/declines and predict the same measured moves (+/) occur in the future. The direction and duration of the move, again, is determined by the pattern.
Step 4
We take this strategy and test it manually, or use software to plot it and create signals. We find that it can successfully return 5% per swing (every five days). (Find out more in Backtesting And Forward Testing: The Importance Of Correlation.)
Step 5
Finally, we go live with this concept and trade with real money.
Bottom Line
Building your own indicator involves taking a deeper look into technical analysis, and then developing these basic components into something unique. Ultimately, the aim is to gain an edge over other traders. Just look at Ralph Nelson Elliott or W.D. Gann; their successful indicators gave them not only a trading edge but also popularity and notoriety within financial circles worldwide.

Investing Basics
3 Key Signs Of A Market Top
When stocks rise or fall, the financial fate of investors change, as well. There are certain signs that can reveal a stock’s course, and investors don’t need to be experts to spot them. 
Chart Advisor
ChartAdvisor for October 2 2015
Weekly technical summary of the major U.S. indexes. 
Investing
How Diversifying Can Help You Manage Market Mayhem
The recent market volatility, while not unexpected, has certainly been hard for any investor to digest. 
Technical Indicators
Why MACD Divergence Is an Unreliable Signal
MACD divergence is a popular method for predicting reversals, but unfortunately it isn't very accurate. Learn the weaknesses of indicator divergence. 
Investing News
6 Signs You Are Addicted To Investing
An addiction to trading can ruin your life and relationships. Not to mention the monetary costs. There are telltale signs that you've gone too far. 
Chart Advisor
Weakness In Biotech Will Likely Continue
You can breathe easy with your biotech holdingsassuming you aren't counting on them to make you rich. 
Stock Analysis
The Biggest Risks of Investing in FireEye Stock
Examine the current state of FireEye, Inc., and learn about some of the biggest risks of investing in this cybersecurity company's stock. 
Stock Analysis
The Biggest Risks of Investing in Gilead Stock
Examine the current position of Gilead Sciences, Inc., and learn the major risks for investors considering buying Gilead stock. 
Chart Advisor
Expecting a Big Breakout In These 4 Stocks
These stocks are tightly wound following big moves, and upon breakout more big moves could ensue. 
Chart Advisor
Trade Base Metals With These 3 ETFs
News out of Alcoa is causing active traders to turn toward base metals for opportunities. Before diving into the market, check out the charts of these three ETFs.

What are some of the most common technical indicators that back up Doji patterns?
The doji candlestick is important enough that Steve Nison devotes an entire chapter to it in his definitive work on candlestick ... Read Full Answer >> 
How do I use discounted cash flow (DCF) to value stock?
Discounted cash flow (DCF) analysis can be a very helpful tool for analysts and investors in equity valuation. It provides ... Read Full Answer >> 
Tame Panic Selling with the Exhausted Selling Model
The exhausted selling model is a pricing strategy used to identify and trade based off of the price floor of a security. ... Read Full Answer >> 
Point and Figure Charting Using Count Analysis
Count analysis is a means of interpreting point and figure charts to measure vertical price movements. Technical analysts ... Read Full Answer >> 
What assumptions are made when conducting a ttest?
The common assumptions made when doing a ttest include those regarding the scale of measurement, random sampling, normality ... Read Full Answer >> 
When does the fixed charge coverage ratio suggest that a company should stop borrowing ...
Since the fixed charge coverage ratio indicates the number of times a company is capable of making its fixed charge payments ... Read Full Answer >>