PureBytes Links
Trading Reference Links
|
yep
just add a condition
statment for the colour
colour = iif(green,
colorgreen, iif(yellow, coloryellow, colorred));
AddTextColumn(
Writeif(Green,"GRN",Writeif<SPAN
class=824054001-29122003>(Yellow,"YEL","RED")<SPAN
class=824054001-29122003>),"Result", <SPAN
class=824054001-29122003>1, textColor = colorDefault, <SPAN
class=824054001-29122003>colour )
Cheers,Graham<A
href="">http://groups.msn.com/asxsharetrading<A
href="">http://groups.msn.com/fmsaustralia
<FONT
face=Tahoma size=2>-----Original Message-----From: Jayson
[mailto:jcasavant@xxxxxxxxxxx] Sent: Monday, 29 December 2003 9:38
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: RE: [amibroker]
Re: AB gurus .... Graham
from
help......
<FONT face=Arial color=#0000ff
size=2>
AddTextColumn( string, name,
format = 1.2, textColor = colorDefault, bkgndColor = colorDefault )
Regards,
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: mroman59
[mailto:mroman59@xxxxxxxxx]Sent: Sunday, December 28, 2003 8:27
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Re:
AB gurus .... GrahamHey GrahamWhen you run an
exploration can you also change the color of the row like you can do with
charts and indicatos? For example, if the stock in the column
returns the result GRN (from the variable Green) can AB make the row the
color green as the stocks are posted in the
exploration.ThanksMR --- In
amibroker@xxxxxxxxxxxxxxx, "Graham" <gkavanagh@xxxx> wrote:>
Sorry missed a closing bracket> > Cheers,> Graham>
<A
href="">http://groups.msn.com/asxsharetrading>
<A
href="">http://groups.msn.com/fmsaustralia
> > -----Original Message-----> From: mroman59
[mailto:mroman59@xxxx] > Sent: Monday, 29 December 2003 8:57 AM>
To: amibroker@xxxxxxxxxxxxxxx> Subject: [amibroker] Re: AB gurus ....
need help please> > > Thanks Graham, your code appears to
be working great. I compared the > results with my existing columns
and they match. There was one > syntax error which I corrected.
> > Much appreciated> MR> > > --- In
amibroker@xxxxxxxxxxxxxxx, "Graham" <gkavanagh@xxxx> wrote:> >
You could try> > Addtextcolumn( Writeif(Green,"GRN",Writeif>
(Yellow,"YEL","RED"),"Result");> > > > > > I
think it will only give results for the last bar, not for> previous
bars if> > you do an exploration over a number of bars.> >
> > Cheers,> > Graham> > <A
href="">http://groups.msn.com/asxsharetrading>
> <A
href="">http://groups.msn.com/fmsaustralia>
> > > -----Original Message-----> > From: mroman59
[mailto:mroman59@xxxx]> > Sent: Monday, 29 December 2003 8:38
AM> > To: amibroker@xxxxxxxxxxxxxxx> > Subject:
[amibroker] AB gurus .... need help please> > > > >
> I am currently using the following code to report the resuts of>
the > > variables I created (Green, Yellow and Red). As of now, if
the> > result is true for Green a "1" is posted in the colunm "GRN"
> and "0" > > if not true and similar postings for Yellow and
Red.> > > > AddColumn(result =
IIf(Green,1,0),"GRN");> > AddColumn(result =
IIf(Yellow,2,0),"YEL");> > AddColumn(result =
IIf(Red,3,0),"RED");> > > > However, what I would like to
do is create one formula that will> > allow me to have one column
called "Strength Meter" and report the > > values 1,2 or 3 for
the results. An even better result would have > be > >
one column called "Strength Meter" and post the results in words> >
such as GRN, YEL or RED instead of numbers.> > > > Can
anyone help me to get AB to do this?> > Thank You> >
MR> > > > > > Send BUG REPORTS to
bugs@xxxx> > Send SUGGESTIONS to suggest@xxxx> >
-----------------------------------------> > Post AmiQuote-related
messages ONLY to: amiquote@xxxxxxxxxxxxxxx> > (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)>
> --------------------------------------------> > Check group FAQ
at:> > <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > > > ------------------------ Yahoo! Groups Sponsor
--------------------> -~--> Buy> > Ink Cartridges or
Refill Kits for your HP, Epson, Canon or Lexmark> Printer>
> at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
> > <A
href="">http://www.c1tracking.com/l.asp?cid=5511>
> <A
href="">http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM>
>
------------------------------------------------------------------->
--~->> > > > Yahoo! Groups Links> > >
> To visit your group on the web, go to: > > <A
href="">http://groups.yahoo.com/group/amibroker/>
> > > To unsubscribe from this group, send an email to: >
> amibroker-unsubscribe@xxxxxxxxxxxxxxx> > > > Your use
of Yahoo! Groups is subject to:> <A
href="">http://docs.yahoo.com/info/terms/>
> > Send BUG REPORTS to bugs@xxxx> Send SUGGESTIONS to
suggest@xxxx> -----------------------------------------> Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx > (Web
page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)>
--------------------------------------------> Check group FAQ
at:> <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > ------------------------ Yahoo! Groups Sponsor
---------------------~--> Buy> Ink Cartridges or Refill Kits for
your HP, Epson, Canon or Lexmark Printer> at MyInks.com. Free s/h
on orders $50 or more to the US & Canada.> <A
href="">http://www.c1tracking.com/l.asp?cid=5511>
<A
href="">http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM>
---------------------------------------------------------------------~->>
> Yahoo! Groups Links> > To visit your group on the web,
go to:> <A
href="">http://groups.yahoo.com/group/amibroker/>
> To unsubscribe from this group, send an email to:>
amibroker-unsubscribe@xxxxxxxxxxxxxxx> > Your use of Yahoo!
Groups is subject to: <A
href="">http://docs.yahoo.com/info/terms/Send
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
To visit your group on the web, go to:<A
href="">http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:<A
href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend
SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
To visit your group on the web, go to:<A
href="">http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:<A
href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|