candlesticks
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 (2024). candlesticks (https://www.mathworks.com/matlabcentral/fileexchange/9893-candlesticks), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
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. |