Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
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.
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 nexusfi.com (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.
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:
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.
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...
@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.
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.
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.
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: