Global Variables (GV) in EasyLanguage for TradeStation/MultiCharts - EasyLanguage Programming | futures io social day trading
futures io futures trading


Global Variables (GV) in EasyLanguage for TradeStation/MultiCharts
Updated: Views / Replies:18,547 / 19
Created: by Big Mike Attachments:5

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 90,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
 5  
 
Thread Tools Search this Thread
 

Global Variables (GV) in EasyLanguage for TradeStation/MultiCharts

  #1 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,238 since Jun 2009
Thanks: 29,350 given, 83,214 received

Global Variables (GV) in EasyLanguage for TradeStation/MultiCharts

My next major project is to start incorporating Global Variables (GV) into my EasyLanguage tools, specifically for MultiCharts - but they should work for TradeStation as well.

I am wanting to do something similar to what is demonstrated here:
JAM - TradeStation EasyLanguage Strategy Control Indicator

Borrowing an image from that site, here is an example:

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


They are charging about $217 USD which seems reasonable, but I want to develop my own so I can fully understand everything plus have full access to the entire source. I'll give it away back to the futures.io (formerly BMT) community when I'm done, like everything I do...

Since I've only been using MultiCharts and EasyLanguage for less than 2 months, I was hoping that some of you (aslan?? ) might help get me started. I have some PDF's to read as well that I think cover the subject. I am hoping for community involvement and we can end up with a nice open source solution that is freely shared in the community.

Any takers?

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
The following 4 users say Thank You to Big Mike for this post:
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
Madison, WI
 
Futures Experience: Advanced
Platform: Sierra Charts, ALT
Favorite Futures: ES
 
aslan's Avatar
 
Posts: 614 since Jan 2010
Thanks: 342 given, 1,077 received


Global vars should be pretty straight forward. Not sure what is on MC forums, but in the TS world, you use GlobalVariable.dll and some provides functions. The following is a link to the TS forum:

https://www.tradestation.com/discussions/topic_archive.aspx?topic_id=19622

I have attached the zip file from that thread here. It includes the doc, eld file with functions, the dll, and the source code for the dll.

To use this, you drop the dll into the MultiCharts program dir, then import the ELD functions, and you should be good to go.

I am not familiar with the program you referenced in your post, but I suspect they are using the GV.dll and just manipulating global vars with button presses (they also have another program that does the same on keystrokes). Then in your code, you just use the standard global vars.

Attached Files
Register to download File Type: zip 2003122132553_GlobalVariable.zip (63.5 KB, 466 views)
Reply With Quote
The following 5 users say Thank You to aslan for this post:
 
  #4 (permalink)
Elite Member
Dallas, TX
 
Futures Experience: Intermediate
Platform: NinjaTrader, MultiCharts, TradeStation
Broker/Data: Mirus/Zen-Fire, TradeStation
Favorite Futures: Futures
 
TexasTrader's Avatar
 
Posts: 15 since Apr 2010
Thanks: 0 given, 4 received

GVStratControl - Strategy Buttons on chart

Hello Big Mike,

As referenced in your starting thread here, did you get a strategy panel together and is it working for you?

I had one built recently which I am happy with, however running into same problem you reference = without an understanding of the panel code etc I am unable to modify it at will (and again need to contract someone else to get changes)...

Would be good if there was a common solution for this kind of utility; I requested info from JAM with some specific questions on his panel (GVStratControl) and can post findings if they are noteworthy...

Thanks.

Reply With Quote
 
  #5 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,238 since Jun 2009
Thanks: 29,350 given, 83,214 received


TexasTrader View Post
Hello Big Mike,

As referenced in your starting thread here, did you get a strategy panel together and is it working for you?

I had one built recently which I am happy with, however running into same problem you reference = without an understanding of the panel code etc I am unable to modify it at will (and again need to contract someone else to get changes)...

Would be good if there was a common solution for this kind of utility; I requested info from JAM with some specific questions on his panel (GVStratControl) and can post findings if they are noteworthy...

Thanks.

