PureBytes Links
Trading Reference Links
|
I'd use the first method but substitute "colorRed" for "coloRed". If
that's not it, check that Cond1 is giving you the values you expect.
-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
Behalf Of owenbdavies
Sent: Monday, 28 November 2005 12:18 PM
To: amibroker@xxxxxxxxxxxxxxx
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/
|