|
srishail
2018-07-20 03:03:27
|
|
Hi Guru,
How to get tick data directly from the script editor using custom feed?Is it possible to get the .nsei data using following script???
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);
int seconds = 60;
App.Main.Sleep(100 * seconds); // Do not change this - It may crash your PC if you change it
Charts.GetSelectedChart().Update();
App.Main.Sleep(900 * seconds); // Do not change this - It may crash your PC if you change it
}
}
|
|