| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Financial Toolbox |
| Contents | Index |
| Learn more about Financial Toolbox |
highlow(High, Low, Close, Open, Color) Handles = highlow(High, Low, Close, Open, Color)
High | High prices for a security. A column vector. |
Low | Low prices for a security. A column vector. |
Close | Closing prices for a security. A column vector. |
Open | (Optional) Opening prices for a security. A column vector. To specify Color when Open is unknown, enter Open as an empty matrix []. |
Color | (Optional) Vertical line color. A string. MATLAB software supplies a default color if none is specified. The default color differs depending on the background color of the figure window. See ColorSpec in the MATLAB documentation for color names. |
highlow(High, Low, Close, Open, Color) plots the high, low, opening, and closing prices of an asset. Plots are vertical lines whose top is the high, bottom is the low, open is a short horizontal tick to the left, and close is a short horizontal tick to the right.
Handles = highlow(High, Low, Close, Open, Color) plots the figure and returns the handles of the lines.
The high, low, and closing prices for an asset are stored in equal-length vectors AssetHi, AssetLo, and AssetCl respectively.
highlow(AssetHi, AssetLo, AssetCl, [], 'cyan')
plots the price data using cyan lines.
bolling, candle, dateaxis, highlow, movavg, pointfig
![]() | highlow (fts) | hist | ![]() |
View demos and recorded presentations led by industry experts.
Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |