[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Re: Adding Text to Explore/Scan Columns



PureBytes Links

Trading Reference Links

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"
<Duke.Jones@xxxxxxxxxxxxxxxxxxxxxx> 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/

------------------------ 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/