Plot a Time Serie of the price of a share

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

Réponses (1)

Alka Nair
Alka Nair le 4 Juin 2015

0 votes

You can use time Series Objects to plot time series data. Please refer to the documentation at the following page:

Catégories

En savoir plus sur Financial Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by