@TexasTrader, I never pursued it. Now that MultiCharts has a DOM and Chart Trader (very soon), I don't have any plans or needs for this personally as I am primarily a discretionary trader.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #6 (permalink)
Elite Member
sydney, nsw, australia
 
Futures Experience: Intermediate
Platform: NinjaTrader, NeoTicker, Multicharts, InvestorRT
Broker/Data: Mirus, IB, eSignal
Favorite Futures: ES, FESX, DAX, CCY
 
Posts: 42 since Aug 2009
Thanks: 57 given, 13 received


Big Mike View Post
@TexasTrader, I never pursued it. Now that MultiCharts has a DOM and Chart Trader (very soon), I don't have any plans or needs for this personally as I am primarily a discretionary trader.

Mike

However, for anyone wishing to hybrid trade a general system (get the signal to fire and then manage the trade manually) pause/long only/short only buttons would be extremely useful in MC.

Reply With Quote
The following user says Thank You to Bondi9999 for this post:
 
  #7 (permalink)
Elite Member
London
 
Futures Experience: Beginner
Platform: MultiCharts
 
Posts: 230 since Nov 2010
Thanks: 10 given, 20 received

Hi folks,
first of all I need Global Variable for multicharts and tradestation.
Second I need very simple example to understand them, please could you post any code example and explaination.
Regards.

Reply With Quote
 
  #8 (permalink)
Elite Member
London
 
Futures Experience: Beginner
Platform: MultiCharts
 
Posts: 230 since Nov 2010
Thanks: 10 given, 20 received

Global Variable

So folks where could i find the last version of Global Variable and any examples?

Reply With Quote
 
  #9 (permalink)
Elite Member
Calgary, AB
 
Futures Experience: Intermediate
Platform: NT, IB, TOS, MC
Broker/Data: IB, Rithmic
Favorite Futures: CL, ES, GC, ZS, ZB
 
atata's Avatar
 
Posts: 116 since Mar 2010
Thanks: 90 given, 96 received


Quoting 

Aslan, me being from Canada therefore no access to Tradestation also can't access the link above.

Would you be so kind to print the thread mentioned above into a pdf and attach it to this thread?

Thanks,

atata

Reply With Quote
The following user says Thank You to atata for this post:
 
  #10 (permalink)
Elite Member
London, England
 
Futures Experience: Intermediate
Platform: MC, TS, NT
Broker/Data: TradeStation
Favorite Futures: ES
 
Posts: 41 since Oct 2009
Thanks: 12 given, 18 received


Mike,

Not sure what help you wanted but using global variables itself is very easy. Presuming that GV is installed within Multicharts, here's some code I use to send data from one chart to another:

Indicator in the sending chart:

ifLastBarOnChartandbarstatus(1)=2then
begin
GVSetDouble(1,CumVol);
GVSetDouble(2,CumVolAvg);
GVSetDouble(3,BarNumber);
end;

In the receiving chart strategy or indicator uses:

CumVol=GVGetDouble(1);
CumVolAvg=GVGetDouble(2);
KaseBarNumber=GVGetDouble(3);

1, 2, and 3 are the addresses for storing the variables. You can also do it by name using different syntax.


Paul

Reply With Quote
The following 3 users say Thank You to SPTrading for this post:

Reply



futures io > > > > > Global Variables (GV) in EasyLanguage for TradeStation/MultiCharts

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
global variables: anyone got a complete NT7 example? elbone NinjaTrader Programming 2 July 19th, 2011 10:13 AM
OHLCPeriodsAgo EasyLanguage/MultiCharts ccfeldt EasyLanguage Programming 4 April 6th, 2011 08:23 AM
Global Variables and Strategies in Ninja 6.5 TonyA NinjaTrader Programming 3 November 6th, 2010 08:50 AM
Get TradeStation talking to Ninja with GV? drmartell Traders Hideout 5 November 1st, 2010 11:48 AM


All times are GMT -4. The time now is 08:45 PM.

Copyright © 2017 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
Page generated 2017-12-10 in 0.16 seconds with 20 queries on phoenix via your IP 54.83.122.227