Welcome to the Traders Laboratory Forums.
Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Old 11-18-2010, 03:49 AM   #1
aaa

aaa's Avatar

Join Date: Jun 2008
Location: Switzerland
Posts: 443
Ignore this user

Thanks: 240
Thanked 283 Times in 136 Posts

Is It Possible to Send Texte Via ADE ?

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.
aaa is offline  
Reply With Quote
Old 11-20-2010, 03:33 AM   #2

Join Date: Jul 2010
Posts: 60
Ignore this user

Thanks: 13
Thanked 15 Times in 13 Posts

Re: Is It Possible to Send Texte Via ADE ?

Hi aaa,

Yes you can Read/Write the Texts from/to the file via ADE.

EasyTrader_I
EasyTrader_I is offline  
Reply With Quote
Old 11-20-2010, 04:31 AM   #3
aaa

aaa's Avatar

Join Date: Jun 2008
Location: Switzerland
Posts: 443
Ignore this user

Thanks: 240
Thanked 283 Times in 136 Posts

Re: Is It Possible to Send Texte Via ADE ?

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
aaa is offline  
Reply With Quote
The Following User Says Thank You to aaa For This Useful Post:
Stat (02-19-2011)
Old 11-27-2010, 03:51 AM   #4
aaa

aaa's Avatar

Join Date: Jun 2008
Location: Switzerland
Posts: 443
Ignore this user

Thanks: 240
Thanked 283 Times in 136 Posts

Re: Is It Possible to Send Texte Via ADE ?

var:
myTexte( "hello" ),

I'm afraid that it's impossible 2 send texte surrounded by "" via ADE...

... untill someone post an example

;=)
aaa is offline  
Reply With Quote
Old 11-27-2010, 09:13 AM   #5

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,779
Ignore this user

Thanks: 2,084
Thanked 1,474 Times in 912 Posts

Re: Is It Possible to Send Texte Via ADE ?

Quote:
Originally Posted by aaa »
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.
__________________



Only an idiot would reply to a stupid post
Tams is offline  
Reply With Quote
Old 11-28-2010, 03:04 AM   #6
aaa

aaa's Avatar

Join Date: Jun 2008
Location: Switzerland
Posts: 443
Ignore this user

Thanks: 240
Thanked 283 Times in 136 Posts

Re: Is It Possible to Send Texte Via ADE ?

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.
Attached Files
File Type: pdf All Data Everywhere.pdf (117.5 KB, 16 views)
aaa is offline  
Reply With Quote
The Following User Says Thank You to aaa For This Useful Post:
Stat (02-19-2011)
Old 04-01-2012, 02:46 AM   #7

Join Date: May 2010
Posts: 180
Ignore this user

Thanks: 0
Thanked 47 Times in 38 Posts

Re: Is It Possible to Send Texte Via ADE ?

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

Code:
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);

Last edited by onesmith; 04-01-2012 at 02:53 AM.
onesmith is offline  
Reply With Quote
The Following User Says Thank You to onesmith For This Useful Post:
aaa (04-07-2012)
Old 04-07-2012, 04:14 AM   #8
aaa

aaa's Avatar

Join Date: Jun 2008
Location: Switzerland
Posts: 443
Ignore this user

Thanks: 240
Thanked 283 Times in 136 Posts

Re: Is It Possible to Send Texte Via ADE ?

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

Code:
 
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

Last edited by aaa; 04-07-2012 at 04:23 AM.
aaa is offline  
Reply With Quote

Reply

Tags
ade

Thread Tools
Display Modes Help Others By Rating This Thread
Help Others By Rating This Thread:


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help to Retrieve a String Using ADE or ELCollections Crazynasdaq Coding Forum 3 01-26-2012 11:02 PM
ADE - All Data Everywhere (EasyLanguage) Tams Trading Indicators 22 05-01-2010 01:48 AM
ADE Question nuno-online Coding Forum 10 01-13-2010 08:17 AM
EL: Using ADE to Transfer Data Between Charts ERROR nuno-online Coding Forum 8 11-09-2009 04:05 PM
ADE Code karsat Coding Forum 0 03-08-2009 08:06 PM

All times are GMT -4. The time now is 03:14 PM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.