[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Easy Code Question



PureBytes Links

Trading Reference Links



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 --------------------~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/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/