Does anyone have a way to read files from EasyLanguage?

snackly

Junior member
Messages
14
Likes
0
I am actually using MultiCharts, which uses EasyLanguage. I am pulling my hair out trying to write C Dlls to read basic text files, as it appears EasyLanguage has no way of doing this.

I have not been able to get EasyLanguage/MultiCharts to find the function in my C dll and I'm at a total loss and have wasted a full day of work trying to do what is the most basic thing in the world. Read in a text file!
 
Are you saying that you don't have easylanguage so cannot read easylanguage files ?


Paul

No, I have EasyLanguage, it's built into my MultiCharts package and functions just like in TradeStation.

The problem is that as far as I can tell there is no function in EasyLanguage to read in a file. You can output a file, but not read one in. I think this has to be one of the most basic functions in computing. Input. How could this have been left out? And I'm asking essentially does anyone have any knowledge of any way to read in a file?

If I have to write my own C dll I will, but I've already tried, and I can't get EasyLanguage to find the entry point of my function. I will even buy a 3rd party component, and I know there is one that extends EasyLanguage. The problem is that it won't work with MultiCharts, only Tradestation.

I am at a loss and getting ready to dump MultiCharts and EasyLanguage, I have wasted so much time trying to simply read in a text file.

Thanks for any help you or anyone can provide.
 
No, I'm not familiar with those. How do those work? Would that allow me to read in an external text file every time a Bar changes in the time series/script?

I am not sure to be honest but it does work by using a dll not associated with easylanguage that allows it to perform functions that otherwise cannot be achieved. For example it allows multiple timeframe calculations in one easylanguage file. I am not a coding expert but if you go to Traders Laboratory and post your question you may find someone who can help.


Paul
 
No, I have EasyLanguage, it's built into my MultiCharts package and functions just like in TradeStation.

The problem is that as far as I can tell there is no function in EasyLanguage to read in a file. You can output a file, but not read one in. I think this has to be one of the most basic functions in computing. Input. How could this have been left out? And I'm asking essentially does anyone have any knowledge of any way to read in a file?

If I have to write my own C dll I will, but I've already tried, and I can't get EasyLanguage to find the entry point of my function. I will even buy a 3rd party component, and I know there is one that extends EasyLanguage. The problem is that it won't work with MultiCharts, only Tradestation.

I am at a loss and getting ready to dump MultiCharts and EasyLanguage, I have wasted so much time trying to simply read in a text file.

Thanks for any help you or anyone can provide.
There are lots of links on the Tradestation forum site, but I guess you pobably won't have access to those.

However this link might help

CodeTalker World - Downloads (DLLs)

Look for:

TradeStation v6 or TS2000i only

DLLs


--------------------------------------------------------------------------------

DLLTestFile.exe



Charlton
 
There are lots of links on the Tradestation forum site, but I guess you pobably won't have access to those.

However this link might help

CodeTalker World - Downloads (DLLs)

Look for:

TradeStation v6 or TS2000i only

DLLs


--------------------------------------------------------------------------------

DLLTestFile.exe



Charlton

That looks promising, sort of. It has no documentation on the function calls, although I could find them by inspecting the file if I tried. But then again I don't like the idea of some random DLL that someone wrote and which is not a professional product sitting in between my trades, if you know what I mean.

Too bad he didn't share the source code for a very simple function.

Plus it appears its linked against the Tradestation libraries, so it wouldn't work in MultiCharts. I really need an example of how to call a C Dll from EasyLanguage.
 
That looks promising, sort of. It has no documentation on the function calls, although I could find them by inspecting the file if I tried. But then again I don't like the idea of some random DLL that someone wrote and which is not a professional product sitting in between my trades, if you know what I mean.

Too bad he didn't share the source code for a very simple function.

Plus it appears its linked against the Tradestation libraries, so it wouldn't work in MultiCharts. I really need an example of how to call a C Dll from EasyLanguage.


If you have access to the Tradestation forum the list of topics below show various ways to achieve this. However if you do not have access to the TS forum, the link immediately below might also prove useful. I have personally used GlobalVariables a lot and have looked into ELCollections, but never used them. Hope this helps

TS SUPPORT :: View topic - Installing ADE/Elcollections in MC

Charlton
___________________________________

Links in main TS forum if you can access it:


CAN DATA BE IMPORTED INTO TRADESTATION FROM OTHER/3RD-PARTY SOURCES?

Import of 3rd-party data can now be done for ASCII and MetaStock:
When building a tick-bar or volume-bar chart TS looks only for a single closing data tick
https://www.tradestation.com/Discussions/Topic.aspx?Topic_ID=44843
https://www.tradestation.com/discussions/Topic.aspx?Topic_ID=32119
What steps to take to start import:
https://www.tradestation.com/Discussions/Topic.aspx?Topic_ID=46636

Importing data using the All-Data-Everywhere library (ADE)
https://www.tradestation.com/Discussions/Topic.aspx?Topic_ID=34611

Import ASCII data using OwnData from a 3rd-party source
https://www.tradestation.com/discussions/Topic.aspx?Topic_ID=31491

How to use the built-in symbol lists (eg. NASDAQ 100)
https://www.tradestation.com/discussions/Topic.aspx?Topic_ID=35237
(above includes link to 27355)
https://www.tradestation.com/discussions/Topic_Archive.aspx?Topic_ID=20311

Importing a custom symbol list from Excel or a text file..
https://www.tradestation.com/discussions/Topic.aspx?Topic_ID=27355

Tips on importing data from Excel into TS
https://www.tradestation.com/Discussions/Topic.aspx?Topic_ID=53449





CAN EASY LANGUAGE READ A TEXT FILE?

With a global variable or 3rd-party software:
https://www.tradestation.com/discussions/Topic_Archive.aspx?Topic_ID=17399
https://www.tradestation.com/discussions/Topic.aspx?Topic_ID=25003
(includes other links to 10614, 14347, 17904, 20406)

Using the All-Data-Everywhere (ADE) utility...
https://www.tradestation.com/Discussions/Topic.aspx?Topic_ID=33398
 
Unfortunately I don't have access to the Tradestation forums. That is a shame that they don't make this public. After all the success of EasyLanguage in MultiCharts (which they receive royalties on) depends on this knowledge being shared.
 
Top