The Trendy application is being retired in the new year. The new web application, ThingSpeak, offers similar functionality. We recommend that active Trendy users who are looking to create new trends use ThingSpeak. To begin collecting your data in ThingSpeak, please read the tutorial : ThingSpeak for Trendy users. Although Trendy no longer allows the creation of new trends, the application will still remain accessible until January 13, 2016. Until that date, you can view your current trends and download your data. After that date, your data will no longer be accessible. Thanks for using Trendy and we encourage you to check out ThingSpeak.


Google vs. Apple Stock Prices (normalized)

This plot is broken.

Index exceeds matrix dimensions.

Plot to show Apple's stock price vs. Google's. I'd like to throw some other indicators in there as well...

Plot Image
% Google Stock Price
%   time vector is: time1453
%   data vector is: data1453
% Apple Stock Price
%   time vector is: time1454
%   data vector is: data1454

horizon = 90;

keep = time1453 > (now-horizon);
time1453 = time1453(keep);
data1453 = data1453(keep);

keep = time1454 > (now-horizon);
time1454 = time1454(keep);
data1454 = data1454(keep);

hold all
hold off
title('Apple vs. Google: Normalized Stock Price')
ylabel(sprintf('Price (price on %s = 100)',datestr(now-horizon,1)))

Add Tags


Sharp drops are due to stock splits. Probably should take that into account in the plotting.

Normalised to what?