Graham,
Thanks for the
code example; it appears Amibroker 5.0 will have many new exciting
features.
Thanks again,
RR
-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx
[mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of Herman
Sent: Tuesday, May 29, 2007 11:34
PM
To: RR
Subject: Re: [amibroker] Guru
Commentary
Well, here is an
example that I use to copy old Titles to a new Gfx pane:
PaneBackGroundColor = ParamColor("Pane
background",colorDarkGreen );
PaneTextColor = ParamColor("Pane Text",colorWhite );
PaneFontSize = Param("Pane Font Size",10,8,20,2);
SetChartBkColor(PaneBackGroundColor ); // This ought not to be
needed...
pxwidth = Status("pxwidth");
pxheight = Status("pxheight");
GfxSetBkColor( colorDarkGreen );
GfxSetOverlayMode( 2 );
GfxSetTextColor( PaneTextColor);
GfxSelectFont( "Lucida
Console", PaneFontSize, 1000);
GfxDrawText( Title, 5, 5, pxwidth, pxheight, format = 0 );
There are many
options, you should read the latest beta documentation to see what applies to
your needs.
best regards,
herman
Wednesday, May
30, 2007, 9:48:36 AM, you wrote:
>
|
Graham,
Thanks for the suggestion of using GFX functions; I
think that is only available in beta and not a part of AmiBroker 4.90.05.
However, an example would be nice if you happen to have one handy for
future reference.
Thanks again,
RR
-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx
[mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Herman
Sent: Tuesday, May 29, 2007 8:14 PM
To: RR
Cc: Amibroker
Subject: Re: [amibroker] Guru Commentary
use a separate
pane and use Gfx functions, it will give you full color/font control looks
much better than the commentary. Also you can overlay your text on Charts...
lots of nice opportunities.
herman
Wednesday, May
30, 2007, 8:47:31 AM, you wrote:
>
|
Is there a way to get output written
to a Guru commentary to appear either in italics, boldface, or a different
font? I already checked with support and using color is not supported
like \\cxx. Also, is tab supported?
|
|