Jump to content

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.

aaa

Is It Possible to Send Texte Via ADE ?

Recommended Posts

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.

 

Is it possible to send texte via ADE ?

 

var:

myTexte( "hello" ),

InfoMap(MapSN.New );

 

Value1 = MapSN.Put(InfoMap, "my.Texte", myTexte );

Value1 = ADE.PutBarInfo(Class, GetSymbolName, ADE.BarInterval, ADE.BarID, InfoMap);

 

------ Compiled with error(s): ------

Incorrect argument type.

Share this post


Link to post
Share on other sites

EasyTrader_I

 

Good 2 know that it's possible !

 

Would U mind 2 post an example ?

 

/////////////////////////////////////////////////

 

I've found this very limited trick but it works fine

ADE Master

 

Value1 = MapSN.Put(InfoMap, "Hello" , myValue );

**************

ADE Slave

myText = MapSN.Get(InfoMap, "Hello" );

////////////////////////////////////////////////////

aaa

Share this post


Link to post
Share on other sites
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.

 

Is it possible to send texte via ADE ?

....

 

what do you mean by send"?

where do you want to send it?

I thought there are already examples in the ADE package.

Share this post


Link to post
Share on other sites

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.

 

Oups, Sorry 4 my english

 

A master graph stores data on a file or in memory (send ?) and a slave graph read (receive ?) this data= is it correct like this TAMS ?

 

any kind of data should include texte surrounded by "", ain't it ?

 

I've read carefully the attached pdf & I don't C anything about texte...

 

But I don't C well ;=)

 

I use ADE in many indics 4 a long time 2 share values beetwen graph w/o pblem

 

Except when I've tryed recently 2 share texte

 

ADE Master example from my first post

 

var:

myTexte( "hello" ),

InfoMap(MapSN.New );

 

Value1 = MapSN.Put(InfoMap, "my.Texte", myTexte );

Value1 = ADE.PutBarInfo(Class, GetSymbolName, ADE.BarInterval, ADE.BarID, InfoMap);

 

------ Compiled with error(s): ------

Incorrect argument type.

All Data Everywhere.pdf

Share this post


Link to post
Share on other sites

MapSN calls a function written for Numbers.

MapSS calls a function for Strings.

 

You need to use MapSS. I commented out the line with the error and inserted the correction below it

 

input: class("5");
var: myTexte("hello"), InfoMap(MapSS.New);

// Value1 = MapSN.Put(InfoMap, "my.Texte", myTexte ); 
Value1 = MapSS.Put(InfoMap, "my.Texte", myTexte ); 
Value1 = ADE.PutBarInfo(Class, GetSymbolName, ADE.BarInterval, ADE.BarID, InfoMap);

Edited by onesmith

Share this post


Link to post
Share on other sites

Hi OneSmith

 

ThanX 4 your help.

 

I had 2 wait 1 year 2 have an answer 2 my question ( better late than never ) !!!

 

I should have never found it Bcoz I don't have MapSS.New function in my ADE library ( 1.07)

 

What is the ADE release now ?

 

Can U send me a copy of your ADE library and eventually more recently pdf than the one I've posted ?

 

