NexusFi: Find Your Edge


Home Menu

 





Using EleXcel, interface to Excel


Discussion in MultiCharts

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




 
Search this Thread
  #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

 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
The Pivot Point 113.6³ — Navigating the Prediction of …
26 thanks
Sober Journey With S&P
16 thanks
The Confluence Meter: A Multi-Layered Signal Framework B …
11 thanks
NT8 color choices
10 thanks
Volume Indicators
7 thanks
  #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


© 2026 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 - Downloads - Top
no new posts