PureBytes Links
Trading Reference Links
|
This should work:
Title = WriteIf (PosNeg > 0 , EncodeColor(colorGreen)
+ "xxxxxx" , EncodeColor(colorRed) + "xxxxxx" ) ;
/js
--- In amibroker@xxxxxxxxxxxxxxx, "Fred" <fctonetti@xxxx> wrote:
> Does anyone know if and how one can conditionally change title
color
> based on the value in an array ?
>
> For example:
>
> Title = ... + iif(PosNeg > 0, EncodeColor(colorgreen), EncodeColor
> (colorored)) + ...
>
> doesn't work ...
>
> Title = ... + EncodeColor(iif(PosNeg > 0, colorgreen, colorred))
+ ...
>
> also appears not to work ...
>
> Anyone know what does work or if this is possible ?
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get a FREE REFINANCE QUOTE - click here!
http://us.click.yahoo.com/2CXtTB/ca0FAA/i5gGAA/GHeqlB/TM
---------------------------------------------------------------------~->
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
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|