NexusFi: Find Your Edge


Home Menu

 





Global Variables (GV) in EasyLanguage for TradeStation/MultiCharts


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one arjfca with 6 posts (1 thanks)
    2. looks_two jojojo with 3 posts (6 thanks)
    3. looks_3 bomberone1 with 2 posts (0 thanks)
    4. looks_4 Big Mike with 2 posts (4 thanks)
      Best Posters
    1. looks_one aslan with 5 thanks per post
    2. looks_two SPTrading with 4 thanks per post
    3. looks_3 jojojo with 2 thanks per post
    4. looks_4 Big Mike with 2 thanks per post
    1. trending_up 32,639 views
    2. thumb_up 23 thanks given
    3. group 12 followers
    1. forum 19 posts
    2. attach_file 5 attachments




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

Anybody had as success to exchange information with Excel using Global Variables 2.2?

If so, how did you proceed?.
- I can't reference GlobalVariable.DLL to Excel 2007 VBA. Probably not created for Microsoft VBA.
- I never saw a VBA working code, mind to share few lines?

Any help appreciated because I'm

Martin

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Equity Monaco download file?
Psychology and Money Management
IB Gateway / IBKR (semi-) daily restart / login
Platforms and Indicators
IBD Accumulation/Distribution Rating
NinjaTrader
What a Cool Draw/Markup Tool!
Traders Hideout
Server CPUs and Multicharts 14 or 15 limits
MultiCharts
 
  #12 (permalink)
 arjfca 
Montreal, Canada
 
Experience: Intermediate
Platform: Multicharts
Broker: Interactive Broker
Trading: Forex
Posts: 263 since Sep 2010
Thanks Given: 440
Thanks Received: 91

Did succeed to communicate between MC anf Forex

Excel wrote a string in GV
MC read it and decode it


Now, How can I have MC read GV on real time. Information are updated only of the start of a new bar. Is it possible to have it in real rime

Martin

Reply With Quote
  #13 (permalink)
 
Jura's Avatar
 Jura   is a Vendor
 
Posts: 775 since Apr 2010
Thanks Given: 2,352
Thanks Received: 690



arjfca View Post
Now, How can I have MC read GV on real time. Information are updated only of the start of a new bar. Is it possible to have it in real rime

Don't know if it will help, but perhaps you can use the new RecalcLastBarAfter reserved word to force a recalculation and thus update of your global variable?

Reply With Quote
Thanked by:
  #14 (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 Jura

Problem is resolved now using

- IntraBarOrdergeneretion = True

- My code start with
 
Code
If lastBarOnTheChart Then Begin
    Start code 


    End Code
end; //If lastBarOnTheChart
Martin

Reply With Quote
Thanked by:
  #15 (permalink)
 jojojo 
FrankfurtGermany
 
Experience: Beginner
Platform: Tradestation
Posts: 41 since Oct 2010
Thanks Given: 4
Thanks Received: 7

Here are some files with the excel dll from the Tradestation forum.20080521174625ELXL 1.3.1 - Development Files.zip

20080521174732ELXL 1.3.1 - Demo Files.zip

20080521174825ELXL 1.3 - Demo Files Updated Demo 2.zip

Reply With Quote
Thanked by:
  #16 (permalink)
 jojojo 
FrankfurtGermany
 
Experience: Beginner
Platform: Tradestation
Posts: 41 since Oct 2010
Thanks Given: 4
Thanks Received: 7

while I'm moving around this theme (again). I found the Global Dll 2.2 with source code - you need visual studio for c++ to open it or any other editor to just read

Attached Files
Elite Membership required to download: 20041229133051Global Variable 22.zip
Reply With Quote
Thanked by:
  #17 (permalink)
 jojojo 
FrankfurtGermany
 
Experience: Beginner
Platform: Tradestation
Posts: 41 since Oct 2010
Thanks Given: 4
Thanks Received: 7

and a very nice description how to build an easy c# dll with the help of an c++ wrapper
(seemes as if you have to do it always this way)
that really works is here:

https://community.tradestation.com/discussions/Topic.aspx?Topic_ID=122156

and going further:

https://msdn.microsoft.com/en-us/library/aa645736%28v=vs.71%29

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


jojojo View Post
and a very nice description how to build an easy c# dll with the help of an c++ wrapper
(seemes as if you have to do it always this way)
that really works is here:

https://community.tradestation.com/discussions/Topic.aspx?Topic_ID=122156

and going further:

COM Interop Part 1: C# Client Tutorial (C#)

Only problem is I can't access to TradeStation community post since I'm not a TradeStation client and they don't accept Canadian customer anymore. A catch 22 problem

Martin

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


jojojo View Post
Here are some files with the excel dll from the Tradestation forum.Attachment 49508

Attachment 49509

Attachment 49510

This is great.

Anyone knowing C++ coding could open up the source code?

I got an interrogation on the function ELXL_Initialize witch always return True whenever is called. Even when Excel is not load on PC

Martin

Reply With Quote
  #20 (permalink)
 Gillou 
Bordeaux, FRANCE
 
Experience: Advanced
Platform: MULTICHARTS
Broker: IB
Trading: Eurex
Posts: 8 since Oct 2010
Thanks Given: 2
Thanks Received: 0


hello

is there somebody who have last globalvariable sources ? when i link globalvariable22 my dll have lower KB than MC's dll

Why ?

Reply With Quote




Last Updated on October 29, 2013


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