I am looking to measure spreads and average volume at the inside bid and ask. I am using CQG and DTN IQfeed with multicharts. Is there a way in easy language to record or export that information and then export it to a txt or csv file?
Just get QCollector and leave EasyLanguage out of it.
Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.
Need help? 1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first. 2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses. 3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make. 4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance. 5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers. 6) Help using the forum? Watch this video to learn general tips on using the site.
If you want to support our community, become an Elite Member.
I use Tradestation, so you should be able to use this. Maybe the keywords "insidebid" and "insideask" are different. I had data1 as E6, and data2 as 7E. I ran this on 1 minute bars, during active US hours.
It prints to the Print Log, and then you can copy and paste it to Excel.
var: bl(" "); //TAB character in between quotes, not spaces - easier to transfer to Excel
If time>559 and time<1400 then
If BarStatus( 1 ) = 2 then print(date,bl,time,bl,insidebid of data1:0:4,bl,insideask of data1:0:4,bl,insidebid of data2:0:4,bl,insideask of data2:0:4);
The following user says Thank You to kevinkdog for this post: