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

Re: [amibroker] Bollinger Bands



PureBytes Links

Trading Reference Links

 

top=BBandTop(C,15,1.5);

bot=BBandBot(C,15,1.5);

Plot(C,"Close",colorBlack,styleCandle);

Plot(top,"res",colorYellow,styleLine);

Plot(bot,"sup",colorYellow,styleLine);

/////////////////////////////////////

// Shading //

////////////////////////////////////

fill=Param("style",2,1,2,1);

>IIf(fill==1,styleHistogram|styleThick,IIf(fill==2,styleArea,Null));

x=IIf(top > bot,bot,top);

Plot(x,"",colorLightGrey,style);

Plot(top,"",colorPink,style);

----- Original Message -----
Sent: Monday, July 25, 2005 12:01 AM
Subject: Re: [amibroker] Bollinger Bands

Can u please share with us, the code for shading Bollinger bands area?
Cheers
Brij Singh

On 7/23/05, Amon Ra <amon_gizeh@xxxxxxxxx> wrote:
> Thanks Terry, it works!
>
>
> --- Terry <MagicTH@xxxxxxxxxxx> wrote:
>
> > You must use a "trick" by plotting the upper band as
> > an area chart with
> > a color and then plotting the lower band the same,
> > but using the
> > background color. These need to be the last two Plot
> > statements so they
> > stay "on the bottom" or "underneath" all the other
> > plots.
> >
> > You can also get a dark outline for the bbands by
> > plotting the first as
> > normal StyleLine Plots.
> > --
> > Terry
> >
> > | -----Original Message-----
> > | From: amibroker@xxxxxxxxxxxxxxx
> > [mailto:amibroker@xxxxxxxxxxxxxxx] On
> > | Behalf Of amon_gizeh
> > | Sent: Saturday, July 23, 2005 15:51
> > | To: amibroker@xxxxxxxxxxxxxxx
> > | Subject: [amibroker] Bollinger Bands
> > |
> > | Hi!
> > | How can I colour the space between Bollinger bands
> > in Amibroker? Is
> > | this possible or not?
> > |
> > | Thanks.
> > |
> > |
> > |
> > |
> > |
> > | ------------------------ Yahoo! Groups Sponsor
> > --------------------~--
> > | >
> > | Try Online Currency Trading with GFT. Free 50K
> > Demo. Trade
> > | 24 Hours. Commission-Free.
> > |
> >
> http://us.click.yahoo.com/DldnlA/9M2KAA/U1CZAA/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
> > |
> > |
> > |
> > |
> > |
> >
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
> 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
>
>  Visit your group "amibroker" on the web.
>  
>  To unsubscribe from this group, send an email to:
>  amibroker-unsubscribe@xxxxxxxxxxxxxxx
>  
>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>  To unsubscribe from this group, send an email to:
>  amibroker-unsubscribe@xxxxxxxxxxxxxxx
>  
>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> ________________________________
>



No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.4/57 - Release Date: 7/22/2005


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




No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.4/57 - Release Date: 7/22/2005