Hi all,
Is it possible to create a list with the Top20 performing Stocks in the s&p500. Or make list of the stocks simply sorted by performance?
Thanx for help
Niels
Size:
Color:
Hi Niels,
There are numerous ways to skin this cat, especially elegant if using LINQ (unfortunately, adding LINQ in versions below 6.7 would require some manipulation with assembly references). For example, here's one out of the possible ways:
CODE:
Please log in to see this code.
Size:
Color:
Okay. Thank you. But, if i run the script, I cannot see a list. Where do I find it?
Best
Niels
Size:
Color:
In the Debug window when running the script in single symbol mode.
Size:
Color:
Ah, okay. Found. Thank you. And if WL could export the list into a file for further use and Analysis, it would be perfect.
Thanks again
Best
Niels
Size:
Color:
Size:
Color: