[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Addtextcolumn - text on different bars



PureBytes Links

Trading Reference Links

try putting what you want to appear in a variable before the addtextcolumn and then print that.
 
d


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Thomas Z.
Sent: Monday, January 30, 2006 11:07 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] Addtextcolumn - text on different bars

Ok, i will ask again one year later J

 

 

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

Best regards

 

Thomas

www.tradingbasis.com

support@xxxxxxxxxxxxxxxx

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

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Steve Dugas
Sent: Monday, January 30, 2006 4:50 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Addtextcolumn - text on different bars

 

I see what you mean...can't think of any way around it.

 

Steve

----- Original Message -----

From: Thomas Z.

Sent: Monday, January 30, 2006 3:00 AM

Subject: RE: [amibroker] Addtextcolumn - text on different bars

 

Hello Steve,

 

i know how the function works. The problem is that the text output works not same as with numbers.

Try out the code below with all quotations. When the condition is true we get the number 1 and should also get the text True in the second column.

 

Filter = 1;

Cond = C>Ref(C,-1);

AddColumn(Cond,"Number output",1.0);

AddTextColumn(WriteIf(Cond,"True",""),"Text output",1.0);

 

 

 

I remember it was not possible but maybe now there is any trick.

 

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

Best regards

 

Thomas

www.tradingbasis.com

support@xxxxxxxxxxxxxxxx

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

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Steve Dugas
Sent: Monday, January 30, 2006 12:46 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Addtextcolumn - text on different bars

 

Hi T,

 

Not 100% sure I understand the question, but did you accidentally reverse your args? 1st arg should be what you want to write on each line, 2nd arg should be the column header.

 

Steve

----- Original Message -----

From: Thomas Z.

Sent: Sunday, January 29, 2006 11:21 AM

Subject: [amibroker] Addtextcolumn - text on different bars

 

Hello

 

Does anyone know if there is a solution now to see the actual text at every bar in automatic analysis.

 

As you know the code below displays the same text at every bar in the result list, equally whether the condition is true or not.

 

Filter = 1;

AddTextColumn("C>Ref(C,-1)",WriteIf(C>Ref(C,-1),"C>Ref(C,-1)","nothing"),1);

 

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

Best regards

 

Thomas

www.tradingbasis.com

support@xxxxxxxxxxxxxxxx

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




Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





YAHOO! GROUPS LINKS