Plot a Time Serie of the price of a share

1 view (last 30 days)
Samuele Rossi
Samuele Rossi on 30 May 2015
Answered: Alka Nair on 4 Jun 2015
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

Answers (1)

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

Categories

Find more on Price and Analyze Financial Instruments in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!