Code covered by the BSD License  

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Bar- and candle style graph for stocks

Be the first to rate this file! 19 Downloads (last 30 days) File Size: 2.66 KB File ID: #23463 Version: 1.1
image thumbnail

Bar- and candle style graph for stocks



28 Mar 2009 (Updated )

Plots a bar graph of stock OHLC values, o

| Watch this File

File Information

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]')


Candlestick Graph and Tlabel.M V2.6.1 (Sep 2009) inspired this file.

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
16 Oct 2012 gaia buratti

Hi Jelle, maybe you can help me, I need to draw a candle or bar chart on intraday stockprices and I would like to see the dates and times on the x-axis.
As you know the trading time is not continuous, Can you suggest me a method to have a nice candle chart with no gaps for the non trading hours? I tried also with the timeseries, but the problem is the same... Thanks

Comment only
30 Mar 2009 Jelle Veraa

I used the 'export' function in stead of a screenshot, candles will look better on screen. (Referring to to-be-accepted update I just send in)

Comment only
30 Mar 2009 1.1

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

Contact us