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

Re: [amibroker] Plotting volume in different colors



PureBytes Links

Trading Reference Links

Your formula works fine for me

You might like to add
Plot(V, "Volume", IIf(C>O, colorGreen, IIf(C<O, colorRed, colorBlack
)), styleHistogram );


On Sat, 22 Jan 2005 23:18:56 +0100, ed nl <ed2000nl@xxxxxxx> wrote:
> you approach is basicly OK. Can see what's wrong. Below I show one of mine,
> maybe that help, rgds, Ed
>  
>  
> col = IIf( Close >= Ref( Close, -1 ), IIf(Close ==
> Ref(Close,-1),colorYellow,colorBrightGreen), colorRed ); 
> Plot( Volume, "Volume", col, styleHistogram | styleThick); 
>  
>  
>  
> ----- Original Message ----- 
> From: Clement Chin 
> To: amibroker@xxxxxxxxxxxxxxx 
> Sent: Saturday, January 22, 2005 11:11 PM
> Subject: [amibroker] Plotting volume in different colors
> 
> I am new to AB. I am trying to plot volume in different colors with this
> formula. But, the histogram shows only one color. Anyone can show me a
> workable way? 
> 
> Plot(V, "Volume", IIf(C>O, colorGreen, colorRed),styleHistogram );
> 
> Thank you in advance.
> 
> Manyit
> 
> 
> 
> 
> 
> Check AmiBroker web page at:
> http://www.amibroker.com/
> 
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> 
> 
> 
> 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 the Yahoo! Terms of Service. 


-- 
Cheers
Graham
http://e-wire.net.au/~eb_kavan/


------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/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/