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

Re: [amibroker] bollinger band squeeze



PureBytes Links

Trading Reference Links

Hi Hongyu,

You first of all have to define specifically what you (or Bollinger) means 
by:

    a) 'narrow'
    b) 'unchanging state'
    c) 'for a long time'

Then you need to write code for each. For example, for a) you might write 
something like:

    maxwidth= 20;
    ubb= BBandTop(C,20,2);
    lbb= BBandBot(C,20,2);
    narrow= ubb - lbb < maxwidth;


-john
----- Original Message ----- 
From: "Hongyu Lu" <hl_107@xxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, September 29, 2004 11:25 AM
Subject: [amibroker] bollinger band squeeze


i am working on a bollinger band squeeze then breakout
trading system.

how to detect that the bollinger band has been in a
narrow and unchanging state for some time.

thx.



Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: 
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links



 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/