PureBytes Links
Trading Reference Links
|
The first statement is proper... look at your Cond1 definition for problems
----- Original Message -----
From: "owenbdavies" <owen5819@xxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Sunday, November 27, 2005 5:18 PM
Subject: [amibroker] Simple Plot() question
> I'd like to use different colors for each of three possible
> conditions. The obvious ways (at least to me) are:
>
> IIf(Cond1,colorGreen,IIf(Cond2,coloRed,colorBlue)); Or
>
> IIf(Cond1,colorGreen,colorBlue) + IIf(Cond2,colorRed,colorBlue);
>
> Unfortunately, with the first method, only the second IIf statement
> counts; the parts of the line that should be green end up blue. And
> with the second method, nothing shows up at all; the tooltips give the
> appropriate value, but no line appears.
>
> Can anyone tell me how to make this work?
>
> Many thanks.
>
> Owen
>
>
>
>
>
>
> Please note that this group is for discussion between users only.
>
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> For other support material please check also:
> http://www.amibroker.com/support.html
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.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/
|