Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.
-
Welcome Guests
Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.
Search the Community
Showing results for tags 'global variable'.
Found 5 results
-
author: Bamboo ADE - All Data Everywhere Introduction The “All Data Everywhere” library (or ADE for short) is a set of EasyLanguage functions and indicators that allow you to store any kind of data for any symbol and bar interval. You can then access that data from any study or strategy, regardless of the symbol or bar interval. One powerful use for ADE is to store higher timeframe data for a symbol and then access that data from a lower timeframe. For example, you can calculate and store ADX and RSI for a 30 minute chart, and then you can access that data from a 5 minute chart. Another powerful use for ADE is to look at data for other symbols. You can use ADE to store data (OHLC, volume, indicators, etc) for an entire portfolio of symbols, and then you can access the data for any symbol from any other symbol. This makes it possible to perform analyses that depend on the relationships between different symbols in your portfolio. ADE includes the ability to save data to text files and load it back. This means that you can pre-calculate and store data for any symbols and timeframes you want, and you can retrieve that data whenever you want. For example, you can store five years of data for a 30 minute MSFT chart. If you open a 30 minute MSFT chart with only one month of data, your study or strategy can load the five years of historical data and append only the new data. It is not necessary to recalculate the entire five years every time. Installation instructions and sample indicators are provided in the zip file. note: ADE uses the ELCollections library, so you must install ELCollections before you install ADE. Also, taking the time to learn how ELCollections works will allow you to make the most of ADE. http://www.traderslaboratory.com/forums/f46/collections-for-easylanguage-5929.html ADESETUP.ZIP
- 22 replies
-
- ade
- elcollections
-
(and 3 more)
Tagged with:
-
Hello I'm trying to send a string of info from Excel to Multicharts using Global Variable. Anybody could show me a little Excel VBA code to transmit MyString = "Hello the World" from Excel , and the code to read it back in Multicharts (TradeStation) I just don't get it on how to declare and use a Global variable in Excel. I have a lot of thing in Excel VBA, but I don't have any clue on how to work with Global Variables. Any help appreciated Martin
-
GlobalVariable.dll Version 2.2 Global Variable is a dynamic-link library (DLL) that can be used to extend EasyLanguage®. A DLL’s can be written in any of a variety of programming languages, including C/C++, Delphi, and PowerBASIC®. User developed TradeStation®-compatible DLL’s, while not part of the TradeStation platform itself, are used to provide user-developed function libraries that may be called from EasyLanguage analysis techniques. Functions exported from user-developed DLL’s can be called by EasyLanguage analysis techniques and by other applications. DLL functions can perform actions that cannot be done easily or at all in EasyLanguage. Additionally, they might be used to speed up processing. An example code is included; it demonstrates how to create two types of global variable storage locations for each of five data types. The two types of storage locations are numbered storage locations, named storage locations. The five data types are Boolean values, integers, single-precision floating point numbers (called simply “floats”), double-precision floating-point numbers (called simply “doubles”), strings (text values). Documentation inside zip file. . GlobalVariable22.zip
- 10 replies
-
- ade
- elcollections
-
(and 3 more)
Tagged with:
-
author: Bamboo Collections for EasyLanguage Introduction The ELCollections library supports two kinds of collections: Lists and Maps. A List is an ordered list of values. Values can be pushed onto the front or back of the list, and they can be popped off the front or back. They can also be inserted or removed at any position in the list. A value can be accessed by an index (like an array), or by looking at the front or back of the list. Lists can be “grown” on demand by adding or inserting values. A Map associates keys and values. A key is a piece of data for which you want to store an associated value. For example, suppose you want to store the last closing price for each symbol. You can put this information in a map, which can be represented conceptually like this: CSCO -> 19.74 IBM -> 93.37 MSFT -> 29.77 ORCL -> 13.34 Creating a Collection There are two ways to create a collection: the New method and the Share method. Both of these methods return a numeric ID for the new collection. This ID must be stored in a variable and passed to any functions that operate on the collection. The New method creates a collection that is visible only to the current study or strategy. It does not take any arguments. The Share method creates a collection that can be shared by multiple studies or strategies. It takes a single argument, which is a unique name that identifies the collection. If no collection with that name exists, it is created; otherwise, the ID of the existing collection is returned. Note that a collection can only be shared within a single application. Charting, RadarScreen, and OptionStation are different applications, so a collection cannot be shared across them. Collections of Collections It is possible to create a collection that contains other collections. For example, you can create a Map of Lists, a Map of Maps, a List of Maps, or a List of Lists. This allows you to create sophisticated data structures to solve all kinds of problems. For MultiCharts users: Please place the elcollections.dll in the Multicharts.exe program directory (i.e. "C: \Program Files\TS Support\Multicharts\"). Once that it done you can import the "ELCollections.eld" file in the zip with PLEditor and you have ELCollections installed. Manual & instructions in the zip file. ELCollections.zip
- 11 replies
-
- ade
- elcollections
-
(and 1 more)
Tagged with:
-
I’m trying to take the value of an instrument at a certain time of day and then compare it to its current value. My attempt was If (value1) > (value1 at time 1400) then begin; Can anyone tell me were I'm going wrong thanks