Financial Toolbox    

Charting Financial Data

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

bolling
Bollinger band chart
candle
Candlestick chart
pointfig
Point and figure chart
highlow
High, low, open, close chart
movavg
Leading and lagging moving averages chart

These functions work with standard MATLAB functions that draw axes, control appearance, and add labels and titles. For users having additional charting requirements, the Financial Time Series Toolbox provides a more comprehensive set of charting functions.

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. ibm 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.


  Formatting Currency High-Low-Close Chart Example