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

Re: [amibroker] Re: How to get rid of (Full)Name in AB-Window?



PureBytes Links

Trading Reference Links

Hi Tomasz,
 
OK, so I've a lot of anticipatory repair work to get done as I've been writing code using the escape sequences instead of the EncodeColor for a long time.  Probably because I'm lazy and the escape sequence was a faster way (for me) to define a color.  Now I'm going to pay for that laziness.  Any general estimate how long I'll have to get stuff converted before the escape sequences stop working?
 
Peace and Justice   ---   Patrick
----- Original Message -----
Sent: Sunday, January 08, 2006 5:46 AM
Subject: Re: [amibroker] Re: How to get rid of (Full)Name in AB-Window?

Hello,
 
BTW: please do use EncodeColor function instead of hard coding escape sequences.
EncodeColor results in clearer code and will always work. Escape sequences may change
and stop working in future releases.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
Sent: Sunday, January 08, 2006 3:46 AM
Subject: RE: [amibroker] Re: How to get rid of (Full)Name in AB-Window?

Got it now, thanks.   I am finally starting to understand AFL code a little more each day.  Little snippets and fixes that get posted give clues and helpful suggestions and reveal the power behind AFL.  It’s great.

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of NW Trader
Sent: Friday, January 06, 2006 11:14 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Re: How to get rid of (Full)Name in AB-Window?

 

Hi Dave,

 

That title code Les posted is for setting the title line in a chart window -- it doesn't answer the original question asked.

 

The \n command is a forced carridge return which will set the following code in a title to the next line.

 

The \\c command is for defining colors -- e.g. \\c01 will print in black.  See some of the code I've sent you earlier for examples of using these

 

I do not know of a way to do what the original questioner asked -- I believe one would have to edit AB code itself. 

 

Peace and Justice   ---   Patrick

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

Sent: Friday, January 06, 2006 10:24 PM

Subject: RE: [amibroker] Re: How to get rid of (Full)Name in AB-Window?

 

Hi Lesmond,

As a newbie I am grabbing all "snippets" of code and saving them in a
subdirectory.  This didn't verify as I suspect that the first two lines were
meant to be comments.  Also what do you mean by the second line "code that
moves the text to the new row below"?

Dave

-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of Lesmond V
Sent: Friday, January 06, 2006 10:11 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: How to get rid of (Full)Name in AB-Window?

You have to create your own code for the reserved variable "Title". Here is
an example how to customize Title and ToolTips (the square box that appears
next to the mouse pointer when you point the mouse to a bar or a candle).
You would need to save this as AFL file, let's say MyPrice.afl and use it
instead of default "Price.afl" (left pane - charts tab - basic charts -
price).

\\c - colour code
\n  - code that moves the text to the new row below


/*******/

Title = "\\c11"+Interval(format=2)+"  "+Date()+"\\c-1  O="+O+"  H="+H+"
L="+L+"  C="+C;

Plot(C, ToolTip="C = "+C+"\n" +ToolTip="V = "+NumToStr(V,1.0)+"\n"
+ToolTip="OI = "+NumToStr(OI,1.0), colorDarkYellow, styleCandle);

/*******/


--- In amibroker@xxxxxxxxxxxxxxx, "vlanschot" <ecbu@xxxx> wrote:
>
> Does anybody know how to get rid of the Name and Full name at the upper
> left corner in the AB-window itself (as in Amibroker - [S&P500 - S&P
> 500 Index]?
>
> Thanks,
>
> PS
>







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










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