Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Charting Financial Data

Introduction

The following toolbox financial charting functions plot financial data and produce presentation-quality figures quickly and easily.

bolling

Bollinger band chart

bollinger

Time series Bollinger band

candle

Candlestick chart

candle

Time series candle plot

pointfig

Point and figure chart

highlow

High, low, open, close chart

highlow

Time series High-Low plot

movavg

Leading and lagging moving averages chart

These functions work with standard MATLAB® functions that draw axes, control appearance, and add labels and titles. The toolbox also provides a comprehensive set of charting functions that work with financial time series objects, see Chart Technical Indicators.

Here are two plotting examples: a high-low-close chart of sample IBM® stock price data, and a Bollinger band chart of the same data. These examples load data from an external file (ibm.dat), then call the functions using subsets of the data. The MATLAB variable ibm, which is created by loading ibm.dat, is a six-column matrix where each row is a trading day's data and where columns 2, 3, and 4 contain the high, low, and closing prices, respectively. The data in ibm.dat is fictional and for illustrative use only.

See Also

| | | | | | | | | | | | | | | | | | | | | | | | | |

Related Topics

Was this topic helpful?