you can color the chart anything you want ... not sure about changing 
background color unless you use low level graphics.

You can use the following construct:

plotcolor = iif(your condition,yourcolor,background color);

Plot(1,"",plotcolor,stylearea|styleownscale,0,1);


----- Original Message ----- 
From: "murthysuresh" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, August 27, 2008 3:22 PM
Subject: [amibroker] background color based on conditions


> can i change the background of a chart based on  conditions. for eg.
> the background color price chart =green when macd>0 and adx >20
>
>
>
>
>
> ------------------------------------
>
> 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> For other support material please check also:
> http://www.amibroker.com/support.html
> Yahoo! Groups Links
>
>
>

Reply via email to