Adding Technical Indicators – Copy Method

The easiest way to get a technical indicator into your model is to copy it from another spreadsheet.

Step 1: Find the indicator that you want to use

Step 2: Check that the price columns match up with your model

You now need to make sure that the price and volume columns are the same in your model and source spreadsheet. If not, then you can add or remove columns or use cut and paste to make sure they match.

Step 3: Insert the new columns in your model spreadsheet

Note how many columns you need for the indicator formulas and insert them into the model spreadsheet.

Step 4: Copy and paste the formulas

Select a selection of the indicator formulas and copy them. Paste them into your model spreadsheet – making sure you put them into the same top-left cell in your model.

Do not use cut and paste to do this.

Step 5: Copy the formulas down

Now you copy the formulas down by clicking on the bottom right-hand corner of the selection.

Also, make any changes to the formatting so that you are happy with how your model is organized.

Adding Technical Indicators – Self Programming Method

You can also calculate your own technical indicators in the model. As you become more proficient, you will find this a useful way to make simple indicators and also create your own indicators.

Step 1: Make use of the =Average() function

The Simple Moving Average (SMA) is the oldest and still most widely followed technical indicator. You can replicate this in Excel using the =Average() function.

Start typing =Average and Excel will offer to auto-complete it for you. Click the tab key to accept the auto-complete and then highlight the cells you want to average.

Step 2: Experiment by calculating the average of different price values

With your backtest model spreadsheet, you can easily calculate different moving averages. You can try using the high or low prices, as shown in the video. Or maybe calculate the average price, and then make an SMA of that.

Step 3: Use the standard deviation function

Excel has lots of built-in mathematical functions. The standard deviation is one of the most useful. You can use this to create technical indicators including Bollinger Bands and Standard Deviation Channels as well as analyze market volatility.

Creating a Chart for a Technical Indicator

Excel charts are very versatile, but it is not always obvious how to use them to display technical indicators.

Step 1: Highlight the indicator values you want to use and create a chart

Highlight the indicator data and click Insert – Chart

Step 2: Add the price data

Add the price data by right-clicking on the chart and selecting Select Data. Now add a new data series and select the price data that you want to include.

If you want to include the date in your chart, select the Horizontal Axis Labels and highlight the dates.

Step 3: Tailor the chart

Now you need to tell Excel how you want the chart to look. Right-click on the chart and select Change Chart Type.

Now you can select Combo and decide what type of chart the price and indicator should be from the drop-down menus.

Finally, you can decide whether to plot either the price or the indicator on a secondary axis.