Technical Indicators

A single function that calculates 27 different technical indicators
Updated 24 May 2013

View License

INDICATORS is a technical analysis tool that calculates various technical indicators. Technical analysis is the forecasting of future financial price movements based on an examination of past price movements. Most technical indicators require at least 1 variable argument. If these arguments are not supplied, default values are used.

The included indicators are:

Commodity Channel Index
Rate of Change
Relative Strength Index
Fast Stochastic Oscillator
Slow Stochastic Oscillator
KDJ Indicator
William's %R
True Strength Index
Simple Moving Average
Exponential Moving Average
Moving Average Convergence Divergence
Wildmer's DMI (ADX)
On-Balance Volume
Chaikin Money Flow
Force Index
Money Flow Index
Bollinger Bands
Keltner Channels
Average True Range
Volatility Ratio
Highest High, Lowest Low
Price Comparison
Pivot Points
Stop and Reverse

Version : 1.1.3 (05/24/2013)
Author : Nate Jensen
Created : 10/10/2011
History :
- v1.0 10/25/2011 : initial release of 21 indicators
- v1.1 03/04/2012 : 23 indicators, fixed date conversion issue
- v1.1.1 03/25/2012 : 24 indicators
- v1.1.2 03/21/2013 : 25 indicators
- v1.1.3 05/24/2013 : 27 indicators, bug fixes

Cite As

Nate Jensen (2024). Technical Indicators (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Added Volatility Ratio, Highest High Lowest Low. Fixed example error. Fixed FSTO and SSTO error.

Added the KDJ Indicator

Added the True Strength Index

added 2 more indicators, corrected date conversion issue