Auto-plot equity curve for each stock (overlaying price)

I used to have a code which did what is described in the header. It was in the public domain. I've been searching around but can't find it.

Would someone please post their copy? Many thanks.