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

Re: [amibroker] Coloring Price Bars



PureBytes Links

Trading Reference Links

barcolor = iif( cross(MACD(),0), colorgreen, iif( cross(0,MACD()),
colorred, colorblack ));
plot(c,"price",barcolor,stylebar);


On Tue, 29 Mar 2005 05:40:42 -0000, dajester147
<dajester_147@xxxxxxxxxxx> wrote:
> 
> 
> Hello,
> 
> I am new to using AB and have a simple question. Any help would be
> appreciated.
> 
> How would I go abouts coloring on the price chart the cross of a
> 12/26/9 MACD crossing 0. For example, at the cross MACD from negative
> to positive, I just want to highlight the bar Green and vice versa
> Red. Any other time, I would just like to leave the bars at black.
> 
> Thanks,
> 
> Danny
> 
> 
> 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
> 
> 
> 
> 
> 


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


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/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/