How to fetch the previous day high and low automatically??
First you need to download the previous day nse bhavcopy from NSE india website.
The system here understands only the bhavcopy from nseindia website.
Once you download the nse bhavcopy save it in C: drive adn rename it to data.csv.
So your bhavcopy will now be in C:\data.csv file.
The system reads the previous day high and low from this file.
Also, you need to have excel installed on you machine.
Most important you need to make a small change in setting of your IE browser.
Goto Tools menu-> Internet Options -> Security Tab -> Select Custom Level.
Now scroll down and look for 'Initialize and script ActiveX controls not marked as safe'. Select Enable option under it.
Done.