Hi, hope you could help me in creating my own custom index. I have 8 stocks that I would like to include in the index, and each of the stocks have their own weighting in the index;
O= (Open of A * 42) + (Open of B * 60) + (Open of C * 231 ETC...) H= (High of A * 42) + (High of B * 60) + (High of C * 231 ETC...) L= (Low of A * 42) + (Low of B * 60) + (Low of C * 231 ETC...) C= (Close of A * 42) + (Close of B * 60) + (Close of C * 231 ETC...) V= Volume added together Is there any smooth way to create this with the weightings? I have found the following info: A sample formula could look like this: Code: AddToComposite(C,"~myindex", "C"); AddToComposite(H,"~myindex", "H"); AddToComposite(L,"~myindex", "L"); AddToComposite(O,"~myindex", "O"); AddToComposite(V,"~myindex", "V"); You would need to copy this formula into Automatic Analysis window. Click on Filter - choose appropriate category you want to calculate index from, then click OK. Now click SCAN. Then choose View->Refresh All menu. In the ticker tree you will see ~myindex ticker.
