candlesticks

This is a simple little function that chars Japanese candlesticks

You are now following this Submission

This is a little function that charts financial data using Japanese candlesticks. It takes as input highs, lows, opens, and closes, and plots the candlestick boxes, both the body part, black or white, and the shadow part, above and below the body part. It comes with a little test driver that you can delete. It is a small function. It works as-is but can be customized easily to fit your personal charting tastes, such as adding in volume data, changing colors, etc.

Cite As

Bill Davidson (2026). candlesticks (https://in.mathworks.com/matlabcentral/fileexchange/9893-candlesticks), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Financial Toolbox in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

I had a typo in the M file, an unnecessary line of code. I took the opportunity to spruce everything up a little bit.