|
Dennis,
You can use the Parameters to change the
coloring...
/* Title Coloring */
CloseColor = Param("CloseColor=",2,1,54,1);
OpenColor = Param("OpenColor=",7,1,54,1);
HighColor = Param("HighColor=",4,1,54,1);
LowColor = Param("LowColor=",5,1,54,1);
Title = Name() +
" " + EncodeColor( CloseColor) +" Close = " + WriteVal(Close,format=8.2)
+ " " + EncodeColor( OpenColor) +" Open = " + WriteVal(Open,format=8.2)
+ " " + EncodeColor( HighColor) +" High = " + WriteVal(High,format=8.2)
+ " " + EncodeColor( LowColor) +" Low = " + WriteVal(Low,format=8.2);
Plot (Close , EncodeColor( CloseColor)
+" Close = "
+ WriteVal(Close,format=8.2) ,CloseColor,
styleLine);
Plot(Open , EncodeColor( OpenColor) +" Open = " + WriteVal(Open,format=8.2) ,OpenColor,
styleLine);
Plot(High , EncodeColor( HighColor) +" High = " + WriteVal(High,format=8.2) ,HighColor,
styleLine);
Plot(Low , EncodeColor( LowColor) +" Low = " + WriteVal(Low,format=8.2) ,LowColor, styleLine);
MV
I agree...thank you
Dennis
--- In [EMAIL PROTECTED]ps.com,
"J. Biran" <[EMAIL PROTECTED]> wrote: > > True, except it is very
hard to position this on the exact top line of > the screen, >
there is no way to probe the scaling of the chart from afl. > >
If you plot it on a price related location it will be jumping
around > with price changes > (RT charts), and if you force
the vertical scaling by some artificial > plot, at the very
least > you will loose chart resolution. > > Make a
suggestion to add the ability to specify background color in > the
Title. > > > > Joseph Biran >
____________________________________________ >
> > > > _____ > > From: [EMAIL PROTECTED]ps.com
[mailto:[EMAIL PROTECTED]ps.com]
On > Behalf Of wavemechanic > Sent: Sunday, September 10, 2006
6:16 AM > To: [EMAIL PROTECTED]ps.com >
Subject: Re: [amibroker] Re: Highlighted text > > >
PlotText lets you color the text and the text background. > SYNTAX
PlotText( ''text'', x, y, color, bkcolor = colorDefault ) > >
----- Original Message ----- > From: "Dennis And Lisa" <
<mailto:dennisandli[EMAIL PROTECTED]> >
dennisandlisa@...> > To: < <mailto:[EMAIL PROTECTED]ps.com>
[EMAIL PROTECTED]ps.com> >
Sent: Sunday, September 10, 2006 5:15 AM > Subject: [amibroker] Re:
Highlighted text > > > > For example, the price is
highlighted on the right (Y-Axis) of the > > screen. It has
white numbers, but highlighted in black, or whatever > > color
is chosen. Can the same be done with text/value output? > > >
> --- In <mailto:[EMAIL PROTECTED]ps.com> >
[EMAIL PROTECTED]ps.com,
"wavemechanic" <fimdot@> wrote: > >> > >> Not
sure what you mean by highlighted but does EncodeColor() do > >
what you want? > >> > >> Bill > >>
> >> ----- Original Message ----- > >> From: "Dennis
And Lisa" <dennisandlisa@> > >> To: < <mailto:[EMAIL PROTECTED]ps.com>
[EMAIL PROTECTED]ps.com> >
>> Sent: Saturday, September 09, 2006 11:17 PM > >> Subject:
[amibroker] Re: Highlighted text > >> > >> >
>> > Hi...thank you Terry....what I mean is that if, for example,
I > > want > >> > to use the TITLE function to
display the Day's Hi, and I want it > >> > highlighted on
the top left part of the screen, can I have it > >> >
highlighted instead of just a normal colored display? > >> >
> >> > Thanx, > >> > Dennis > >>
> > >> > > >> > --- In <mailto:[EMAIL PROTECTED]ps.com> >
[EMAIL PROTECTED]ps.com,
"Terry" <MagicTH@> wrote: > >> >> > >>
>> If you mean in the interpretation window, unfortunately this is
> > not > >> >> (yet) possible. > >>
>> > >> >> I have taken to doing this to highlight
something there: > >> >> > >> >>
"----------------------"; > >> >> "what I want to
highlight goes here"; > >> >>
"----------------------"; > >> >> -- >
>> >> Terry > >> >> > >> >>
-----Original Message----- > >> >> From: <mailto:[EMAIL PROTECTED]ps.com> >
[EMAIL PROTECTED]ps.com
> > [mailto:[EMAIL PROTECTED]ps.com]
> >> > On > >> >> Behalf Of Dennis And
Lisa > >> >> Sent: Saturday, September 09, 2006
13:46 > >> >> To: <mailto:[EMAIL PROTECTED]ps.com> >
[EMAIL PROTECTED]ps.com >
>> >> Subject: [amibroker] Highlighted text > >>
>> > >> >> Does anyone know of a way to have text or
values displayed in a > >> >> highlighted
color? > >> >> > >> >> thanks, >
>> >> Dennis > >> >> > >> >>
> >> >> > >> >> > >>
>> > >> >> > >> >> 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> >
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> >
http://www.amibroker.com/support.html >
>> > > >> > > >> > Yahoo! Groups
Links > >> > > >> > > >> >
> >> > > >> > > >> > >
>> > > >> > > >> > > >>
> > >> > > >> > > >> > --
> >> > No virus found in this incoming message. >
>> > Checked by AVG Free Edition. > >> > Version:
7.1.405 / Virus Database: 268.12.2/442 - Release Date: > >
9/8/2006 > >> > > >> > > >> >
> > > > > > > > > > >
> > 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> >
http://www.amibroker.com/support.html >
> > > > > Yahoo! Groups Links > > > http://groups.yahoo.com/group/amibroker/ >
> > > > http://groups.yahoo.com/group/amibroker/join >
> (Yahoo! ID required) > > > mailto:amibroker-digest@yahoogroups.com
> > <mailto:amibroker-fullfeatu[EMAIL PROTECTED]com> >
mailto:amibroker-fullfeatu[EMAIL PROTECTED]com >
> > amibroker-unsubscri[EMAIL PROTECTED]com >
> > http://docs.yahoo.com/info/terms/ >
> > > > > > > > > > >
> > -- > > No virus found in this incoming
message. > > Checked by AVG Free Edition. > > Version:
7.1.405 / Virus Database: 268.12.2/442 - Release Date: >
9/8/2006 > > > > >
__._,_.___
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
SPONSORED LINKS
__,_._,___
|