PureBytes Links
Trading Reference Links
|
Graham,
I was trying to only color the cell if the condition was true.
I tried versions of the following but no luck so far...
AddTextColumn( WriteIf( cond1, "Yes", "" ), "10DMA Cross",1.2, IIf
(Cond1>0,colorBlack,colorYellow ));
I will keep trying.
Thank you again for the help.
--- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxxx> wrote:
> Best way to find things out is to check the help screens
> SYNTAX AddTextColumn( string, name, format = 1.2, textColor =
> colorDefault, bkgndColor = colorDefault )
>
>
> On Thu, 03 Mar 2005 01:16:48 -0000, dmcleod1981 <dmcleod1981@xxxx>
wrote:
> >
> >
> > Herman, thank you for the examples. I was able to get Graham's
> > suggestion to work for me. Your code samples did help me figure
out
> > another problem I was having.
> >
> > Thank you again.
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, "Herman van den Bergen"
> > <psytek@xxxx> wrote:
> > > Hello dave,
> > > Text arrays are not possible in AmiBroker, however you can
display
> > the same
> > > string in all cells of a vertical column using AddTextColumn().
> > Since you
> > > can color the Text as well as the background you can make
> > text "disappear"
> > > by setting its color to White. You can also play with the
> > background color.
> > > Here is a simple example:
> > >
> > > Price = ValueWhen(Buy OR Cover,C);
> > > AddColumn(Price,"Buy/Cover",1.2,colorBlack ,colorBrightGreen );
> > > Price = ValueWhen(Sell OR Short,C);
> > > AddColumn(Price,"Short/Sell",1.2,colorBlack ,colorPink );
> > > DCo = IIf( Sell==3, 1,2);
> > > AddTextColumn("Stop","LongSTop",1.0,DCo,2);
> > > DCo = IIf( Cover==3, 1,2);
> > > AddTextColumn("Stop","ShortSTop",1.0,DCo,2);
> > >
> > > Best regards,
> > > herman
> > >
> > > -----Original Message-----
> > > From: Dave McLeod [mailto:dmcleod1981@x...]
> > > Sent: Wednesday, March 02, 2005 6:30 PM
> > > To: amibroker@xxxxxxxxxxxxxxx
> > > Subject: [amibroker] Adding Text to Explore/Scan Columns
> > >
> > >
> > > I would like to try and create a table within Scan/Explore
that
> > contains
> > > text in the table columns itseld if certain conditions are met.
> > Something
> > > like the following sample pic.
> > >
> > >
> > > Is this possible in Amibroker?
> > >
> > > Thanks
> > > DM
> > >
> > >
> > > ---------------------------------------------------------------
----
> > ---------
> > > --
> > > Celebrate Yahoo!'s 10th Birthday!
> > > Yahoo! Netrospective: 100 Moments of the Web
> > >
> > > Check AmiBroker web page at:
> > > http://www.amibroker.com/
> > >
> > > Check group FAQ at:
> > > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > >
> > >
> > > Yahoo! Groups Sponsor
> > > ADVERTISEMENT
> > >
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------
----
> > ---------
> > > --
> > > Yahoo! Groups Links
> > >
> > > a.. To visit your group on the web, go to:
> > > http://groups.yahoo.com/group/amibroker/
> > >
> > > b.. To unsubscribe from this group, send an email to:
> > > amibroker-unsubscribe@xxxxxxxxxxxxxxx
> > >
> > > c.. Your use of Yahoo! Groups is subject to the Yahoo!
Terms
> > of Service.
> >
> >
> > Check AmiBroker web page at:
> > http://www.amibroker.com/
> >
> > Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
>
>
> --
> Cheers
> Graham
> http://e-wire.net.au/~eb_kavan/
------------------------ Yahoo! Groups Sponsor --------------------~-->
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
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:
http://docs.yahoo.com/info/terms/
|