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 Big Mike with 2 posts (4 thanks)
    4. looks_4 bomberone1 with 2 posts (0 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 31,156 views
    2. thumb_up 23 thanks given
    3. group 12 followers
    1. forum 19 posts
    2. attach_file 5 attachments




 
Search this Thread

Global Variables (GV) in EasyLanguage for TradeStation/MultiCharts

(login for full post details)
  #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?
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
Trader Dale [email protected] or Scammer Dale
Trading Reviews and Vendors
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
ISO Equity Curve Indicator
NinjaTrader
Volume profile TradeStation
EasyLanguage Programming
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Tao te Trade: way of the WLD
35 thanks
GFIs1 1 DAX trade per day journal
25 thanks
Supertradersams Thread Journal on NQ/MNQ
23 thanks
Deaddogs Stock Trading
18 thanks
Leaving CFD trading and learning futures
13 thanks

(login for full post details)
  #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
(login for full post details)
  #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
The following user says Thank You to Jura for this post:
(login for full post details)
  #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
The following user says Thank You to arjfca for this post:
(login for full post details)
  #15 (permalink)
 jojojo 
FrankfurtGermany
 
Experience: Beginner
Platform: Tradestation
Posts: 40 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
The following 4 users say Thank You to jojojo for this post:
(login for full post details)
  #16 (permalink)
 jojojo 
FrankfurtGermany
 
Experience: Beginner
Platform: Tradestation
Posts: 40 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
Register to download File Type: zip 20041229133051Global Variable 22.zip (192.4 KB, 142 views)
Reply With Quote
The following user says Thank You to jojojo for this post:
(login for full post details)
  #17 (permalink)
 jojojo 
FrankfurtGermany
 
Experience: Beginner
Platform: Tradestation
Posts: 40 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
The following user says Thank You to jojojo for this post:
(login for full post details)
  #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
(login for full post details)
  #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
(login for full post details)
  #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 - Downloads - Top
no new posts