Plot a Time Serie of the price of a share

2 次查看(过去 30 天)
I have to make the graph of a time series of prices of a share. The line should be red when the price goes below the average of the price, black when it goes above average. how can I do? thanks

回答(1 个)

Alka Nair
Alka Nair 2015-6-4
You can use time Series Objects to plot time series data. Please refer to the documentation at the following page:

类别

Help CenterFile Exchange 中查找有关 Price and Analyze Financial Instruments 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by