Page 1 of 1

Do any sites show charts with values shown equal in the present?

Posted: December 4th, 2023, 12:15 pm
by EthicsGradient
Mods, I wasn't sure where to post this, so please move if there is a better candidate forum.

There are various sites (eg TrustNet) which have charting tools that allow you to compare prices of shares, or funds, against each other over time, and online brokers can provide this too. But all the ones I've seen set the point for which the lines are equal - "0% growth", or a nominal starting value like £1000, as the left hand, earlier date. They then give you options of when to set that starting date, mainly in comparison to the present day (days, weeks, months or years ago). Some allow you to alter the end date too.

But this means the graph is rather tied to that particular starting date - alter that, and things can look quite different (eg if one of the prices had a particular peak or trough on that date). If the date for which all the lines converged was today - by far the most likely date you'll be interested in - then one graph would give an easier way to compare them all, without having to switch the starting date all the time - it'd all be on there, without having to change the date, and remember the look of the graph from before.

Selecting the earliest possible starting date does sort of give you this, but I think it's still harder to say "here's what these 2 (or more) funds did over the past year, and what they did over 2 years, and what they did since pre-covid ..." with this than with a chart in which the one date most likely to be always used is the date at which everything is level, ie today's value.

Is there any site, or broker, which gives you the option of looking at a chart like this?

Re: Do any sites show charts with values shown equal in the present?

Posted: December 4th, 2023, 5:31 pm
by Gerry557
Unfortunately I've not come across any.

Re: Do any sites show charts with values shown equal in the present?

Posted: December 4th, 2023, 6:29 pm
by jaizan
I'm not aware of it, but you can get historic price data for multiple stocks in google sheets.

So charts with equal current value could be created in google or excel.

Re: Do any sites show charts with values shown equal in the present?

Posted: December 8th, 2023, 7:46 am
by Gilgongo
As @jaizan says, you could do this with a Google Sheets chart (if I understand you correctly).

So to create a chart to compare two past share prices from today (perhaps yesterday might be more reliable, not tried it) and back say, 180 days, create columns for the dates with the following (where n is a number incrementing down from 180):

Code: Select all

=TODAY()-n


Then two columns for each share containing 180 cells each with (where "ticker" is the ticker and again "n" is the number of days in the past starting with 1):

Code: Select all

=(GOOGLEFINANCE("ticker","price")-INDEX(GOOGLEFINANCE("ticker","price",today()-n),2,2))/INDEX(GOOGLEFINANCE("ticker","price",today()-n),2,2)


Then use the insert chart function to display the chart from those columns.

Re: Do any sites show charts with values shown equal in the present?

Posted: December 8th, 2023, 12:55 pm
by EthicsGradient
Thanks, @jaizan and @Gilgongo, I'll play with those. I can get some results with ITs and ETFs, but it looks like OEICs need more work - Google Finance has data for US and Indian mutual funds, but not, it seems, anything equivalent for the UK. I can see old Lemon Fool threads scraping data with functions like importhtml() and Morningstar data - I'll see what can be done.

It would seem a worthwhile way for sites to show their data, anyway.

Re: Do any sites show charts with values shown equal in the present?

Posted: December 9th, 2023, 6:54 pm
by 1nvest
You seemingly need less of a chart, more of a measure, such as log linear regression (trend line slope). From a series of yearly (total accumulation return progression (1, 1.1, 1.21, 1.3 ..etc) something like linest(ln(B1:B20))-1 ... and the one with the larger/faster total return growth trend is more reflective of having been 'better', rather than measuring between individual start/end points where selective choices of those individual points might make the generally worse of the two seem to have been better (which it was but only for those two specific start/end dates).

Re: Do any sites show charts with values shown equal in the present?

Posted: December 9th, 2023, 7:56 pm
by vand
I don't think you can do 2 prices on the same chart this way, but you can certainly do it for a single price on TradingView if you divide the symbol by the current price so that it the current price is 1.0.

so eg for FTSE 100 you would do FTSE 100/7554 to reprice current price to 1.0, then historic prices are scaled back off this 1.0 number
Image

Re: Do any sites show charts with values shown equal in the present?

Posted: December 10th, 2023, 1:52 pm
by skyshield
Some brokers let you set the baseline to today's value, which makes comparing way less of a headache. Check out different platforms and see which ones offer that option.