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

[amibroker] Re: Bollinger Bands Breakout



PureBytes Links

Trading Reference Links


Further Info:

As indicated previously, I'm a newbie. From the book "Technical 
Analysis from A to Z":

1. During periods of extreme price changes (i.e high volatility), 
the bands widen to become more forgiving. (page 71)
2. During time of stagnant pricing (i.e. low volatility), the bands 
narrow to contaion prices (page 71)
3. Sharp price changes tend to occur after the bands tighen, as 
volatility lessens. (Page 71)
4. The longer prices remain within the narrows bands the more likely 
a price breakout. (page 72)

What I'd like to accomplish with an Exploration is:

1. What Tickers are in tighen bands?

2. How many days have they been in tighen bands?

Sorry I didn't include this earlier to clarify things.


--- In amibroker@xxxxxxxxxxxxxxx, "mccallumkeith" <keith@xxxx> wrote:
> 
> 
> Greetings,
> 
> I'm a newbie who is truggling to get the following Exploration of 
> Bollinger Bands Breakout to produce other than zero results:
> 
> e=40;//Param("period",20,5,100,1);
> f1=ln(BBandTop(C,e,2)/MA(C,e));
> f2=ln(BBandTop(C,e*2,2)/MA(C,e*2));
> f3=ln(BBandTop(C,e*3,2)/MA(C,e*3));
> 
> Plot(f1,"quick",1,1);
> Plot(f2,"med",colorRed,1);
> Plot(f3,"slow",colorBlue,1);
> 
> Filter=f1<f2 AND f2<f3 AND f1<0.02;
> AddColumn(f1,"quick",1.5);
> AddColumn(MA(V,100)*MA(C,100),"dollarvolume",1.0);
> AddColumn(MA(Filter,20),"length",1.2);
> 
> Your valuable assistance is appreciated.
> 
> Thanks





------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/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

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

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