Hi guys
I have a list of equities/shares and the corresponding indices that they are part of loaded in my site database. I have two questions:
1. Does anyone have any idea on how to automatically create a composite for all the indices I have (about 130) without manually having to create a composite for each index.
2. Then to check each of these equities against the composite for that index to show if any of them are going against the trend say in the last 3, 5 or 7 days
2/ Once each composite is created, just reference it in your formula and compare it with each equity
Say, the composite name is in the following formula ~[IndexName], you can call:
a = getseries("~".index(), close);
Hi
Once again thanks for this and apologies to bother again, but I'm struggling to get the scripting working. I got the second formula working but not the script as per your suggestion.
May I ask that you expand the example using the following?
Index name is Banks,
Share name are BGA,CPI,FGL,FSR,NED,RMH,SBK
Marius, this is C# programming. Adding symbols is just the simple part. You would not be able to create hundreds of composites unless you know c# programming very well. You can contact us by email if you want us to implement this for you (we do provide paid coding services).
Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.