search
HomeSoftware TutorialOffice SoftwareDetailed method of drawing the CCI indicator of stocks in Excel

php editor Strawberry will introduce today the detailed method of how to use the CCI indicator to draw stock trend charts in Excel. The CCI indicator is an important technical analysis tool that can help investors determine whether a stock is overbought or oversold and guide investment decisions. Using the CCI indicator to draw stock trend charts in Excel can observe stock price fluctuations more intuitively and provide more reference for investment. Next, we will introduce in detail how to implement this function in Excel, so that investors can easily grasp the stock trend.

1. From the description of the CCI indicator in the stock software, we can know that the formula of the CCI indicator is

TYP:=(HIGH LOW CLOSE)/3.

CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)).

The default N is 14 days. Next we will decompose the formula in EXCEL.

Detailed method of drawing the CCI indicator of stocks in Excel

2. Prepare some stock data. In the example, it is the data of an index, which includes date, opening price, highest price, lowest price and closing price.

Detailed method of drawing the CCI indicator of stocks in Excel

3. Add a column on the right to calculate the parameter TYP. The calculation method is (HIGH LOW CLOSE)/3, that is (highest price lowest price closing price)/3.

Detailed method of drawing the CCI indicator of stocks in Excel

4. Add another column to calculate the parameter MA. The parameter formula is MA(TYP,N), where N is 14, that is, use the AVERAGE function to find the 14-day moving average of the parameter TYP. value.

Detailed method of drawing the CCI indicator of stocks in Excel

5. Add a column of calculation parameters AD. The formula is AVEDEV(TYP,N), where N is 14, that is, use the AVEDEV function to find the 14-day average absolute deviation of TYP.

Detailed method of drawing the CCI indicator of stocks in Excel

6. Use the formula to calculate (TYP-MA)/(0.015*AD) to get the CCI value. Put the calculated CCI value in the last column and you are done.

7. In order to intuitively reflect the CCI indicator, you can add a two-dimensional line chart and reference the CCI column as the data source, and use the date as the X-coordinate axis.

Detailed method of drawing the CCI indicator of stocks in ExcelDetailed method of drawing the CCI indicator of stocks in Excel

#8. After setting, the line chart of the CCI indicator will appear.

Detailed method of drawing the CCI indicator of stocks in ExcelDetailed method of drawing the CCI indicator of stocks in Excel

The above is the detailed content of Detailed method of drawing the CCI indicator of stocks in Excel. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:zol. If there is any infringement, please contact admin@php.cn delete
How to use SUMIF function in Excel with formula examplesHow to use SUMIF function in Excel with formula examplesMay 13, 2025 am 10:53 AM

This tutorial explains the Excel SUMIF function in plain English. The main focus is on real-life formula examples with all kinds of criteria including text, numbers, dates, wildcards, blanks and non-blanks. Microsoft Excel has a handful o

IF function in Excel: formula examples for text, numbers, dates, blanksIF function in Excel: formula examples for text, numbers, dates, blanksMay 13, 2025 am 10:50 AM

In this article, you will learn how to build an Excel IF statement for different types of values as well as how to create multiple IF statements. IF is one of the most popular and useful functions in Excel. Generally, you use an IF statem

How to sum a column in Excel - 5 easy waysHow to sum a column in Excel - 5 easy waysMay 13, 2025 am 09:53 AM

This tutorial shows how to sum a column in Excel 2010 - 2016. Try out 5 different ways to total columns: find the sum of the selected cells on the Status bar, use AutoSum in Excel to sum all or only filtered cells, employ the SUM function

How to make and use Pivot Table in ExcelHow to make and use Pivot Table in ExcelMay 13, 2025 am 09:36 AM

In this tutorial you will learn what a PivotTable is, find a number of examples showing how to create and use Pivot Tables in all version of Excel 365 through Excel 2007. If you are working with large data sets in Excel, Pivot Table comes

Excel SUMIFS and SUMIF with multiple criteria – formula examplesExcel SUMIFS and SUMIF with multiple criteria – formula examplesMay 13, 2025 am 09:05 AM

This tutorial explains the difference between the SUMIF and SUMIFS functions in terms of their syntax and usage, and provides a number of formula examples to sum values with multiple AND / OR criteria in Excel 365, 2021, 2019, 2016, 2013,

How You Can Use Wildcards in Microsoft Excel to Refine Your SearchHow You Can Use Wildcards in Microsoft Excel to Refine Your SearchMay 13, 2025 am 01:59 AM

Excel wildcards: a powerful tool for efficient search and filtering This article will dive into the power of wildcards in Microsoft Excel, including their application in search, formulas, and filters, and some details to note. Wildcards allow you to perform fuzzy matching, making it more flexible to find and process data. *Wildcards: asterisks () and question marks (?)** Excel mainly uses two wildcards: asterisk (*) and question mark (?). *Asterisk (): Any number of characters** The asterisk represents any number of characters, including zero characters. For example: *OK* Match the cell containing "OK", "OK&q

Excel IF function with multiple conditionsExcel IF function with multiple conditionsMay 12, 2025 am 11:02 AM

The tutorial shows how to create multiple IF statements in Excel with AND as well as OR logic. Also, you will learn how to use IF together with other Excel functions. In the first part of our Excel IF tutorial, we looked at how to constru

How to calculate percentage in Excel - formula examplesHow to calculate percentage in Excel - formula examplesMay 12, 2025 am 10:28 AM

In this tutorial, you will lean a quick way to calculate percentages in Excel, find the basic percentage formula and a few more formulas for calculating percentage increase, percent of total and more. Calculating percentage is useful in m

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools