timeseries and categorical data

I'd like to chart two time series: closing prices, by day, for a given stock, and a set of buy/sell recommendations for that stock, to see how the stock pickers did
charting the stock closing prices is no problem, but superimposing the buy/sell signals is harder
the way I understand it, the buy/sell signals are a time series of data type categorical. I have encoded them as (1/-1) but they could take any binary form. I'd like to have those signals appear at the correct point on the timeline (x axis) as an up or down arrow, or something like that. how to do this?
thanks

답변 (0개)

카테고리

도움말 센터File Exchange에서 Financial Toolbox에 대해 자세히 알아보기

질문:

2016년 6월 30일

편집:

2016년 6월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by