cool thx.... i'll try and figure it out... with that info...
really new to this stuff.  only had it for about 2 weeks.

thx


--- In [email protected], "Gordon Sutherland" <[EMAIL PROTECTED]> 
wrote:
>
> I gave you the AFL code together with the Plot statements as a 
bonus!
> The %b is the line starting with Pct_b... Thus your condition line 
would
> be:
> 
> Pct_b_Above_85 = Pct_b > 85;
> 
> Read the AB Help files on "Parameters" to change the look back 
period
> and standard deviation value. You can either hard-code amend the 
second
> argument for each parameter line, as I provided, or soft-code by 
using
> the parameters box in the AA Window (for Exploration or Back Test
> reports).
> 
> Good luck,
> 
> Regards,
>  
> Gordon  Sutherland
>  
> 
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] 
On
> Behalf Of thecoolestdude1369
> Sent: Sunday, 5 November 2006 9:26 a.m.
> To: [email protected]
> Subject: [amibroker] Re: %b
> 
> i was just looking for the formula to scan for stocks not to plot 
the 
> %b.  what would it be to find stocks trading at a %b greater than 
85% 
> with a moving average of 10 and standard deviation of 1.5?
> 
> thx again 
> 
> 
> --- In [email protected], "Gordon Sutherland" <gosuth@> 
> wrote:
> >
> > This is my code to produce %b:
> > 
> > _SECTION_BEGIN("BB %b");
> >  /*         Code for Bollinger Bands %b 
> >     Algorithm for %b = (Close - lower band) / (upper band - lower
> > band)       Tells you where the Close is in relation to the 
Bollinger 
> Bands
> > in %        terms i.e. below BBandBot show up as below zero */
> > 
> > /* Define Parameters */
> > BBPer = Param("BB's SMA Periods",10,10,100,1);
> > StdDev = Param("# of Std Devs",1.5,0.5,5,0.1);
> > ColPct_b = ParamColor("BB %b",colorGreen);
> > ColUpperBB = ParamColor("Upper BB",colorRed);
> > ColLowerBB = ParamColor("Lower BB",colorBlue);
> > GraphXSpace = Param("GraphXspace",7,0,10,1);
> > 
> > /* Coding for Bollinger Bands %b */
> > BTop = BBandTop(Close, BBPer, StdDev);
> > BBot = BBandBot(Close, BBPer, StdDev);
> > Pct_b   = ((C - BBot) / (BTop - BBot)) * 100;
> > 
> > Plot(Pct_b,"Pct_b",ColPct_b,1);
> > Plot(100,"Upper BB Level",ColUpperBB,1+4);
> > Plot(0,"Lower BB Level",ColLowerBB,1+4);
> > _SECTION_END();
> > 
> > Regards,
> >  
> > Gordon  Sutherland
> >  
> > 
> > -----Original Message-----
> > From: [email protected] 
[mailto:[EMAIL PROTECTED] 
> On
> > Behalf Of thecoolestdude1369
> > Sent: Sunday, 5 November 2006 8:20 a.m.
> > To: [email protected]
> > Subject: [amibroker] %b
> > 
> > does anyone know..what is the formula to figure out the %b of a 
> stock
> > 
> > 
> > 
> > 
> > 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
> >
> 
> 
> 
> 
> 
> 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
>





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:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to