[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,
Try this (without the line wrap):
x0=<your variable - I use score in this example>
AddColumn(x0,"Score",1.0,colorDefault,
IIf(x0>=scGreen,colorBrightGreen,
IIf(x0>=scBlue,colorSkyblue,
IIf(x0>=scYellow,colorYellow,
IIf(x0>=scOrange,colorLightOrange,colorRed)))));
Regards,
Ed

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.

> Duke Jones, CMT


------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/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/