PureBytes Links
Trading Reference Links
|
Dean,
"IIf" is a conditional assignment and can't function on its own.
Try: Plot(IIF...). For more, see the User's Guide section on Commong
Coding Mistakes.
Wayne
--- In amibroker@xxxxxxxxxxxxxxx, "Dean Hodgins" <deanhodgins@xxxx>
wrote:
>
>
> Seems to me this should work - I'm trying to plot a simple bar graph
> that plots gap bars a different color.
>
> IIf(Open<Ref(L,-1),Plot(C," ",colorRed,128),IIf(Open>Ref(H,-1),Plot
> (C," ",colorWhite,128),Plot(C," ",colorSkyblue,128)));
>
>
> Shouldn't this work as stated - gap downs s/b red , gap ups s/b
white
> and everything else skyblue. Works but all bars are red ?
>
> Any help much appreciated ....
>
>
> Best to all in holidays ....
>
>
> Dean H.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/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/
|