|
srishail
2010-11-23 07:22:34
|
|
Guru nse intraday data is not auto updating,I AM using ur given script. THe button in Bookmark Panel when double click its not activating.
int seconds = 60;
while(true)
{
Chart chart = Charts.GetSelectedChart();
if(chart != null)
{
string[] symbols = new string[1];
symbols[0] = chart.SymbolName;
string[] fields = new string[1];
fields[0] = "Number of past days=1";
Downloader.DownloadData("", "Intraday Data for NSE Stocks", true, symbols, fields);
App.Main.Sleep(1000 * seconds); // Do not change this - It may crash your PC if you change it
Charts.GetSelectedChart().Update();
}
else
{
App.Main.Sleep(1000 * seconds); // Do not change this - It may crash your PC if you change it
}
}
- Save it (File -> Save)
- Select Settings -> Add Current Script to Bookmark Panel
|
|