How about right click on the pane and
Parameters?
----- Original Message -----
Sent: Thursday, December 16, 2004 4:21
PM
Subject: [amibroker] Re: Bolinger Bands,
settings
John
What took u so long to
respond?..........just kidding!!!!...many thanks...how about %B..defined
as
%b =(close-lower bollinger band)/ (upper bollinger band-lower
bollinger band)
GP
--- In amibroker@xxxxxxxxxxxxxxx, "John"
<jea55129@x...> wrote: > >
GP, > > Not sure if you can do that in Perferences. It looks like
you can by > using the short term ma. But here is a quick and easy
afl. > > Length= 10; > StdDevUp= 2; >
UpBand=BBandTop(Close,Length,StdDevUp); > > StdDevDn= 2; >
DnBand=BBandBot(Close,Length,StdDevDn); > Buy=C>UpBand; >
Sell=Close < MA(Close,Length); > Short=Close < DnBand; >
Cover=Close > MA(Close,Length); > Buy=ExRem(Buy,Sell); >
Sell=ExRem(Sell,Buy); > Short=ExRem(Short,Cover); >
Cover=ExRem(Cover,Short); > Plot(C,"",1,64); >
Plot(UpBand,"",2,1); > Plot(DnBand,"",3,1); >
PlotShapes(IIf(Buy,shapeUpArrow,shapeNone) ,colorBrightGreen,0); >
PlotShapes(IIf(Sell,shapeDownArrow,shapeNone),colorRed,0); >
PlotShapes(IIf(Short,shapeDownArrow,shapeNone),colorOrange,0); >
PlotShapes(IIf(Cover,shapeUpArrow,shapeNone) ,colorBlue,0); > >
Enjoy! > > John > - In amibroker@xxxxxxxxxxxxxxx, "George
Poulos" <globalgreek@xxxx> > wrote: > > > > I
am wondering how to set the standard deviation value of the > >
Bolinger Bands. For example 10 period moving average(value of the >
> short term m/a in the preferences?) and standard deviation of 2?? >
> > > TIA > > GP
Check
AmiBroker web page at: http://www.amibroker.com/
Check
group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor |
ADVERTISEMENT
|
|
|
Yahoo! Groups Links
|