Undefined function or variable 'plotOHLC'

1 view (last 30 days)
When I follow the tutorial "Getting Started With Trading Toolbox Part 1 Connection to Interactive Brokers, they use the function "plotOHLC" which I couldn't use. When I try, the program said "Undefined function or variable 'plotOHLC'."
  1 Comment
Walter Roberson
Walter Roberson on 13 Feb 2016
Good question. I find a function of that name defined for R, but I do not find any MATLAB functions of that name. There is a highlow() function that might be usable instead.

Sign in to comment.

Answers (1)

Kawee Numpacharoen
Kawee Numpacharoen on 4 Aug 2017
Edited: Kawee Numpacharoen on 4 Aug 2017
To plot a candle stick chart, you can use function candle. The function plotOHLC in the demo was written based on candle.

Products

Community Treasure Hunt

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

Start Hunting!