Formula for Custom Index

Say I have 10 stocks, with 10 different weights

And I wanted to build a weighted index, that not only has a weight close, but also the open, high and low as well. So I end up with all I need to build a candle bar.

Whats the formula, (ie the same way the SP500 is calculated) ??
 
test

1181949039_yHK9E-O.jpg
 
Back
Top