Click here to Login

                                                   intraday snapshot data


august mezzetta
2011-07-20 20:30:23

I'm an expeienced trader but illiterate programmer. I asked support how to get a current quote on the E-mini S&P 500 Sep 2011 contract symbol /ESU!.
I cint seconds = 10;
Chart[] charts = Charts.GetAllCharts();
for(int i=0;i < charts.Length;i++)
App.Main.Sleep(1000 * seconds); // Do not change this - It may crash your PC if you change it

void GetNewData(Chart chart)
if(chart == null)
string[] symbols = new string[1];
symbols[0] = chart.SymbolName;
Downloader.DownloadData("", "Intraday Data for Futures Contracts", true, symbols, null, DownloadComplete, chart);

void DownloadComplete(Object obj)
Chart chart = (Chart)obj;
if(chart != null)
//MessageBox.Show("Chart to be updated: " + chart.SymbolName);
I was told there are erors on line 12 and line 36. Can someone help me? Thank you. August

2011-07-21 03:16:27


Best Answer
The script works with no errors. Make sure that the first line is:
int seconds = 10;

What error message are you getting?

No more messages


No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"


Trading Items
Intraday Data for US Stocks
Forex Intraday Data
One-Minute Data for Intraday Futures
Historical Intraday Data for U.S. Stocks
5-Minute Historical Intraday Data for Forex, Indices and Futures/...

How-to Lessons
How to speed up watchlist and screener plug-ins when working with...
How to export trading data to a CSV file
How to display Forex economic calendar data in a chart
How to hide stock data outside of regular trading hours
How to use QuantShare with Metastock data

Related Forum Threads
NSE intraday data
how to download Intraday data for NSE Nifty - S&P CNX Nifty
Adv. Money Management & Intraday data
Intraday data for Indices (^DJI, ^DJT, ^OEX etc...)
Loading Intraday Data

Blog Posts
6 New Ways to Download Free Intraday Data for the U.S. Stock Mark...
Backtesting trading strategies using intraday data
6 ways to download free intraday and tick data for the U.S. stock...
6 places to download historical intraday Forex quotes data for fr...
Day Trading: A trading system that combines intraday and EOD data

Create an account
Affiliate Program
Contact Us
Trading Forum
How-to Lessons
About Us
Terms of Use

Copyright 2020
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Follow us on Google+
RSS Trading Items

Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.