NexusFi: Find Your Edge


Home Menu

 





Using EleXcel, interface to Excel


Discussion in MultiCharts

Updated
    1. trending_up 3,333 views
    2. thumb_up 3 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread

Using EleXcel, interface to Excel

  #1 (permalink)
 arjfca 
Montreal, Canada
 
Experience: Intermediate
Platform: Multicharts
Broker: Interactive Broker
Trading: Forex
Posts: 263 since Sep 2010
Thanks Given: 440
Thanks Received: 91

Hello


I'm seeking information to start using EleXcel to interface Multicharts with Excel.

Anyone is using it?

I want to test these function but no luck yet. I,m just turning around...
- Start Excel sheet
- Read a double value from a cell
- Write a double value to a cell
- Read a string from a cell
- Write a string to a cell

Any help truly appreciated

Martin

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
What broker to use for trading palladium futures
Commodities
Cheap historycal L1 data for stocks
Stocks and ETFs
Quantum physics & Trading dynamics
The Elite Circle
Trade idea based off three indicators.
Traders Hideout
 
  #2 (permalink)
 ejtrader 
Portland, OR
 
Experience: Intermediate
Platform: Sierra Chart
Trading: ES
Posts: 269 since Jan 2011
Thanks Given: 327
Thanks Received: 180

Martin - I have used this in the past. If I recall - you can't really open the spreadsheet directly but it can read/write to an already open spreadsheet. I would try to find an example code to perform couple of these operations ( have to dig through and also need to make sure they work.

This is a sample code ( compiles fine but haven't tested it completely):

----
Vars:WorkbookName("Test.xls");
Vars:WorksheetName("Sheet1");
Vars:Initialized(false);
Vars:boolXLStarted(false);
Vars:boolWorksheetReady(false);
Vars:boolGetRtn(false);
Vars:boolSetRtn(false);
Vars:var1(0);
Vars:var2(0);
Vars:var3("");
Vars:var4("");
 
 
// Initialization
Once(CurrentBar=1)begin
ifInitialized=falsethen
begin
XLStarted = ELXL_Initialize ;
WorksheetReady=ELXL_WithSheet(WorkbookName,WorksheetName);

ifXLStartedandWorksheetReadythenInitialized=true;
end;
ifInitialized=falsethenraiseruntimeerror("Excel Initialization Failure");
end;
// Main Program
iflastbaronchart_sandbarstatus(1)=2thenbegin
GetRtn=ELXL_GetcellNumberRC(2,1,var1);// Second Row Column 1
SetRtn=ELXL_SetCellNumberRC(2,2,var1);// Second Row Column 2

GetRtn=ELXL_GetCellStringRC(3,1,var3);
SetRtn=ELXL_SetCellStringRC(3,2,var3);
end;
-------

Reply With Quote
Thanked by:
  #3 (permalink)
 arjfca 
Montreal, Canada
 
Experience: Intermediate
Platform: Multicharts
Broker: Interactive Broker
Trading: Forex
Posts: 263 since Sep 2010
Thanks Given: 440
Thanks Received: 91


Thanks EJTrader I will look around that.

Martin

Started this thread Reply With Quote




Last Updated on June 16, 2011


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts