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

[amibroker] Re: Background color



PureBytes Links

Trading Reference Links

Hi, thanks for the answer but it's not exactly what i was looking for
because with setchartbkcolor, it looks like the whole chart is affected.

What i'm trying to achieve is for instance : when prices are above
MA(C,200) then the corresponding portion of the chart is in a certain
color and when prices are below MA(C,200) then the corresponding
portion is in another color.

I wonder if that's possible.



--- In amibroker@xxxxxxxxxxxxxxx, "wavemechanic" <fimdot@xxx> wrote:
>
> Here is one way ---
> 
> cond = ...
> backcolor = iif(selectedvalue(cond), colorwhite, colorred);
> setchartbkcolor(backcolor);
> 
> bill
> 
> ----- Original Message ----- 
> From: "george_siris" <george_siris@xxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Monday, June 11, 2007 6:15 AM
> Subject: [amibroker] Background color
> 
> 
> > Hi all,
> > 
> > Is it possible to do the following ? 
> > 
> > if condition A then color of chart's background is Red
> > if condition B then color of chart's background is Blue
> > 
> > thanks
> > 
> > 
> > 
> > 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
> > 
> > 
> > 
> > 
> > 
> > -- 
> > No virus found in this incoming message.
> > Checked by AVG Free Edition. 
> > Version: 7.5.472 / Virus Database: 269.8.13/843 - Release Date:
6/10/2007 1:39 PM
> > 
> >
>




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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/