PureBytes Links
Trading Reference Links
|
I don't think it is possible but an easy alternative
would be to color the bars of the index to reflect recession/non-recession
periods.
Bill
----- Original Message -----
Sent: Wednesday, September 05, 2007 10:37
AM
Subject: [amibroker] Ribbons: Is there a "transparent"
or "clear" setting for the color?
>
Using the code below I have a ribbon that runs the full height of the >
chart. (I use it to display economic recessions on stock index >
charts.) > > What I want is to display just the ribbon in color,
leaving the rest > of the chart "see-through." The "colorBlack" in
non-recession > periods blacks-out the gridlines on my black-background
charts. > > Any way of doing this? TIA. > >
> Sebastian > > > _SECTION_BEGIN("Recession
Ribbon"); > REC=Foreign("^Recession Ribbon","C")==0; >
NOREC=Foreign("^Recession Ribbon","C")==1; > > > Plot( 2, /*
defines the height of the ribbon in percent of pane width >
*/"ribbon", > IIf( REC, colorDarkYellow, IIf( NOREC, colorBlack, 0 )), /*
choose > color */ > styleOwnScale|styleArea|styleNoLabel, 0, 1
); > > _SECTION_END(); > > > > 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/ >
__._,_.___
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
__,_._,___
|