Oh, thanks a lot, Rajiv_chandan!!! The chart is so great. However, I think my requirement is much simplier.
I want to input the parameter of Start date and End date in the date range.
The program will scan through all stocks and find out the highest/lowest price from Start date to End date. Then, it just shows the values.
Ex: Stock A
01/01/2010: Open = 21, Close = 29
01/02/2010: Open = 29, Close = 31
01/03/2010: Open = 31, Close = 27
==> The program will show the Highest of stock A from Start date 01/01/2010 to End date 01/03/2010 = 31, lowest = 21.
==> The same for other stocks. The program will also show the highest/lowest of stock B, C, .... from 01/01/2010 to 01/03/2010
I think messi_ronaldo's part of code nearly reaches my idea. However, I want to replace n bars parameter by Start date and End date parameters.
I'm just a newbie so still cannot develop anything more based on your posts. Could you please help more?
Thank you so much!