||High prices for a security. A column vector.
||Low prices for a security. An column vector.
||Closing prices for a security. A column vector.
||Opening prices for a security. A column vector.
||(Optional) Candlestick color. A string. MATLAB supplies a default color if none is specified. The default color differs depending on the background color of the figure window. See
candle(High, Low, Close, Open, Color)
plots a candlestick chart given column vectors with the high, low, closing, and opening prices of a security.
If the closing price is greater than the opening price, the body (the region between the opening and closing price) is unfilled.
If the opening price is greater than the closing price, the body is filled.
Open as equal-size vectors of stock price data
plots a candlestick chart with cyan candles.