MATLAB Answers

candlestick chart problem

3 views (last 30 days)
Liang
Liang on 19 Jul 2011
Commented: Alessandro Ricci on 11 May 2017
I use candle function to chart a time series of exchange rate. The function works well when I chart 30 minutes per bar for a short period say 10 days (see good chart below), but only shows vertical lines when I chart 30 minutes per bar for a longer periods say 30 days (see bad figure below).
good one:
bad one:

  1 Comment

Alessandro Ricci
Alessandro Ricci on 11 May 2017
I have the same problem. I cannot plot more that a fixed number of candles correctly. This is quite annoing, please give some help Ale

Sign in to comment.

Answers (1)

Jeff
Jeff on 20 Jul 2011
Just wondering if you have explicitly defined the width of the candlestick somewhere in your code?
Jeff

  1 Comment

Liang
Liang on 20 Jul 2011
no, I did not, just use candle function's all default setup.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!