Undefined function or variable 'plotOHLC'

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 个评论

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.

请先登录,再进行评论。

回答(1 个)

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

类别

在 帮助中心 和 File Exchange 中查找有关 Transaction Cost Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by