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

Re: [amibroker] Re: Background color



PureBytes Links

Trading Reference Links

Look in the Users Guide and archives for discussion and code regarding ribbons, stylearea, and plot() giving something along these lines ---
 
cond = ...
color = iif(cond, ...)
plot(c, ...)
plot(1, "", color, stylearea|styleownscale, 0, 1)
 
Bill
----- Original Message -----
From: "george_siris" <george_siris@xxxxxxxx>
Sent: Monday, June 11, 2007 8:32 AM
Subject: [amibroker] Re: Background color

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

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





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___