Bar- and candle style graph for stocks

Plots a bar graph of stock OHLC values, o
Updated 30 Mar 2009

View License

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 (2024). Bar- and candle style graph for stocks (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Bar Plots in Help Center and MATLAB Answers

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

Inspired: superbar

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

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