Here is my library content

 

 
ADE Generate Class Indicator 
ADE Plot Info Test Indicator 
ADE Plot OHLCV Indicator 
ADE Save Info Test Indicator 
ADE Save OHLCV Indicator 
ADE.BarDate Function 
ADE.BarID Function 
ADE.BarInterval Function 
ADE.BarTime Function 
ADE.Daily Function 
ADE.DeleteMap Function 
ADE.DeriveBigBar Function 
ADE.DeriveOHLCV Function 
ADE.Directory Function 
ADE.FileExists Function 
ADE.FileName Function 
ADE.FindOrAddListN Function 
ADE.GenerateCode Function 
ADE.GetBarIndex Function 
ADE.GetBarInfo Function 
ADE.GetFileIntervals Function 
ADE.GetFileSymbols Function 
ADE.GetIntervals Function 
ADE.GetMap Function 
ADE.GetOHLCV Function 
ADE.GetRequiredMap Function 
ADE.GetSeries Function 
ADE.GetSymbols Function 
ADE.IntervalDesc Function 
ADE.IsHigherTF Function 
ADE.Monthly Function 
ADE.Normalize Function 
ADE.OnNextBar Function 
ADE.OpenMap Function 
ADE.ParseParamStr Function 
ADE.PutBarInfo Function 
ADE.PutOHLCV Function 
ADE.PutOrPushN Function 
ADE.RaiseError Function 
ADE.ReadDataFiles Function 
ADE.ReplaceSepTag Function 
ADE.ReplaceStr Function 
ADE.SaveMap Function 
ADE.SortDataMap Function 
ADE.TickBarT Function 
ADE.TickBarV Function 
ADE.TypeZeroBarID Function 
ADE.TypeZeroInterval Function 
ADE.TypeZeroParseID Function 
ADE.UseFile Function 
ADE.ValidateName Function 
ADE.VolBarT Function 
ADE.VolBarV Function 
ADE.Weekly Function 
ADF.Average Function 
ADF.AverageFC Function 
ADF.Highest Function 
ADF.HighestFC Function 
ADF.Lowest Function 
ADF.LowestFC Function 
ADF.Summation Function 
ADF.SummationFC Function 
ListN.Average Function 
ListN.Back Function 
ListN.Clear Function 
ListN.CopyMapKeys Function 
ListN.Count Function 
ListN.Get Function 
ListN.IsSorted Function 
ListN.Lookup Function 
ListN.Maximum Function 
ListN.Minimum Function 
ListN.New Function 
ListN.Next Function 
ListN.PushBack Function 
ListN.Put Function 
ListN.Release Function 
ListN.Resize Function 
ListN.Rewind Function 
ListN.Sort Function 
ListN.Summation Function 
ListS.CopyMapKeys Function 
ListS.Count Function 
ListS.FindFiles Function 
ListS.Front Function 
ListS.Get Function 
ListS.Insert Function 
ListS.New Function 
ListS.Next Function 
ListS.PushBack Function 
ListS.ReadFile Function 
ListS.Release Function 
ListS.Resize Function 
ListS.Rewind Function 
MapNC.Count Function 
MapNC.Get Function 
MapNC.New Function 
MapNC.Put Function 
MapNC.Release Function 
MapNC.Remove Function 
MapNN.Get Function 
MapNN.New Function 
MapNN.Put Function 
MapNS.Count Function 
MapNS.Get Function 
MapNS.Put Function 
MapNS.ReadFile Function 
MapNS.Share Function 
MapSC.BuildRowMap Function 
MapSC.Count Function 
MapSC.Get Function 
MapSC.New Function 
MapSC.Next Function 
MapSC.Put Function 
MapSC.ReadFile Function 
MapSC.Release Function 
MapSC.Remove Function 
MapSC.Rewind Function 
MapSC.SetColumnOrder Function 
MapSC.Share Function 
MapSC.SortByCol Function 
MapSC.WriteFile Function 
MapSN.Clear Function 
MapSN.Get Function 
MapSN.New Function 
MapSN.Next Function 
MapSN.Put Function 
MapSN.Rewind Function 


Edited by aaa

Share this post


Link to post
Share on other sites

1.07 is the latest version. The information about S and N standing for string and number is in the ELC help file, not the ADE file. The MapSS.New function is listed separately under M for Map. If you look there you will find it along with MapSS.Put.

 

That solves the verify error. But it gives additional errors when inserted in a chart. I don't recall exactly but they point to another function. My initial thought was it might be necessary to write some custom functions to get everything sorted out but I have not read enough of the help file to know why the new errors occurred.

 

If your text is standardized then a kludge to get you by until a real solution is found would be to assign each text item to numbers 1 through 10. Transfer the numbers via ADE. Then translate the numbers back to their corresponding text.

 

I'm interested in understanding why you have text instead of numbers. Is the text proprietary or just a string of letters generated by volume profile? What are you doing? Is it profitable? Speak up, I want to know these things.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.