Looking for ELD help...exporting to excel - TradeStation | futures io social day trading
futures io futures trading


Looking for ELD help...exporting to excel
Updated: Views / Replies:913 / 3
Created: by Lingroup Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Looking for ELD help...exporting to excel

  #1 (permalink)
Chicago Il
 
 
Posts: 3 since Sep 2013
Thanks: 1 given, 0 received

Looking for ELD help...exporting to excel

Im looking for help on an eld file used to export data from TS to excel. Below is the code I'm using to export said data, for me I'm only interested in the last price.

The particular issue I'm having is the sheet number the data is being exported too. Under Inputs, the line "ExcelSheetName( "Sheet1" )", the data exports to Sheet1 of the excel file. One of the problems is, I need to export data from 5 different markets and when I insert the analysis technique into each chart, it overrides the last chart I inserted the technique into. One option is to go in and relabel the sheet #, so sheet2, sheet3, ect. The problem is, I need all the data from each chart on one sheet.

The issue is that this data is being imported into another program and the program doesn't play nice with additional sheet numbers. So I need a way to insert this into each chart, without it conflicting with other charts that have the same analysis technique and to have it save the data on their own rows on the same sheet1? Thanks




Quoting 
using elsystem ;
using elsystem.office.excel ;
using elsystem.collections ;
using tsdata.marketdata ;

inputs:
ExcelFileNameWithPath( "C:\MyFile.xlsx" ),
ExcelSheetName( "Sheet1" ),
Int UpdateInterval(2);

variables:
Workbook WB( NULL ),
Sheet Sheet1( NULL ),
Timer Timer1( NULL ),
intrabarpersist Row(0);

method void Timer1_Elapsed( elsystem.Object sender, elsystem.TimerElapsedEventArgs args )
begin
Sheet1.Cells[3, Row + 1] = Last ;
end;

once
begin

//---------------------------
//Workbook WB
//---------------------------
WB = new Workbook;
WB.FileName = ExcelFileNameWithPath;
WB.Shared = true;
WB.Visible = true;
WB.Load = true;
WB.SaveOnClose = false;
WB.Name = "Workbook1";

//---------------------------
//Sheet Sheet1
//---------------------------
Sheet1 = WB.Sheets[ ExcelSheetName ];

//---------------------------
//Timer Timer1
//---------------------------
Timer1 = new Timer;
Timer1.Interval = 2000;
Timer1.Name = "Timer1";
Timer1.elapsed += Timer1_Elapsed;
Timer1.Interval = UpdateInterval * 1000;

Row = GetAppInfo( aiRow );
Sheet1.Cells[1, Row + 1] = Symbol ;

Timer1.Start();


end;

Plot1( Last, "Last" );
Value99 = Close;


Reply With Quote
 
  #2 (permalink)
 Vendor: www.abctradinggroup.com 
Hamburg Germany
 
Trading Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 2,081 since Apr 2013
Thanks: 372 given, 1,331 received

Lingroup,

you have the code write to the same cell for every chart when you apply it to charts (for Radarscreen aiRow would take care of using a different cell).
Therefore you could create an input for the cell number and have each chart write to a different cell (take a look at how it's done in your code with using aiRow; you can even add some more code to check if the study is running on a chart or in Radarscreen and use the row input only when the study is applied to a chart).

Regards,

ABCTG

Follow me on Twitter Visit my Facebook Reply With Quote
 
  #3 (permalink)
Chicago Il
 
 
Posts: 3 since Sep 2013
Thanks: 1 given, 0 received



ABCTG View Post
Lingroup,

you have the code write to the same cell for every chart when you apply it to charts (for Radarscreen aiRow would take care of using a different cell).
Therefore you could create an input for the cell number and have each chart write to a different cell (take a look at how it's done in your code with using aiRow; you can even add some more code to check if the study is running on a chart or in Radarscreen and use the row input only when the study is applied to a chart).

Regards,

ABCTG



Any chance you could provide more detail? I didn't write the code, it was provided by someone else. I don't have any coding experience but I do understand about writing to the same cell. I just don't know how to go about changing that to write to different cells. Also I don't have radarscreen, I'm not subscribed to it, Im limited to just using the technique in the charts.

Reply With Quote
 
  #4 (permalink)
 Vendor: www.abctradinggroup.com 
Hamburg Germany
 
Trading Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 2,081 since Apr 2013
Thanks: 372 given, 1,331 received

Lingroup,

I would suggest to take a look at the help file or the EasyLanguage Essentials PDF on how to create numeric inputs.
Then use the input where the code you posted sets the value of the Row variable.

Regards,

ABCTG

Follow me on Twitter Visit my Facebook Reply With Quote
The following user says Thank You to ABCTG for this post:

Reply



futures io > > > > Looking for ELD help...exporting to excel

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)
 

futures io is celebrating 10-years w/ over $18,000 in prizes!

Right now
 

$250 Amazon Gift Cards with our "Thanks Contest" challenge!

Right now
 

Show us your trading desks and win over $5,000 in prizes w/Jigsaw Trading

August
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Exporting Data From ToS into Excel JTurner77 ThinkOrSwim 5 October 23rd, 2018 06:35 PM
Exporting historical data NT7 to excel (contract rollover?) sleepy NinjaTrader 8 September 18th, 2013 10:49 AM
Exporting from NT7 to Excel : Examples Fat Tails NinjaTrader 14 March 10th, 2012 06:42 PM
Programming a tradstation eld bythegods NinjaTrader Programming 1 October 20th, 2010 03:19 PM
Exporting Volume Profile data from NT6.5 to Excel. How is it jungian Beginners and Introductions 4 May 20th, 2010 10:07 AM


All times are GMT -4. The time now is 05:01 PM. (this page content is cached, log in for real-time version)

Copyright © 2019 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts