MetaStock™ Zone Forum & FAQ Artykuły Linki Elliott Waves EasyLanguage™ Zone

A B C D E F G H I J K L M N O P R S T U V W Y Z #

Bollinger Bands (tightend to 90%) - John Bollinger
> > ----- Original Message -----
> > From: "Alberto Torchio" <atorchio@xxxxxxxxx>
> > To: "Realtraders" <realtraders@xxxxxxxxxxx>
> > Sent: Monday, October 23, 2000 2:27 AM
> > Subject: Simple question on Bollinger Bands
> >
> >
> > Dear Listmembers,
> >
> > I have been asked a simple question on Bollinger Bands and was unable to answer...
> > Could anyone tell me the number of standard deviations allowing to contain
> > within the bands 90% of price data?
> >
> > Alberto Torchio
> >  Torino, Italy

> ----- Oorspronkelijk bericht -----
> Van: "Lionel Issen"
> Aan: <metastock@xxxxxxxxxxxxx>
> Verzonden: dinsdag 24 oktober 2000 4:23
> Onderwerp: Re: Simple question on Bollinger Bands
> I cant find my statistics book, but I think its close to 2 std dev.
> Lionel Issen
> lissen@xxxxxxxxx

----- Oorspronkelijk bericht -----
Van: "michael"
Aan: <metastock@xxxxxxxxxxxxx>
Verzonden: vrijdag 27 oktober 2000 15:22
Onderwerp: RE: Simple question on Bollinger Bands

I don't know how come there are so many opinions on this.  1.28155 is the standard deviation equivilant of 90%.  If you plotted a 1.28155 standard deviation line above prices on a chart, 90% of the prices should theoretically fall below that line.  If the market follows the bell curve then this would be true.

Since you are probably using a lower standard deviation line also, the bottom line says that 90% of all values will be above the lower line. That leaves two 10% tails.  So in fact 80% of the values should occur in between the 2 lines.

If you want to know the standard deviation that is equivilant to 90%, I gaurantee it is 1.281.

If you want the area between the 2 lines to equal 90% then you need the standard deviation that correlates with 95%.  This will leave 5% tails on the normal distribution curve.  The standard deviation that correlates to 95% probability is 1.645.


-----Original Message-----
From: owner-metastock@xxxxxxxxxxxxx
[mailto:owner-metastock@xxxxxxxxxxxxx]On Behalf Of A.J. Maas
Sent: Thursday, October 26, 2000 10:12 PM
To: Metastock-List
Subject: Re: Simple question on Bollinger Bands

The mean=middle=0
100%=da width difference between "+1 stdev"{+100%} and "-1 stdev"{-100%}
100%{2*1}=2*stdev(da,pds)   {width is then mean + 1*stdev up +1*stdev down}

Ton Maas
Dismiss the ".nospam" bit (including the dot) when replying.

Re: Simple question on Bollinger Bands

To: <metastock@xxxxxxxxxxxxx>
Subject: Re: Simple question on Bollinger Bands
From: "A.J. Maas" <anthmaas@xxxxxxxxx>
Date: Sat, 28 Oct 2000 03:34:40 +0100
Organization: Ms-IRB
References: <NEBBIBJHKLGKBLOGAGNJIEHECEAA.mslist@xxxxxxxxxxxxxxxx>
Reply-To: metastock@xxxxxxxxxxxxx
Sender: owner-metastock@xxxxxxxxxxxxx

The Law According to Bartjens:

Bollinger Bands (tightend to 90%) - John Bollinger

{First, catching the BB's 100% of Price movement :}
UpperBand:= Mov( C,20,S ) + 1*( 2 * ( Std( C,20 ) ) );
MiddleBand:=Mov( C,20,S );
LowerBand:= Mov( C,20,S ) - 1*( 2 * ( Std( C,20 ) ) );
BandsWidth:= UpperBand - LowerBand;
{Second, now for catching 90% of Price movement}
BB100:= 1*BandsWidth;
BB90:= 0.9*BandsWidth;
{broken up, this then is equal to :}
sUpperBand:= mov( C,20,S ) + 0.9*( 2 * ( std( C,20 ) ) );
sMiddleBand:=mov( C,20,S );
sLowerBand:= mov( C,20,S ) - 0.9*( 2 * ( std( C,20 ) ) );
sBandsWidth:= sUpperBand - sLowerBand;


{Third, now to proove all is right, plot the BandsWidth's BB100%}

{and plot the BB90%}


{and plot the final difference outcome in $}

{and plot the final difference outcome in %}


Just Copy+Paste into the Indicator Builder, and plot Bartjens Law.
- hold the mouse pointer onto one of the plotted lines, and peek in the small Tool Tips' Price window
- click the actual Data Window button.
The formula's to create the 90% Upper and Lower Bbands are then also printed above, using the 0.9 factor.
Note: That the sBandsWidth is plotted over the BB90 !!!!!.

From the above sound method, the 1.8 factor mentioned in the previous mail and below formula for the MSK stdev function use is thus {naturaly} correct.


Can't beat Bartjens !!!!.

Ton Maas
Dismiss the ".nospam" bit (including the dot) when replying.

Source / From: TOP

Equis and MetaStock® and MetaStock Professional® are registered trademarks of Equis International. Achelis Binary Wave®, The DownLoader®,
Expert Advisor®, OptionScope®, Quotecenter® and Smart Charts® are trademarks of Equis International, a Thomson Reuters company.

TradeStation® Pro, TradeStation® 2000i, OptionStation®, SuperCharts®, PowerEditor® and EasyLanguage®
are registered trademarks of TradeStation Technologies, Inc. Other names and marks referred to are the property of their respective owners.

All information provided on this website is for educational purposes only. Trading involves risk, including possible loss of principal and other losses.

Ten i inne materiały na tej stronie zostały zamieszczone zostały jedynie w celach edukacyjnych, nie ponoszę żadnej odpowiedzialno¶ci za ich stosowanie.

Gra na giełdzie i rynkach walutowych (FOREX) niesie ze sob± ryzyko poważnych strat finansowych!