PureBytes Links
Trading Reference Links
|
Chris,
With your example it finally clicked on how I could get this done with my requirements. This is probably not a big issue or benefit for most folks but this will be a big time saver for me in my research report generation. The other examples provided also were helpful in other areas I had been struggling with.
Again, thanks again to all for your help I really appreciate it.
Regards,
Duke Jones, CMT
-------Original Message-------
> From: "kris45mar" <kris45mar@xxxxxxxxx>
> Subject: RE: [amibroker] Re: Adding Text to Explore/Scan Columns
> Sent: 04 Mar 2005 10:53:04
>
> Duke
>
> as i understand it you are wanting to have text and
> background as different colors dependent on
> conditions.
>
> Does something like this resemble what you are looking
> for ?
>
> ****************
> CloseUP = C > Ref(C,-1);
> Closedown = C < Ref(C,-1);
>
> txtclrup = IIf(Closeup,
> colorDarkGreen,IIf(Closedown,colorRed,colorBlack));
> bkclr = IIf(Closeup,
> 5,IIf(closedown,colorPink,colorWhite));
> Filter =1;
>
> AddColumn(C,"close",1.2);
> AddColumn(Ref(C,-1),"Ystrdy close",1.2);
> AddTextColumn(WriteIf(Closeup,"UP",WriteIf(Closedown,"DOWN","same")),"up/down",1.2,
> txtclrup, bkclr);
>
> *******************
>
> ChrisB
>
> ======================================================
>
> --- "Duke Jones, CMT"
> wrote:
>
> > If you ever find a way to make the values
> > conditional please
> > post it to the list. So far I have only been able to
> > make
> > just the text colored but not the background without
> > making
> > the whole column the same color.
> >
>
> __________________________________
> Celebrate Yahoo!'s 10th Birthday!
> Yahoo! Netrospective: 100 Moments of the Web
> http://birthday.yahoo.com/netrospective/
>
> 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
>
> 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.
-------Original Message-------
------------------------ Yahoo! Groups Sponsor --------------------~-->
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/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/
|