|
England
Experience: Advanced
Platform: SierraChart
Posts: 70 since Jul 2009
Thanks Given: 9
Thanks Received: 80
|
This should be quite easy to do.
Firstly, create a chart with any stock (this will make sense later).
Now create a chart for each of the stocks you are interested in.
For all the stocks in a particular sector, add a Spreadsheet Study and name it, say, Health. This will feed the prices into the spreadsheet.
Add the Health spreadsheet to the very first "dummy" chart. On the sheet that relates to this chart (ought to be Sheet1), put a formula in K3 that adds the closing price from all the other sheets (or whatever calculation you want to use to make the index). So for example, it might be Sheet2!E3 + Sheet3!E3 etc.
Now change the settings so that the K3 subgraph is displayed in Chart Region1. You could set it to display as the main graph, which will hide the dummy stock values.
You can now repeat this for the other sectors.
This may not do exactly what you want but hopefully there are some pointers here to get you started.
|