Bar- and candle style graph for stocks

Plots a bar graph of stock OHLC values, o

You are now following this Submission

I needed to plot some bar charts but I haven't got the financial toolbox. I couldn't find one here so I modified Nagi Hatoum's Candlestick Graph script to display bar charts.

**Update 03-30-09**
I've also updated Hatoum's candlestick plotter, custom colors are available for both bars and candles. Also expanded the number of ways to input data. In combination with tlabel (see acknowledgements), auto-updating dates can be shown on the x axis.

Input instructions are in the file (look at the file or use 'help [fcnname]')

Cite As

Jelle Veraa (2026). Bar- and candle style graph for stocks (https://se.mathworks.com/matlabcentral/fileexchange/23463-bar-and-candle-style-graph-for-stocks), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Candlestick Graph, tlabel.m v2.6.1 (Sep 2009)

Inspired: superbar

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Added new candlestick options, made available use of dates 'inside function', can use colors.

1.0.0.0